Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
EBlink override the default halt on Reset_Handler
#3
(06-11-2024, 05:37 PM)embitz Wrote: Make a small F4 project for me and I will see if I can fix it.
Update:
I think this is because the reset flag is set and catched by EBlink. Are you sure that it was working with the old STlinkGDB ?
A workaround that I use for my bootloaders is using a jump/call to the reset factor in debug mode.

Hi,
thank you for your fast response.
I have zipped a small STM32F4 project with one "wait loop" (takes 2-3seconds) followed by a reset call.

I am still using EmBitz 1.11, and I wanted to transfer all my projects to the new EmBitz, and was investigating this yesterday. Yes, on Embitz 1.11 with STlinkGDB the CPU doesn't stop after the restart. 

Unfortunately, the workaround (just jumping to the reset vector) would not work for me, because it doesn't reset the MCU peripherals.
This fix would be very important to me, thank you once more.

Best Regards,
Mate


Attached Files
.zip   Test_reset.zip (Size: 1.73 MB / Downloads: 2)
Reply


Messages In This Thread
RE: EbLink stopping on the Reset_Handler even when it shouldn't - by Mate - 06-11-2024, 06:57 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)