This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS320C6746: flash and boot utils package compilation

Part Number: TMS320C6746
Other Parts Discussed in Thread: OMAP-L138, OMAPL138

Hi

I am using the c6746 DSP on our board and I try to download the application to the FLASH.

before having our board I was using the LCDK 6748 evaluation board and i managed to download the software to flash using the serial flash loader.

I tried to use the serial flash loader to burn our new board without succeed. even if running the erase option i get the message:

waiting for SFT on the OMAP-L138...

I believe the problem is because in the new board we use uart 0 instead of uart 2 as in the LCDK board.

To solve this I tried to compile the serial flash loader according to the following instructions.

processors.wiki.ti.com/.../Rebuilding_the_Flash_and_Boot_Utils_Package

I had problem to get the arm compiler. the link is for mentor graphic site and its seems that the ARM compiler is not free. I tried to download the free version (but it is for ARM broadcom CPU)

the compilation fails with the error:

make[1]: Entering directory '/home/ilan_r/tmp1/OMAP-L138_FlashAndBootUtils_2_40/OMAP-L138/GNU'
make[2]: Entering directory '/home/ilan_r/tmp1/OMAP-L138_FlashAndBootUtils_2_40/OMAP-L138/GNU/sft'
make[3]: Entering directory '/home/ilan_r/tmp1/OMAP-L138_FlashAndBootUtils_2_40/OMAP-L138/GNU/sft/build'
/cygdrive/g/ti-cgt-c6000_8.2.2/bin\\cl6x -c -g -DUBL_SPI_MEM -DC6748 -I=../../../Common/include -I=../../../../Common/include -I=../../../../Common/arch/c6000/include -I=../../../../Common/sft/include -I=../../../../Common/ubl/include -I=../../../../Common/drivers/include -I=../../../../Common/gnu/include -DAIS_RBL -ms3 -mo -mv6740 --obj_extension=C6748_SPI_MEM.obj ../../../../Common/arch/c6000/start_c674x.asm
"../../../../Common/arch/c6000/start_c674x.asm", WARNING! at line 66:
[W1500]
warning: relocation template 275 not found; returning OFR_INVALID
MVKL __stack + __STACK_SIZE - 4, SP ; FP2, EP1, cycle 12

"../../../../Common/arch/c6000/start_c674x.asm", WARNING! at line 66:
[W1500]
warning: relocation template 275 not found; returning OFR_INVALID
MVKL __stack + __STACK_SIZE - 4, SP ; FP2, EP1, cycle 12

"../../../../Common/arch/c6000/start_c674x.asm", WARNING! at line 66:
[W1500]

Do I need the arm compiler if I am using the C6746 DSP?

Next I tried to use the NAND WRITER by importing the ccs3 project to CCS5/CCS7 and compile it but I get many error of type:

"G:/omap138_flash_writer/OMAP-L138_FlashAndBootUtils_2_40/OMAP-L138/CCS/NANDWriter/NANDWriter_DSP/../../../../OMAP-L138/Common/include/device.h", line 84: error #20: identifier "BUS_16BIT" is undefined
"G:/omap138_flash_writer/OMAP-L138_FlashAndBootUtils_2_40/OMAP-L138/CCS/NANDWriter/NANDWriter_DSP/../../../../OMAP-L138/Common/include/device.h", line 146: error #20: identifier "VUint32" is undefined
"G:/omap138_flash_writer/OMAP-L138_FlashAndBootUtils_2_40/OMAP-L138/CCS/NANDWriter/NANDWriter_DSP/../../../../OMAP-L138/Common/include/device.h", line 155: error #20: identifier "VUint32" is undefined
"G:/omap138_flash_writer/OMAP-L138_FlashAndBootUtils_2_40/OMAP-L138/CCS/NANDWriter/NANDWriter_DSP/../../../../OMAP-L138/Common/include/device.h", line 156: error #20: identifier "VUint32" is undefined

Do you have any explanation on failing to compile the serial flash (in cygwin) and the NAND WRITER in CCS 

Best Regards

Ilan