Other Parts Discussed in Thread: OMAP-L138, OMAPL138
Dear forum!
I have a custom hardware platform with an OMAP-L138, a 32MB DDR2, and a 32MB NOR flash. Im using the setup shown below:
- Windows 7, 64bit
- XDS100v2 style emulator (from OPELLA)
- CCSv4 (4.1.1.00014)
- 20MHz input quarz on my board
Ive been able to connect to the device (in debug), program the DSP to make LEDs blink and configure a eHRPWM controller. I modified the OMAP138_ARM.gel file to match my clock and DDR2 settings, which seems to work, because I can connect to the ARM core and fill the section of memory specified for DDR (starting at 0xC00000000).
Now, I am trying to get my flash up and running. My real goal here is to flash an image into my NOR flash so that I can boot from there, so Im trying to carry out the procedures on Flashing images to NOR Flash on on this page:
Everything works fine: loading the gel file, running the NOR pinmux script, building the flash writer (norflash-writer.out). But when I run the NOR flash programmer, although it seems to work (no errors), I am not prompted for the input file, and nothing appears on the screen. When I halt the processor, the program counter is just hanging out at
address: 0xFFFD4664, data at address: EAFFFFFE
Initially, when I load the program and step through it, it seems to have loaded at the right address in the DDR2 (pic below), and stepping through it seems to work, until the processor starts into some long loop that I cant step out of (pic below). If I then let the program run, ends up at some random location (pic below).
Pic of disassembly after program load:
Pic of disassembly at loop: (after stepping it a while the labels seemed to jump , ie c16)
Pic of program ending up at a random location:
I know that this NOR flasher program was written for the Logic PD EVM, but I dont understand why Im not getting any printf messages on the console - at least this much should work without modifying the program to match my flash. I tried the exact same thing on the Logic PD Experimenter (with my OPELLA XDS100v2 emulator) and messages came up on the console.
Im going to post my modified GEL file. Any ideas what could be going wrong here?






