Because of the holidays, TI E2E™ design support forum responses will be delayed from Dec. 25 through Jan. 2. Thank you for your patience.

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.

AWR1843BOOST: Debug code is not working in real time

Part Number: AWR1843BOOST

Hi, I am working on MRR demo project from TI Automotive toolbox. I have added few tasks in the project. everything is working fine if i am debugging the code , but flashing code into Device, readTask is not resuming, mailbox is not posting anything.

  • Hi Rajesh,

    This sounds like a timing issue to me. It is likely that the code when run in CCS debug mode doesn't reveal some race conditions or other timing issues. For example, print statements can cause this behavior: code working in CCS debug mode but not in flash mode.

    It would be a good idea to go over the code you added and ensure that there aren't any race conditions. Removing print statements from code might help you recreate the error in CCS debug mode itself, which would make it a little easier to debug.

    You might also want to look into UART to transmit a small amount of data out of the device. This could help with debugging when CCS debug mode can't be used.

    Another idea would be to desk check the code that you have added and focus on the delta. Since the tasks added run in CCS debug mode, it indicates that the issue isn't a memory issue but a timing one.

    Regards,

    Aayush