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.

TM4C1231D5PZ RTOS Problems

Other Parts Discussed in Thread: TM4C123GH6PM, TM4C1231D5PZ

I'm having some kind of really basic problems building, loading and debugging a project for a board using this processor.  I've boiled it down to two really basic tests that seem to indicate that there is something fundamentally wrong with the RTOS build.  I did each test on the eval board with the tm4c123gh6pm and on the board with the tm4c1231d5pz.  Here's what I saw:

Test #1: Using CCS6, Build, load and debug a project created with the hello world template (no RTOS).  This works on the eval board and on my board.  This tells me that the fundamental connections to the board are working.

Test#2: Build, load and debug a project created with the minimal config template (with RTOS).  This builds without errors in both cases.  It loads and behaves reasonably using the debugger on the eval board.  On my board, it will load, but it never gets to the breakpoint at main.  The debugger says it is still running.  When I try to pause it, the debugger says that it has lost the connection to my board. 

After the failure in Test#2 above, any further attempt to load a program fails, citing a bad connection.  After getting a little advice from some friends, I tried the LM Flash Programmer.  I found that the device had apparently been locked.  After I ran the unlock procedure, I was again able to run Test#1 successfully on the board, but Test#2 failed in exactly the same way.

It seems like something really basic is going wrong in _c_init00 - or perhaps even earlier as the program is being loaded.  In both cases, I have no code of my own in the system, yet.

Any ideas/suggestions would be gratefully received.

  • I can add a little more information.  I've been having way too much fun with this.  I've been single stepping through the disassembly of __TI_auto_init (called from __c_int00).  

    The simple hello world program does a simple loop of some decompress stuff, then goes to main.  The minimal RTOS program goes into some xdc (generated?) code.  It crashes in there.  I think it is happening when in a clock configuration, but I could be wrong about that.

    Is there some more configuration work that I need to do?  If so, what tools should I be using?