Dear Friends,
1.
The C6748 Startware examples create large code due to the following line in the .cmd file: .far: fill = 0x0, load > DDR2 // Far Global & Static Variables
Specifically, I have tested the usb_dev_msc example, and it does not work without this "fill".
This issue causes spending lots of time waiting for the program to load when using JTAG, and program/boot when using slow flash devices.
Has anyone found the specific non-initialized parameter(s) that causes the need for this brute force initialization?
2.
When booting from flash, the .ais format supports the "fill" command, which enable avoiding copying "0" from flash image by initializing the memory directly.
How can this be incorporated using AISgen_d800k008.exe?
Of course, one can write a boot loader that executes from SRAM, fills the relevant parts in DDR with "0", loads the application to DDR, and then executes it.
This is quite an expensive "patch" for this kind of problem...
Your help is very appreciated!
Thanks,
Avi Tal.