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.

SECDEVTOOL-OMAPL138C6748: Cannot boot from NAND flash despite boot image being already written

Part Number: SECDEVTOOL-OMAPL138C6748
Other Parts Discussed in Thread: OMAP-L138

Hello everyone,

I am trying to boot OMAP-L138 E from NAND flash. I use a ccs project  to write the secure boot image into the NAND flash in debug mode. The integrity test was successful, the image was already in the flash, but I still cannot boot from NAND flash. 

I thought that it might be due to the missed start address to tell OMAP where in flash to start to load the image. Therefore, I wrote an additional data of start address to 0x00000000 to specify that information. However, nothing happened.

Could anyone please help me to figure out this problem?

Thank you.

  • Hi,

    Is this RTOS ? Which sdk version is it?

    Best Regards,
    Yordan
  • Hi Yordan,

    It is a DSP core standalone application. I used CCSv6, my flashing process can be explained as bellow:

    1. Because my part is secure OMAP-L138, first I have to load a 'unlockjtag.ais' file onto it using GenericSecureUartHost.exe to unlock JTAG TAP

    2. Then I open a NANDWriter project (modified from TI example) in CCS V6 and run it in debug mode on DSP core. The program is responsible for reading an AIS file from computer (an UART application image) and write it down to the NAND flash. This image is loaded to BLOCK 1, PAGE 0 of the flash. 

    NOTE: Both 'unlockjtag.ais'  and 'uart.ais'  are secure image created from 'unlockjtag.out' and ''uart.out' using SecureHexAIS_OMAP-L138.exe. I attach the ini file here for investigation:   https://e2e.ti.com/cfs-file/__key/communityserver-discussions-components-files/791/7028.test.ini

    I have read the data from NAND flash after using NANDWriter and confirmed that the image was already in the memory (figure). Moreover, the UART application ran properly in debug mode. Despite that, the OMAP-L138 could not boot from NAND flash.

    Did I lack of any step?

    Please help me with that! I've been working on it for several weeks and now it seems that there is no standard document on it !!!

    Thank you,

  • Hi,

    The design team have been notified. Their feedback will be posted here.

    Best Regards,
    Yordan