I am trying to flash a DSP application on my TMDX LCDK 138 using the serial port UART2. I was able to do this few months ago and now the application would not start after downloaded and I boot from Flash. This is what worked for me before and now it doesn't:, please let me know if there is a better procedure, or if I am doing something wrong. I am using CCS version 6.1.3.00033
1) I build my application's .out file using a platform as shown in the attached figure. I am using SYS/BIOS so in my .cfg file I added the following to force the reset vector to start at 0xc0000000.
var Hwi = xdc.useModule('ti.sysbios.family.c64p.Hwi');
Hwi.resetVectorAddress = 0xc0000000;
2) My .map file shows this for entry point:
ENTRY POINT SYMBOL: "ti_sysbios_family_c64p_resetVector" address: c0000000
3) I build and in Debug mode, download to target with JTAG and I am able to run the program successfully, and created a app.out file. I also verified the silicon rev. is d800k008
4) I imported the bootloader_armv5_omapl138_lcdkOMAPL138 project to CCS (version 6.1.3.00033) and built it after changing the following line in the bl_main.c file:
unsignedint DspEntryPoint = 0xc0000000; //to make sure bootloader has the entry point address
built it and created a boot.out file
5) I opened AISGen and used used an existing configuration file which has 16bit NAND plus other settings to convert the boot.out file into a boot.ais file
6) I converted the app.out file to app. bin file using application out2rprc.exe as explained in processors.wiki.ti.com/.../OMAPL138_StarterWare_Booting_And_Flashing
7) now I Ihave a boot.ais and an app.bin file and use the following to flash the two:
8) I set the dipswitches to serial boot and connect a USB cable on J3 UART-usb, and get the BOOTME message when connected to COM3 using Teraterm. I close Teraterm to disconnect and run the following command to flash the target
>sfh_OMAP-L138.exe -flash boot.ais app.bin -targetType OMAPL138_LCDK -flashType NAND -APPStartAddr 0xC0000000 -APPLoadAddr 0xC0000000 -p COM3
The result is apparently sucessful as shown in the screen capture attached, but when putting the dipswitches to boot from flash and after reset the program doesn't run, which is essentially a blinking LED. I used to get a good outcome some months ago, perhaps I am missing something in one of the steps, or if there is a simpler method to do this, please let me know,