Help in compiling program

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Help in compiling program

526 Views
kienfrancis_ure
Contributor II

fl::target -lc "BitIO_MC56F84789_Internal_PFlash_SDM_Freescale USB TAP BDM"
fl::target -b 0xf400 0xc00
fl::target -v off -l off
cmdwin::fl::device -d "MC56F82748_P_FLASH" -o "32kx16x1" -a 0x0 0x7fff
cmdwin::fl::erase all
Beginning Operation ...
-------------------------
Performing target initialization ...
Erasing .............
Erase Command Succeeded.
cmdwin::fl::blankcheck all
-------------------------
Flash Operation.
Blank Checking .............
BlankCheck Command Succeeded.
cmdwin::fl::image -f "C:\\Freescale\\CW MCU v10.6\\MCU\\CodeWarrior_Examples\\Processor_Expert\\DSC\\TWR-56F8400\\BitIO" -t "Auto Detect" -re off -oe off
cmdwin::fl::write
-------------------------
Error: Program Command Failed. CodeWarrior Plugin is unable to open file "BitIO"in "C:\Freescale\CW MCU v10.6\MCU\CodeWarrior_Examples\Processor_Expert\DSC\TWR-56F8400" directory.
Please make sure the file exists and is readable.
Error: Program Command Failed.CodeWarrior Plugin is unable to open file "BitIO"
in "C:\Freescale\CW MCU v10.6\MCU\CodeWarrior_Examples\Processor_Expert\DSC\TWR-56F8400" directory.
Please make sure the file exists and is readable.

This is the error message. Thanks!

Tags (2)
0 Kudos
1 Reply

459 Views
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi, Kien,

As the following screenshot, I can succeed to download the example code BitIO, but I use CodeWarrior for mcu ver11.

From the error message, you can succeed to erase the MC56F84789, it means that JTAG interface works fine, the JTAG part connection is okay. Your error message says that BitIO file can not open, Frankly speaking, I do not know if the file exists or not.

Can you succeed compile the example project and generate the *.elf file?

BTW, if you do not use the example,  you create a new project and compile it based on CW for mcu ver10.6, can you download/debug a new project?

BR

Xiangjun Rong

pastedImage_1.png