Posts by pmurdock
-
-
Interesting.. I think perhaps what I am facing is that the device wakes up, performs its work (@100MHz) and then promptly goes back to sleep again.. Because of the speed differential between the JLink and CPU it just goes back to sleep to quickly, and thus I just never get any output from the wake-up task because it just happens too quickly..
-
-
Getting some erratic RTT output when I added sleep (WFI) to my stm32f411re design. Basically when I start a debug session, I don't see any RTT output (as the code basically starts up and goes into SLEEP (not stop or standby).. It stays in Sleep until an RTC wake up interrupt occurs. The code has RTT output leading up to this point, but none of it is shown. However if I pause the debugger and resume it'll print out all the outputs that didn't come out to begin with.
I see some previous forum posts in 2016 regarding stm32 issues with sleep and J-Link not able to read data.
I have turned on the DBGMCU during sleep mode, so HCLK stays attached to the debugging unit on the MCU.
Code__STATIC_INLINE void LL_DBGMCU_EnableDBGSleepMode(void) { SET_BIT(DBGMCU->CR, DBGMCU_CR_DBG_SLEEP); }
are we still in the same boat with regards to being unable to debug stm32's with sleep mode enabled? it would sure be useful.. Do some of the newer stm32L4 parts have the same problems? Or is this in general a problem across all the cortex-M4 variants?
cheers,
Paul -
Gday all
I have an NXP lpc1768 running on a custom board with a 10 pin cortex jtag connector.
I have Jlinkgdbserver running and whenever I connect or remove the jtag connector either jlinkexe or jlinkgdbserver lose connection to the target.
How can I have this connection maintained? Sometimes the fix results in me having to unplug the usb port on the jlink to reset the jlink. Sometimes I will get the error message in the gdb server.
Error: Emulator out of memory
When I unplug the jtag connector for the target.
I understood that it was possible to attach/deattach to a running target but my experience tells me that it won't work.
Cheers!
Paul