We have made our own C6748 Board Booting from SPI0 flash M25P64.
Our DSP is TMS320C6748BZWT.
After several second to power up all is working fine.
Sometimes the Boot Fails if we power down and up the board fast.
If we see some strange issues ,we think, in ROM Bootloader D800K006.
We have flashed a simple program that it toggles line continuously (using DSPBIOS) in order to understand if the program
is started.
To solve this problem we have manually insert following fill section in aisgen file created with AISGEN 1.9.
0x0A, 0x59, 0x53, 0x58, //Fill Command
0x00, 0x00, 0x80, 0x11, //Address Internal Ram(L2) 11800000 256k
0x00, 0x00, 0x04, 0x00, //Size On chip Ram (L2)11800000 256k 0x40000
0x00, 0x00, 0x00, 0x00, //Type
0x00, 0x00, 0x00, 0x00, //Pattern
//--
0x0A, 0x59, 0x53, 0x58, //Fill Command
0x00, 0x00, 0x00, 0x80, //Address On chip Ram (L3) 0x80000000 128k
0x00, 0x00, 0x02, 0x00, //Size On chip Ram (L3) 0x80000000 128k 0x20000
0x00, 0x00, 0x00, 0x00, //Type
0x00, 0x00, 0x00, 0x00, //Pattern
//--
0x0A, 0x59, 0x53, 0x58, //Fill Command
0x00, 0x00, 0x00, 0xc0, //Address External Ram 0xc0000000 32MB
0x00, 0x00, 0x00, 0x02, //Size 0x2000000
0x00, 0x00, 0x00, 0x00, //Type
0x00, 0x00, 0x00, 0x00, //Pattern
Now it works fine but, for us, the strange is that the internal ROM bootloader appears conditioned by Ram memory content.
when the program doesn't start fine, we have reset the DSP manually but it doesn't start. (we have try to reset it many times...).
The only way to restart it fine, is powering down the board and power it up after several seconds.
I've seen in forum that the ROM Bootloader D800K006 uses only L1D and in some cases L2 Memory.
PS. TSTRST and reset line are maintained low during power up and reset line goes High only when all power are stabilized
1)Are there any way to generate Fill section in AISGEN 1.9 program automatically?
2)What do you think about this solution?
3)can it be a ROM bootloader problem?
Thank's to All