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.

ROM SPI Boot problem

Hello.

My EVM is TMDSEVM6657LS

I tested been the boot option for ROM SPI Boot (No EEPROM, No IBL, Just direct to ROM SPI Boot).

But, now I have problem.

Below step is my test procedure.

Please check, and where do I fix it.

1. I use the executable file for my test

  - mcsdk_2_01_01_04\tools\boot_loader\examples\i2c\nor\evmc6657l\bin\i2cnorboot_evm6657l.out

  - This example software just print out to UART:

    "NOR Boot Over I2C Example Version 01.00.00.00"
    "Booting Hello World image from NOR flash via IBL over I2C 0x51 ..."

2. I make the batch file

  - spiboot.bat

     hex6x spiboot.rmd
     bconvert64x -le spiboot.btbl spiboot.le.btbl
     b2i2c spiboot.le.btbl spiboot.le.btbl.i2c b2ccs
     spiboot.le.btbl.i2c spiboot.le.btbl.i2c.ccs
     romparse spiRom.map.pp
     ccs2bin i2crom.ccs spirom_le.bin
     ccs2bin -swap i2crom.ccs spirom_le.swap.bin
     rm i2crom.ccs spiboot.btbl spiboot.le.btbl spiboot.le.btbl.i2c spiboot.le.btbl.i2c.ccs

3. spiboot.rmd: I copy the C:\ti\mcsdk_2_01_01_04\tools\boot_loader\ibl\src\make\ibl_c665x\ibl.rmd and modified.

  - spiboot.rmd

   spiboot.out
   -a
   -boot
   -e _c_int00
   -order L
   ROMS
   {
      ROM1:  org = 0x0400, length = 0x20000, memwidth = 32, romwidth = 32
      files = { spiboot.btbl }
    }

4. spiRom.map.pp:  I copy the C:\ti\mcsdk_2_01_01_04\tools\boot_loader\ibl\src\make\ibl_c665x\spiRom.map.pp and modified.

  - spiRom.map.pp

    section
    {
    param_index    = 0
    boot_mode      = 50
    sw_pll_prediv  = 0
    sw_pll_mult    = 0
    sw_pll_postdiv = 0
    sw_pll_flags   = 0
    options        = 1
    core_freq_mhz  = 800
    bus_freq_mhz     = 1
    bus_freq_khz     = 0
    addr_width   = 24
    n_pins       = 5
    mode         = 1
    csel         = 2
    exe_file = "spiboot.le.btbl.i2c.ccs"
    }

   layout 
   {
   dev_addr     = 0x400
   dev_addr_ext = 0
   file_align   = 0x80
   exe_file    = "spiboot.le.btbl.i2c.ccs"
   pad_file_id = 1
   exe_file    = ""
   pad_file_id = 1
   }

    pad
   {
    pad_file_id  = 1
    dev_addr     = 0x500
    dev_addr_ext = 0
    len          = 0x300
    }

5. I excuted the spiboot.bat and have not error message.

6. In CCS, I load the NOR Writer at CCS Debug, and load the image "spirom_le.swap.bin" to memory index 0x80000000

7. I run the NOR Writer and successfuly loaded the image "spirom_le.swap.bin" to EVM

8. I change the DIP Switch for booting from ROM SPI and re-boot.

ROM SPI Boot: DIP SW3 (off, on, off, off, on, on, on, on) SW5 (on, on, off, on, on, on, on, on)

9. Terminal do not show message.

 

Above procedure, Where do I change?

Please help me.