Fastsemihosting and STOP mode of STM32L0

Sysprogs forums Forums VisualGDB Fastsemihosting and STOP mode of STM32L0

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #25770
    Gordon01
    Participant

    Can I actually use FastSemihosting with STOP mode of stm32?

    For now, if I have

    HAL_PWR_EnterSTOPMode(PWR_LOWPOWERREGULATOR_ON, PWR_SLEEPENTRY_WFI);

    somewhere in the main loop, any printf() call leads to jumping to the 0xdeadbeee address and windows “frame not in module”.

    Without going to STOP mode everything works perfectly.

    Using “normal” semihosting just prevents CPU from entering the STOP mode.

    Thank you, Alexander.

    • This topic was modified 5 years, 1 month ago by Gordon01.
    #25775
    support
    Keymaster

    Hi,

    This is likely affected by the same limitations as Live variables, so please refer to our explanation in the following thread: https://sysprogs.com/w/forums/topic/debug-in-stop-mode-how-it-should-work/

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.