Cart New Account Login

HomeAbout usProductsSupportForumsBlogCustomer Service

search inside this forum
search inside all forums
Problem flashing STM32H743ZI with Multilink FX
Marden M. Nov 21, 2019 at 11:12 AM (11:12 hours)
Staff: Steve M.

  • I have been successfully using a Multilink FX on a NXP RT1064 with no problems but have recently moved over to a STM32H743ZI and am unable to flash the chip. This is with a new NUCLEO-H743ZI2 board with the Multilink connected via the MPI10 connector. This is the output from the pegdbserver_console (Yes, I'm doing all of this from within Eclipse):

    Connection from "" via Connection from port "52032" to 6224
    Connection from "" via Connection from port "52033" to 7224
    Searching for FreeRTOS Kernel Symbols...
    rsp_qC - qSymbol: 707843757272656E74544342
    pxCurrentTCB not found. FreeRTOS analysis not enabled.
    Copyright 2018 P&E Microcomputer Systems,Inc.
    Command Line :


    Target has been RESET and is active.
    CMD>CM /Applications/


    ;version 1.07, 04/05/2019, Copyright 2018 P&E Microcomputer Systems, Inc. All rights reserved. [STM32H74xxI]

    ;device ST, STM32H743ZI, 1x32x512k

    ;begin_cs device=$08000000, length=$00200000, ram=$20000000

    Loading programming algorithm ...

    WARNING - Selected .ARP file has been modified. CRC16 = $CDD2
    Programming sequency is : erase, blank check, program, and verify {default}
    Command is inactive for this .ARP file.
    VC is not implemented, falling back to VM


    Verify error at address $08000004.
    Byte in module is $D5 and should be $1D.
    Current content of flash does not match application to be programmed

    Module has been erased.

    Programming and Verifying.
    Processing Object File Data ...

    Error! Last command failed.
    Error Programming flash of device
    Error occured during Flash programming.

    PEmicro GDB Launch Failure : Error during flash programming. Terminating debug session.

    PE-ERROR: GDB Client Processing : Exception Occured : PROGRAM EXCEPTION! EXCEPTION CLASS: EACCESSVIOLATION MESSAGE: ADDRESS 0X0000000101891670 $0000000101891670 $00000001048AF107 $00000001048A0495 $0000000104872BF1 $0000000104875D61 $000000010481A826 $000000010C58875D $00007FFF6ABB3446 $00007FFF6ABB371C $0000000100022085 $000000010008025B $00000001000895A6 $00000001000DCA28
    PE-ERROR: GDB Client Processing : Exception Occured : PROGRAM EXCEPTION! EXCEPTION CLASS: EACCESSVIOLATION MESSAGE: ADDRESS 0X0000000000000000 $0000000000000000 $0000000100089836 $00000001000DCA28

    If I first flash the part with a SEGGER probe and then switch to the Multilink, the Multilink sees that the FLASH image is correct and skips over the flashing phase. Then the debug session is able to start. Single stepping, breakpoints, etc work. But semihosting appears to lock up the debugger.

    Any suggestions of things to try?


    • Hello,

      We have developed a new algorithm for the STM32H7 parts. Could you set up a Support Request through our website so that we can send this algorithm to you and see if you receive better results?



Add comment

   Want to comment? Please login or create a new PEmicro account.

© 2020 P&E Microcomputer Systems Inc.
Website Terms of Use and Sales Agreement