[ABANDONED] J-Link GDB Server for iMX7D M4 Debugging

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

  • [ABANDONED] J-Link GDB Server for iMX7D M4 Debugging

    HI,

    I am able to execute the instructions in the link below to run NXP FreeRTOS blinking LED demo app on a NXP iMX7D Sabre board.
    I stopped the Sabre board after UBoot but before Linux was loaded. Then I followed the given instructions. It works and I can see messages on the M2 console.

    wiki.segger.com/IMX7D


    Instead of loading the bin file, I would like to load an elf file from a GDB client.

    I have used the following commands to run JLink GDB server after running start_CortexA7_0.bat first.


    JLinkGDBServerCL.exe -rtos GDBServer\RTOSPlugin_FreeRTOS -device CORTEX-M4 -if JTAG -speed 1000 -noir -nohalt -endian little -nolocalhostonly -jtagconf 4,2 -scriptfile iMX7D_Connect_CortexM4.JLinkScript

    I then ran a GDB client and was able to connect to the JLink GDB server. I used the load command to load the blinking demo elf file. After that I entered "c" in GDB client to start the blinking LED app. But nothing was showed on the M4 console.
    Please help.
    Thanks.
  • Hi,


    After that I entered "c" in GDB client to start the blinking LED app. But nothing was showed on the M4 console.

    Do the LEDs blink?
    What are you referring to with "M4 console"?


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

    Or you can contact us via e-mail.