AnsweredAssumed Answered

STM32F072 DFU vs. App

Question asked by nagy.attila on Apr 18, 2015
Latest reply on May 26, 2015 by nagy.attila
Hi All,

I'm new on STM controllers and I don't know enough about this controller yet.
I tried to use USB DFU on Discovery board.

I using latest DfuSe 3.0.4 and latest STM32Cube_FW_F0_V1.2.0\Projects\STM32F072B-Discovery\Examples\GPIO\GPIO_IOToggle
If I upload this example by STLink it works as expected.
If I change IROM1 to 0x8007000 0x19000 in this example, recompiled and uploaded by DFU then the LD3 lit up only. I found that the App is working but the HAL_Delay() function doesn't. Finally I found that the uwTick variable does not incremented by SysTick handler.
If I replaced HAL_Delay by a long For-loop it worked perfectly.

Does anybody know why? What I'm missing?

Thank you so much!
Attila

Outcomes