

I’ve got the wrong device id,mem and org and was corrected only after executing manually in the debugger shell(this parameter can bee seen there).

I’ve got it after 2 days of intense coding and reading. # … followed by writing the application to flash: My objective here is to automate the flashing of my mcu w/o operator intervention toprevent it from making error in selecting. Appreciate it if you could help me on this. I couldn’t get the exact device id, org and mem. It can’t open the “P3-PFlash.elf” file but it is in “C:\Freescale\CW MCU v10.5\MCU\bin\Plugins\Support\Flash_Programmer\ARM_EABI” instead of “C:\Freescale\CW MCU v10.5\MCU\bin\Plugins\Support\Flash_Programmer”.ĭuring launching of. Please make sure the file exists and is readable.Įrror: Operation failed.CodeWarrior Plugin is unable to open file “P3-PFlash.elf” In “C:\Freescale\CW MCU v10.5\MCU\bin\Plugins\Support\Flash_Programmer” directory. CodeWarrior Plugin is unable to open file “P3-PFlash.elf” I am trying to follow the example in the tutorial but it isn’t working for me.Ĭmdwin::fl::target -lc LC for Simple FlashĬmdwin::fl::device -d FTFE_PFlash512 -o 64K圆4x1 -a 0x0 0x7ffffįlash Programmer internal error: connection list is emptyĮrror: Operation failed. That way no user interaction is required: launching a batch file and things are flashed to the board. P\wsp_StandaloneFlsh" -vmargsplus -Dcw.script="c:\tmp\wsp_StandaloneFlsh\standalone.tcl" "c:\Freescale\CW MCU v10.2\eclipse\cwide.exe" -data "c:\tm followed by writing the application to flash:įrom the DOS shell, I launch it like this: # specify target file, auto detect format, range settings on followed by the flash range, offset settings offĬmdwin::fl::image -f "C:\\tmp\\wsp_StandaloneFlsh\\Application.S19" -t "Auto Detect" -re on -r 0x0 0x7ffff -oe off # select flash device, organization and memory range:Ĭmdwin::fl::device -d "CFM_MCF5225X_512" -o "256Kx16x1" -a 0x0 0x7ffff # set Set the target RAM buffer for downloading image data: # in any case, disconnect an existing debug connection # Standalone.tcl: a script file to flash my application What I needed to do is to add quitIDE to my script to flash a board: Vmargsplus argument description in the documentationĪha! That way I can execute any Debugger Shell script from the DOS shell :-).
