Hello,
I am testing an algorithm using either the F28335 simulator either the F28335 target (with JTAG).
With the simulator I do not have issues.
With the target using JTAG, I observed erratic "reset" of the F28335.
Sometimes the internal F28335 PC register is coming back to : code_start: .if WD_DISABLE == 1 LB wd_disable ;Branch to watchdog disable code
I checked with a scope and I confirmed that I have a reset signal on XRS pin.
I could not locate the exact position of the line of code that could generate the reset because when setting breakpoints the issue is not happening at the same place and when I am removing some pieces of code the crash issue is also "moving"..
For information, in my test application I am using printf and files API.
My compiler version is: TI v16.9.5.LTS and CCS 6.1.3.00034
I double checked:
1) _stack using stack painting: no issue
2) .esysmem stack using stack painting: no issue
3) I tried to change of: "Level of printf/scanf support required" from full to minimal : but still the issue
4) I double checked that the watchdog is disable
Do you have any experience on such issue ?
IT may help also if you could indicate all the sources that may generate a reset signal on the F28335 pin: XRS
Thanks for your help
Mathieu