Other than modifying the RedBear Duo firmware code, is there a way to disable all low power settings from a Sketch? I run my Duos using 5v power supply and do not need the low power capabilities.
Does this disable or enable them in debugger/openOCD?
# DBGMCU_CR |= DBG_STANDBY | DBG_STOP | DBG_SLEEP
mmw 0xE0042004 0x00000007 0
Would it be possible to get the openOCD scripts RedBear uses for STM32F2x.cfg and redbearduo.cfg? I am using the ones from:
But I still have something wrong as I am getting disconnect/reconnects while trying to debug:
Error: jtag status contains invalid mode value - communication failure
Polling target stm32f2x.cpu failed, trying to reexamine
Examination failed, GDB will be halted. Polling again in 6300ms
Looking for additional suggestions as well.