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.

AM2434: AM243x-LP RUN gpio_led_blink "Break Point" not working.

Part Number: AM2434

Tool/software:

Dear Specialists,

I was testing AM243x-LP with GPIO_LED_BLINK, but Break Point couldn't work:

Is there anything I didn't do right? I setup 4 break-points first.

After I download the .out into R5_0_0 core, I press "run", but the core ignores those break-points.

Please help to comment.

Thank you very much.    Jason Chiu.

  • Hi Jason,

    Thanks for your query.

    Can you please check the code by stepping in individual instruction instead of resuming from main function?

    Regards,

    Tushar

  • Hello Mr. Tushar,

    Thank you very much for quick help.

    I did single-step through the main() and it can go to the last line:

    I didn't enable all those "break-points" during single-step.

    The function "gpio_led_blink_main(NULL)" also run ok during the single-step.

    Best Regards,   Jason Chiu.

  • Hello Mr. Jason,

    I did single-step through the main() and it can go to the last line:

    Thanks for the above information. From the above I assume the program is executing without any errors. 

    Can you please tell how are you setting the breakpoints?

    And also can you please confirm when you are single stepping have you ever encounter the instructions where you kept breakpoints?

    Regards,

    Tushar

  • Hello Mr. Tushar,

    Thank you very much for your quick reply.

    The next screen capture is single-step to the end of main() with break-points enabled. Still no errors in those single-steps.

    The next screen capture is under all break-points enabled, and started by clicking "run" button, and the CCS stop at exit.c, and stop correctly: (but no action on all break-points, all were ignored by CCS).

    The following screen capture is in the above stop condition, and then I click on the main.c tab and also click to show all breakpoints. All break points were still there, but simply were all ignored by CCS.

    The following screen capture is the setting page for TIMER:

    Would you please help to check why break-points couldn't work?

    Thank you very much.

    Best Regards,     Jason Chiu.

    ps. I set those breakpoints by using mouse to point to the left border side (near line number) of a line in main.c and then click mouse button to show the pop-up-menu "Breakpoint (Code Composer Studio)", and then choose top option "breakpoints".  

  • Hello Mr. Jason,

    I think by mistake you have enabled the option to skip all the breakpoints.

    Can you please toggle the skip all breakpoints option and try again?

    To toggle, under CCS navigate to Run -> Skip All Breakpoints.

    Please refer below image.

    Please let us know if the above works.

    Regards,

    Tushar

  • Hello Mr. Tushar,

    Thank you very much for your quick reply.

    You are right, I didn't check the condition of that option:"Skip All Breakpoints". It has an check-mark on the left of that menu-item. 

    After clicking on that menu-item to remove the check-mark, the Breakpoints were all able to stop the running of the CCS.

    Best Regards,    Jason Chiu.

  • Hello Mr. Jason,

    Thanks for the confirmation.

    Happy to help Slight smile

    Regards,

    Tushar