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

OMAP L138 Boot from SD Card

$
0
0

I am trying to get my OMAP-L138LCDK to boot off of an SD card. I have been reading many of the wiki articles that TI has, but many of them are specifically for using Linux on the ARM side.

I plan on using SYS/BIOS on the DSP and running the ARM bare metal. Right now, my ARM code is simply enabling the DSP and running an infinite loop.

I have used the AISGen tool with both the ARM and DSP out files to create my bin file and placed it in the root of my sd card. Currently the DSP code is blinking an LED and reading in audio data through the McASP (the code has been tested through the CCS emulator and works). The ARM code is setting the Boot address vector for the DSP to  0x11800000 (which is where I explicitly placed _c_int00 for the DSP), as well as waking up the DSP.

Placing the microSD card in the slot and power cycling the board results in nothing happening.

I have also used the OMAPL13X debug gel file to make sure my switches were correct and to see what errors I get. The boot ROM gives me 0x000000C4 which is not a recognizable error.

I'm assuming the problem is either with how I am loading the .ais file in the SD card or how my .ais file is being configured. I did not set a specific entry point in the AISGen and my arm code starts at 0xFFFFF000, not 0x80000000. Could that be a problem?

I am planning on NOT using a DDR2 memory and have setup my DSP code to run in L2 RAM, maybe there is a problem here? Although it runs from the L2 RAM with no problem when I am using CCS.

I also want to make sure that I am not misinterpreting how the boot loader works. My understanding is that the boot loader checks the boot pins to determine the device to load data from. It then reads the AIS file to load the application(s) into RAM and set any configurable registers. Is this correct? Or is there something else I have to do?

Sorry for all of the questions embedded in to one large question. If any more details are needed, please let me know!


Viewing all articles
Browse latest Browse all 17527

Trending Articles