2014-02-13 01:30 PM
Hullo , ...... Im working on Waveshare board (PORT207Z) , it has the STM32F207ZG chip , I can use the simulator debugger properly , but when I use my J-Link debugger , debugging does not work properly , it says (J-Link error , Can not read registers while CPU is running) I believe the problem is about watchdog or sth like that ........ any help ?
Thx in advance. #telegram-style #!telegraphing2014-02-13 01:41 PM
And what IDE are you using?
Have you made sure you've enabled all the check-boxes to download the firmware before debugging?2014-02-13 02:22 PM
2014-02-13 03:24 PM
Now i doubt that it's not the WDG ..... i made sure that IWDG and WWDG are set in the DBGMCU_APB1_FZ register , so its not WDT problem , and one thing ...... i can always execute only the first breakpoint that is closeset to the main ......... but when i move down there , it stops. ........... really frustrating.
2014-02-13 03:44 PM
If you're not using watchdogs then they shouldn't interfere, plus you could just not initialize them.
Consider connectivity issues related to NRST, and GPIO reconfiguration on your part breaking JTAG/SWD.Look over your code, I can't, and start doing simple things first.2014-02-13 04:00 PM