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.

TI RTOS with OMAP L138 LCDK problem with Lab 4 Using UIA

In order to learn about TI RTOS and my C6000 Microcontroller I have been going through the labs and lessons for the TI RTOS Kernal Workshop.  I got to lesson 4 using TI-RTOS and the first half of it went really well until I went to add in the UIA services to enable a lot of the debugging features.  When I did this I could still compile but when luanching in the debugger the code always started and was stuck in "exit.c" under "_CODE_ACCESS void abort(void)"  function and my blink LED no longer worked or ran.  Any idea what got messed up here when I added int he UIA or what I need to adjust?  

Versions:

XDC (3.25.02.70)

BIOS(6.35.03.47)

UIA(1.03.01.08)

CCS V6

OMAP L138 LCDK

JTAG Emulator:  TI XDS100v2 USB Emulator

  • The heap variable was not allocated correctly and which was needed for the UIA.  This was just an oversight the first time I went through the lab procedure.  

  • This is Eric Wilbur - author of the TI-RTOS workshop. Sorry it took me awhile to respond. I have spotty online access right now - hence the delay.

    A few thoughts here:

    1. Yes, UIA needs a heap. At one time, I heard that UIA needing heap was actually a bug and I thought it would go away in later releases of the TI-RTOS SDK. But apparently this is not the case. So, good for you for figuring this out yourself via the lab procedure.

    2. The current set of labs/sols have some mistakes that I have fixed, but not posted yet (end of next week). The mistake was primarily adding the UIA product to the list of RTSC tab settings AND TI-RTOS. The mistake is that TI-RTOS already contains UIA as a product, so I enabled UIA TWICE by mistake. When you import the project, it may complain about the fact it can't find the UIA separate product and it will cause errors when you build. Simply unselect the separate UIA product (if you have it installed), and rebuild. The only product needed by the labs/s/ols is TI-RTOS in all labs/sols. 

    Once again, all of these issues will be fixed in the next release of the workshop - probably by 725.

    Just wanted to clarify a few things you may run into so that you were aware of them.

  • Hi Eric,

    The heap needed by UIA was actually required by the BIOS Load module.  This has been fixed in BIOS 6.37.

    Best regards,

        Janet

  • Janet,

    Thanks for verifying that this issue has been resolved. Great to hear. So the last two versions of the TI-RTOS SDK no longer have this issue. I will change my labs to reflect this change. Thanks again...