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.
Tool/software: TI-RTOS
Dear All,
I designed custom board using TMS320C6657. And I succeed to boot with test code image (GPIO LED test code) from SPI NOR Flash with DDR initialization.
I connected SPI NOR Flash to SPISCS0 (SPI CS0).
When I succeed to boot, I set "csel = 2" in nysh.spi.map, and set boot mode pin BOOTMODE [8:7] to "10".
I succeed to boot and I have a correct SPI CS0 pin interface.
I followed SPIboot_with_DDR_UserGuide from below link.
But I change SPI NOR chip select signal from SPISCS0 (SPI CS0) to SPISCS1 (SPI CS1).
Also I modifies nysh.spi.map like below and re-run spiboot.bat:
section {
...
csel = 1 /* for SPI CS1 */
...
}
And I set boot mode pin BOOTMODE [8:7] to "01". But there is no SPI CS1 after power on or reset.
Isn't it possible to boot from SPI CS1?
Thank you and best regards.
Hi, Raja,
SPI CS1 is stucked at high but SPI CS0 goes from high to low.
Below is boot parameter table for SPI CS0. It shows 0x0002 at 0x12 address for SPI CS0.
1651 1 10000 1 663c
0x00500000
0x00320000
0x40130002
0x00010018
0x00040002
0x00020000
0x03e80000
0x01f40000
0x04000000
0x00000000
And, BOOT MODE pin for SPI NOR CS0 boot is like below:
BOOT MODE12 ..... BOOT MODE0
1 0 0 1 1 0 0 0 0 0 1 1 0
Below is boot parameter table for SPI CS1. It shows 0x0001 at 0x12 address for SPI CS1.
1651 1 10000 1 663c
0x00500000
0x00320000
0x40130002
0x00010018
0x00040001
0x00020000
0x03e80000
0x01f40000
0x04000000
0x00000000
And, BOOT MODE pin for SPI NOR CS1 boot is like below:
BOOT MODE12 ..... BOOT MODE0
1 0 0 1 0 1 0 0 0 0 1 1 0
The others like boot image and PLL settings are same for CS1 and CS0.
Also I checked with other two of our custom board and I have same issue.
Best regards
Wondong KIM
It should be byte 18(chipsel) not byte 12 in boot parameter table.
18 Chipsel The chip select used (valid in 4-pin mode only). Can be 0-3.
Please refer the document in C6657_directROM_Boot_example from below link,