Search found 3 matches

by einansus
Tue Aug 13, 2013 9:36 am
Forum: General Support
Topic: ARMCM4-STM32F407-LWIP demo
Replies: 8
Views: 6351

Re: ARMCM4-STM32F407-LWIP demo

I've found a way to debug in sleep mode: Don't initialize the SWD Port, e.g. GPIOA. To skip init for e.g. GPIOA, comment line 124 in "os/hal/platforms/STM32/GPIOv2/pal_lld.c" :

Code: Select all

//  initgpio(GPIOA, &config->PAData);
by einansus
Fri Aug 09, 2013 7:57 am
Forum: General Support
Topic: ARMCM4-STM32F407-LWIP demo
Replies: 8
Views: 6351

Re: ARMCM4-STM32F407-LWIP demo

Hi ch_fen,

where do you inserted the sleep mode debugging activation DBGMCU_Config(
DBGMCU_CR_DBG_SLEEP | DBGMCU_CR_DBG_STANDBY | DBGMCU_CR_DBG_STOP, ENABLE); in your project?

I use the following for debugging:
STM32F415RG
Atollic TrueSTUDIO gdbserver for ST-Link
arm-none-eabi-gdb
chibistudio ...
by einansus
Thu Aug 08, 2013 10:12 am
Forum: General Support
Topic: ARMCM4-STM32F407-LWIP demo
Replies: 8
Views: 6351

Re: ARMCM4-STM32F407-LWIP demo

Hi ch_fen,

where do you inserted the sleep mode debugging activation DBGMCU_Config(
DBGMCU_CR_DBG_SLEEP | DBGMCU_CR_DBG_STANDBY | DBGMCU_CR_DBG_STOP, ENABLE); in your project?

I use the following for debugging:
STM32F415RG
Atollic TrueSTUDIO gdbserver for ST-Link
arm-none-eabi-gdb
chibistudio ...