Quantcast
Channel: Processors forum - Recent Threads
Viewing all articles
Browse latest Browse all 17527

OMAP-L138: Flashing application in OMAPL138 LCDK

$
0
0

Part Number:OMAP-L138

I always seem to have some problem flashing the OMAPL138, I'd like to get to the bottom of my issue. Somehow some applications I am able to flash and others I am not, and I still can't figure out the exact reasons. I am able to flash very complicated large code which uses same platform and similar .cfg files but sometimes a simple LED blinking I cannot, and can't figure out why. Here below is an example: 

I am using CCS ver 6.1.3.00033 (just in case it's needed). I have an application called blink_C6000_SWI which uses TI-RTOS to blink an LED (a hardware timer triggers a HWi, which in turn triggers a SWi, which toggles the LED). This application is based (if not entirely the same) as the one in the labs of the TI-RTOS workshops. I am trying to flash it into the OMAPL138 LCDK. First, I know it runs after JTAG download, and I doubt it has something to do with the TI-RTOS per se, so here I go with the process:

1) I modify the .cfg file to include this for the entry point:

var Hwi = xdc.useModule('ti.sysbios.family.c64p.Hwi');

Hwi.resetVectorAddress = 0xc0000000;

2) I use a platform file with all fields Code Memory, Data Memory, Stack Memory set for DDR, and L2 Cache =0k, L1D Cache = 32k, and L1P Cache = 32k (clk = 300 MHz, and Device Name = TMS320C6748)

3) I take application.out and convert it to application.bin using out2rprc

4) I compile the arm bootloader to get a boot.out with entry point 0xc0000000 then I convert boot.out to boot.ais using the AISGEn tool which uses the provided OMAPL138_LCDK_AISGen_Config.cfg file.

I go through the normal process which I know pretty well about the dipswitches downloading via UART, which it does successfully, move the dipswitches to boot from flash, but can't get the LEDs to blink,.

Any hint is appreciated.

 


Viewing all articles
Browse latest Browse all 17527


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>