Strictly necessary cookies are on by default and cannot be turned off. Functional, Performance and Tracking/targeting/sharing cookies can be turned on below based on your preferences (this banner will remain available for you to accept cookies). You may change your cookie settings by deleting cookies from your browser. Then this banner will appear again. You can learn more details about cookies HERE.
Strictly necessary (always on)
Functional, Performance and Tracking/targeting/sharing (default off)
Question: The renumerating examples for the AN2131 and FX all have code that sets the breakpoint to trigger on TD_Poll().What does this code do and is it necessary?
In our renumerating examples we use this code in our initialization function TD_Init(), as a debugging aid. This serves to provide a visual indication to the user that the code has successfully downloaded and renumerated. If the download was not successful the code in TD_Poll() would not be executing and the user would not get the visual indication. The green BKPT/Monitor LED illuminating serves as the visual indication.
You can set this code to trigger on functions other than TD_Poll() to assist you with debugging. Because this code serves as a debugging aid, it is not necessary to include this code.