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,
I am running the DSP side of the OMAPL138 with XDS100v2, and I have run into a problem. Some of the test projects to test the different aspects of the board do not work unless I set the MACRO NO_GEL to a 1. When NO_GEL is 1, these two functions are called: EVMOMAPL138_init(); EVMOMAPL138_initRAM(). Is there something wrong with my GEL files that I need to edit to that will initialize these? An example project that doesn't work is the LCD graphics display.
Thanks,
Justin
Justin,
I downloaded the GEL files from LogicPD's OMAPL138EVM page but I can't find the functions you mentioned - can you try to use this file instead?
Maybe the files posted there fixed some bugs or perform initialization routines in a different manner - for specifics on the device initialization itself you will have more knowledgeable answers from the experts in the OMAPL forum, though.
Hope this helps,
Rafael
Some other guys in TI were also having a lot of issues with the Logic gel file and so they made a bunch of corrections to it. You can download it here:
http://software-dl.ti.com/trainingTTO/trainingTTO_public_sw/bios/C6748_TTO.gel
I got to that link from this web page which has tons more great info related to OMAP-L138/C6748:
http://processors.wiki.ti.com/index.php/C6000_Embedded_Design_Workshop_Using_BIOS
The functions I've listed are in just about every test project (e.g. evmomapl138_test_lcd_graphics).
Is this GEL file for the ARM or DSP?
Thanks,
Justin
Justin Oliver said:Is this GEL file for the ARM or DSP?
It's for the ARM. The last thing in the OnTargetConnect() function calls WakeDSP() which releases the DSP from reset. You need to connect to the ARM and run this gel file before you will be able to connect to the DSP.
How do I do that? I'm sorry, I usually just click "Debug" with the .ccxml file that uses the DSP.
Justin,
Sorry, I understood the functions you mentioned were inside the GEL file instead of the project source files.
The System-on-a-chip devices have a master core that releases the other cores from reset, therefore the connect sequence must be done manually.
Check the page below for additional details about what Brad described:
http://processors.wiki.ti.com/index.php/GSG:Connecting_to_slave_cores_in_SoC_devices
Regards,
Rafael
When I do this, I get this error:
ARM9_0: Output: Memory Map Cleared.
ARM9_0: Output: ---------------------------------------------
ARM9_0: Output: Memory Map Setup Complete.
ARM9_0: Output: ---------------------------------------------
ARM9_0: Output: PSC Enable Complete.
ARM9_0: Output: ---------------------------------------------
ARM9_0: GEL: Error while executing OnTargetConnect(): Target failed to write memory at 0x01C11138.
Any ideas?
Thanks,
Justin
I think you're seeing this error because adaptive clocking is not turned on. In your target configuration file (ccxml) go to the Advanced Tab and look for an option related to TCLK speed. Change it from "automatic" to "adaptive".
Hello,
From the original post, this fixes the LCD graphics test project, thanks!
However, if I run the USB test project with this method, nothing is output to the console so I cannot see whether the test passes or fails. Any ideas?
Thanks,
Justin
Hello,
I was doing the procedure wrong. Everything is working now, thanks!
Justin
Brad,
I found that the GEL file in you 1st link is no longer accessible. Is it placed somewhere else?
Zheng
If you download the zip file of Labs from the other link I referenced you will find the gel file at Labs/DSP_BSL/gel.
I believe that LogicPD has incorporated these changes into their BSL now so you could grab the latest BSL from them as an alternative.
I only found BSL integrated in "SDK for OMAP-L138"(available at ti.com) but linux is needed to install it. Can anyone show me the place where i can still download this gel files ?
You get it from LogicPD:
http://support.logicpd.com/ProductDownloads/OMAP-L138SOM-M1%28eXperimenterKit%29.aspx
You need to register your board and be logged into the LogicPD site to download it (unfortunately!).
Another option might be to use some of the materials from the TI-RTOS Workshop. Version 2.00 of the workshop has now switched from the OMAPL138 EVM to the OMAPL138 LCDK. However, if for example you grab the Labs zip file then you can go to C6000\Labs\TTO_gel and use OMAPL138_EVM_TTO.gel which should be suitable.
http://processors.wiki.ti.com/index.php/Introduction_to_the_TI-RTOS_Kernel_Workshop
Unfortunately i don't have a board from LogicPD but from Texas.
I've add gel file from C6748_LCDK and it works. Thanks !