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.
Hello all,
I'm working on the OMAP-L138 LCDK board and I'm trying to boot the facedetect application (present in the SDK, v2.0) to the NAND flash, such that the application will run automatically at boot.
I followed the instructions from the document "bios_c6sdk_user_guide.pdf" (attached) on page 22. I just replaced the device by OMAPL138_LCDK (with C6748 as the device the burning process remains blocked at some point). But when I turn the dip switches to NAND mode and turn on the device, nothing happens. Is this document relevant?
I generated the AIS file exactly as requested in the file. I figured that maybe the bootloader version is not correct, but unfortunately, I didn't succeed in reading the version of the ROM bootloader.
Any help would be appreciated.
Thanks a lot,
Armand
I'm using the 2.0 version (c6sdk_02_00_00_00)
I also checked the bootloader version, it is the latest (d800k008)
Regards,
Armand
Hello Rahul,
Thanks for your answer. I also tried to load to the NAND flash memory the compiled User Bootloader, converted into an AIS file, besides the image (facedetect.bin), converted to a bin file with the tool out2rprc.exe. To summarize, that's what I tried:
- Loaded in CCS the following projects: bootloader_c674x_c6748_lcdkC6748 and facedetect_lcdk (from StarterWare and demos respectively)
- Changed into the bootloader project the variable entryPoint (also tried with DspEntryPoint) in the file bl_main.c to the entry point of the facedetect application (found in the file facedetect_lcdk.map in the facedetect project)
- Compiled both projects in CCS (v7.2)
- Extracted both .out files
- Converted the bootloader_c674x_c6748_lcdkC6748.out to the file boot.ais thanks to the AISgen tool, with the configuration file corresponding to the LCDK (present in the SDK files)
- Converted facedetect_lcdk.out to facedetect_lcdk.bin with the program out2rprc.exe (also present in the SDK files)
- Executed the following script (before, I set the DIP switches as requested: 01010000):
@echo 1 - Erasing the flash memory
"C:\Program Files (x86)\Texas Instruments\pdk_C6748_2_0_0_0\C6748_StarterWare_1_20_03_03\tools\flash_writer\sfh_OMAP-L138.exe" -targetType OMAPL138_LCDK -flashType NAND -p COM16 -erase
@echo 2 - Program the flash memory
"C:\Program Files (x86)\Texas Instruments\pdk_C6748_2_0_0_0\C6748_StarterWare_1_20_03_03\tools\flash_writer\sfh_OMAP-L138.exe" -flash c:\lcdkProgram\boot.ais c:\lcdkProgram\facedetect_lcdk.bin -targetType OMAPL138_LCDK -flashType NAND -p COM16
Result:
- After setting the DIP switches to NAND boot mode (01110000), the program is not running.
- Though, if I burn the User Bootloader (UBL) to the device through JTAG, the user bootloader successfully loads the application to the shared RAM and the program runs as expected.
My goal would be that the ROM bootloader (version d800k008, checked with an appropriate GEL file in CCS) loads the UBL, and afterwards that the UBL loads the application present in the NAND flash as it happens in Debug mode (after burning the UBL through CCS).
Could you please provide some step-by-step instructions to help me to succeed in my task? I tried a lot of different configurations and I'm quite lost...
I hope that the problem is clear,
Thanks a lot,
Armand