[SOLVED] STM32 F7 Factory Reset

  • I have a board with an STM32F746 that was working fine with my JLINK. I used the STM32 Unlock tool, and selected the F4 family (since there is no F7), and now when I try to debug in IAR, I get an error message "Execution failure in flash loader". No settings have changed since it was working, so I know the flash loader is good (it's the default in IAR 7.50). Any ideas?

  • Hi,


    the STM32-Unlock Utility does not support STM32F7 devices yet.
    We plan to release an updated version within a future release of the J-Link software & documentation pack .

    Until then i can only suggest to look up the unlock procedure in the documentation provided by ST and execute the required steps with a tool of your choice, e.g J-Link Commander(jlink.exe).


    Best regards,
    Niklas

    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: https://www.segger.com/ticket/

    Or you can contact us via e-mail.

  • Chapter 3.4.2 option bytes programming in the STM32F7 reference manual:
    http://www.st.com/web/en/resourc…/DM00124865.pdf

    - Erik

    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: https://www.segger.com/ticket/

    Or you can contact us via e-mail.

  • Hi Tim,

    The latest version of the STM32 unlock utility, which is included in the latest software and documentation package V5.10j, comes with support for STM32F7.
    Can you please download it, give it a quick try and provide feedback?


    Best regards
    Erik

    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: https://www.segger.com/ticket/

    Or you can contact us via e-mail.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!