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.

RTOS/TM4C123GH6PGE: Getting started problem

Part Number: TM4C123GH6PGE


Tool/software: TI-RTOS

Hi,

Please see screen shot - even before I have started I have BIOS errors with two semaphores. Looks like a stack overflow with reads of bebebebe but how do I find out why or what's happened?

Thanks

Richard

  • Is there any problems with the application? We had issues with <Module>_Structs (used in <Module>_construct) in ROV in some releases. Basically you show up as errors before they are initialized (in the <Module>_construct() API). It's not a real error and, while annoying, can be ignored.

    Do you have any Semaphore_Structs in your code? Note: some of the TI-RTOS Drivers have them and they show up also.

    Todd
  • Hi Todd,

    Thanks for the reply.

    Application is extremely unstable. It can run, but then adding one extra line of seemingly harmless code will cause a fault that doesn't get trapped and the processor resets.

    This shows the tasks that are running. MidiRxTask is blocked on unknown. MidiRxTask simply has UART_read() and was set up as uartParams.readMode = UART_MODE_BLOCKING, so should be blocking there I think.

    This shows BIOS errors at this point

    This shows the semaphores at this point including the two "error" semaphores

    And this shows after processor has reset

    I think I will rebuild this project from a previously working project (which is what I did initially), as I don't know where to go with it now.

    Thank you for any help you can offer.

    Best regards

    Richard

  • It seems that Open_timer() was causing corruption. The timer is now created in the .cfg file and it runs OK. Something still not right though as a simple Semaphore_post() causes a processor reset. I am using CCSv8.3.1, TI-RTOSv 2.16.1.14 and XDCTools v3.32.0.06
  • I get blockedOn Internal Error like this

    then the BIOS erros are...

    What has gone wrong - anyone any idea what to do to find out?

    Best regards

    Richard

  • I've given up with RTOS as it seems too tricky to debug. I've re-written for Tivaware and getting on much better, so this thread can be deleted.
    Richard
  • Hi Richard,

    I'm sorry to hear that you had a bad experience with the RTOS and apologize for the slow support we gave you.

    Todd
  • Not to worry Todd, I have two other projects completed very successfully with RTOS which is why I was surprised to get stuck on this one. Anyway I have now recoded using the Tivaware libraries and all is working as expected :)
    Thanks for the support anyway.
    Best regards,
    Richard