[ABANDONED] Flashloader STM32WLE5

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • [ABANDONED] Flashloader STM32WLE5

    Hi guys,

    I tried to write a coustom flashloader for the stm32wle5 mcu and stuck at the point of write an erase and programming function. I follow the reference manual RM0461 (site 76) from ST to create a procedure for erasing.
    If I try to programm my board it stuck with the error Timeout while preparing target, core does not stop. (PC = 0x200000CE, XPSR = 0x81000000, SP = 0x20000660)! Failed to initialize RAMcode. But if I try to erase it with the J-Link commander I get same error: core does not stop ... Erase returened with error code -5.

    Has anyone an idea or some code snippets to fix this problem?
    Working with SEGGER Embedded Studio

    Best regards
  • Did you try the debug build of your project and step through it?
    Does that work?
    Please read the forum rules before posting.

    Keep in mind, this is *not* a support forum.
    Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
    Should you be entitled to support you can contact us via our support system: segger.com/ticket/

    Or you can contact us via e-mail.