debug console from COM7 did not show message when loading hello_world sample image

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

debug console from COM7 did not show message when loading hello_world sample image

1,338 Views
weiqifan1
Contributor I

board is mimxrt1180_evk.

I cannot find JP5 from the board.

Debug console (connected thru J53, COM7 in windows11 pc) does not show any message when testing with hello_world sample image.

But gdb showes my simple code changes in the source file.

Please adivse ASAP, thanks!

Labels (1)
0 Kudos
Reply
7 Replies

1,301 Views
weiqifan1
Contributor I

hi Gavin, 

Another question is I was not able to flash image for CM7.

The error message of west flash is,

 
 

(.venv) C:\Users\SESA467541\zephyrproject\zephyr>west flash
-- west flash: rebuilding
ninja: no work to do.
-- west flash: using runner linkserver
RUNNER - gdb_port = 3333, semih port = 8888
-- runners.linkserver: LinkServer: C:\nxp\LinkServer_24.12.21\Linkserver.exe, version v24.12.21
INFO: Exact match for MIMXRT1189xxxxx:MIMXRT1180-EVK found
INFO: Selected device MIMXRT1189xxxxx:MIMXRT1180-EVK
INFO: Getting available probes
INFO: Selecting probe by index
INFO: Selected probe #1 J0QO1CXVBA1IL (MCU-LINK on-board (r0E2) CMSIS-DAP V3.153)
INFO: MCU-Link firmware update `check`: Probe ([J0QO1CXVBA1IL] [MCU-LINK on-board (r0E2) CMSIS-DAP V3.153]) is already running the same firmware version as the included firmware version [3.153]
CRITICAL: Critical error
ERRMSG: Exception: Flash operation exited with code 1
FATAL ERROR: command exited with status 4294967295: 'C:\nxp\LinkServer_24.12.21\Linkserver.exe' flash --probe '#1' MIMXRT1189xxxxx:MIMXRT1180-EVK load --addr 0 'C:\Users\SESA467541\zephyrproject\zephyr\build\zephyr\zephyr.bin'

Please advise!

 

 

0 Kudos
Reply

1,320 Views
weiqifan1
Contributor I

Thanks Gavin for your advice. Following your direction, I found JP5 location, it is not soldered.

May I know what jumper to be checked to find out why UART connection does not work?

thanks and best regards,

Dehong

0 Kudos
Reply

1,310 Views
Gavin_Jia
NXP TechSupport
NXP TechSupport

Hi @weiqifan1 ,

Thanks for your feedback.

First, it is recommended that you start with this example: hello_world_demo_cm33

Because the main core of RT1180 is CM33. Also, I attach my board photo for your reference, please check it. 

 

Best regards,
Gavin

 

 

 

0 Kudos
Reply

1,304 Views
weiqifan1
Contributor I

hi Gavin,

Is your board mimxrt1180_evk? 

I observed some difference with my board in the right side.

0 Kudos
Reply

1,298 Views
weiqifan1
Contributor I

Sorry just aware my board is X-MIMXRT1180-EVK, does it affect UART communication?

May I know if you have tried this board?

Thanks and best regards,

Dehong

0 Kudos
Reply

1,281 Views
Gavin_Jia
NXP TechSupport
NXP TechSupport

Hi @weiqifan1 ,

Sorry I don't have the same board as yours on hand.

It is also important to note that the RT1180's boot core is CM33 instead of CM7. If you want to change it, you need to burn the relevant efuse. This is an irreversible process and may affect the performance of the MCU depending on your application.

Bests,
Gavin

0 Kudos
Reply

1,319 Views
Gavin_Jia
NXP TechSupport
NXP TechSupport

Hi @weiqifan1 ,

Thanks for your interest in NXP MIMXRT series!

J56 is a 2x5 header, which is on the left side of the dial switch SW5. JP5 is directly below J56, it is a 1x2 header.

About your code successfully flashed but without log message, it should be uart connection problem. Please check if the default jumper has been modified.

Best regards,
Gavin

 

0 Kudos
Reply