Part Number:TMS320C6657
Tool/software: Code Composer Studio
Hi,
I want to generate the .dat file which includes Boot Function and directly to be booted by NOR FLASH by SPI.
In this case, I use "Nor Writer" project on CCS, load the .dat file to RAM Memory and write them to FLASH.
My current procedure is below,
1. Generating the .out file by CCS.
2. Generating the .btbl file with the .rmd file.
3. Using b2i2c.exe, convert boot table and generate the .btbl.i2c file.
4. Using b2ccs.exe, convert to ccs format and generate the .i2c.ccs file.
5. Using romparse.exe, add the infomation of SPI boot, generate the .ccs file.
6. copy the .ccs file to the .dat file
7. Using byteswap.exe
I already could make a small size spi boot FW.
But, Application FW becoming larger, romparse.exe output a corrupted file.
I think that "#define MAX_DATA_LEN_32bit 32768" in romparse.h is this reason. Therefore, I decide to rebuild romparse.c, romparse.h with makefile.
These source code and makefile is included C6657PDK project's folder(\ti\pdk_c665x_2_0_11\packages\ti\boot\ibl\src\util\).
I run cmd on Windows 10, and execute mingw32-make command, but cmd output errors.
I constructed Ubuntu 18.04 environment, and add options to the makefile, this could be rebuild.
However, on windows 10, I added the same options to makefile nevertheless it can't be rebuild.
How to rebuild , and What is correct procedure to make the "directly spi boot FW"?