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 "127.0.0.1" via 127.0.0.1. Connection from port "52032" to 6224
    Connection from "127.0.0.1" via 127.0.0.1. 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 :

    CMD>RE

    Initializing.
    Target has been RESET and is active.
    CMD>CM /Applications/Eclipse.app/Contents/Eclipse/plugins/com.pemicro.debug.gdbjtag.pne.expansion_4.4.1.201911122108/osx/gdi/P&E/supportFiles_ARM/ST/STM32H7/ST_STM32H743ZI_1x32x512k.arp

    Initializing.
    Initialized.

    ;version 1.07, 04/05/2019, Copyright 2018 P&E Microcomputer Systems, Inc. All rights reserved. www.pemicro.com [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
    Done.
    Programming sequency is : erase, blank check, program, and verify {default}
    CMD>VC
    Command is inactive for this .ARP file.
    VC is not implemented, falling back to VM

    CMD>VM

    Verifying.
    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
    CMD>EM

    Erasing.
    Module has been erased.
    CMD>PM

    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?




    Comments

    • 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?

      Thanks

      Steve

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