Part Number: TMS320C6672
Tool/software: Code Composer Studio 12.7.1
I have a custom board with a TMS320C6672 processor connected to a NOR flash device via SPI.
I've developed an IBL, created a boot image using the pdk/packages/ti/boot/ibl/src/util utilities, programmed the NOR flash device, and performed a byte for byte comparison to ensure the data resides in flash.
When I boot the board, the RBL executes indefinitely.
When I attach a debugger to the target without symbols, I can see the RBL executing between addresses 0x20b004e4 and 0x20b0ccd6.
The DEVSTAT register reads as: 0x02620020 = 0x0001860D
LENDIAN = 1
BOOTMODE[12:0] = 0x306
Boot Device = 6 (SPI)
Parameter Table index = 0
Chip Select = 10b (CS0 is active)
Addr Width = 1 (24-bit address values)
4, 5 Pin = 0 (4-pin mode)
Mode = 0 (Data is output on the rising edge of SPICLK. Input data is latched on the falling edge)
PCIESSMODE[1:0] = 10b
PCIESSN = 1
PACLKSEL = 0
The boot log is empty: 0x00873200 = 00000000 0000000A 00000001
I create the boot image via:
hex6x -order L IBL_SPI.out
bconvert64x -le ibl_spi.b
b2i2c ibl_spi.b ibl.spi.b
b2ccs ibl.spi.b ibl.spi.ccs
romparse -rom_base 0x00 ibl_spi_rom.map.pp
ccs2bin -swap i2crom.ccs ibl_spi.bin
ibl_spi_rom.map.pp:
section
{
param_index = 0
boot_mode = 50
sw_pll_prediv = 0
sw_pll_mult = 39
sw_pll_postdiv = 1
sw_pll_flags = 0
options = 0
core_freq_mhz = 1000
bus_freq_mhz = 10
bus_freq_khz = 0
addr_width = 24
n_pins = 4
mode = 0
csel = 2
c2t_delay = 1
exe_file = "ibl.spi.ccs"
}
I woulld appreciate any input or suggestions on how to debug this further.
Thank you.
