imxrt1170 use jtag to load only .axf files

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

imxrt1170 use jtag to load only .axf files

Jump to solution
2,034 Views
sukyeong
Contributor III

use imxrt1170-evk 

 

1. I want to use jtag to load only .axf files.

 

i try MCUBOOTUtility and Secure Provisioning Tool.

But, tools doesn't seem to have jtag loading.

When I used that tool to load to USB, I succeeded.

 

so how can i slove this problem?

 

2. An error is generated when trying several times program build situation

region `SRAM_DTC_cm7' overflowed by 165744 bytes

Memory region Used Size Region Size %age Used
BOARD_FLASH: 0 GB 16 MB 0.00%
SRAM_DTC_cm7: 427888 B 256 KB 163.23%
SRAM_ITC_cm7: 0 GB 256 KB 0.00%
SRAM_OC1: 0 GB 512 KB 0.00%

...

make[1]: *** [makefile:69: TEST.axf] Error 1
make: *** [makefile:60: all] Error 2

What needs to be fixed???

 

0 Kudos
Reply
1 Solution
1,974 Views
Pavel_Hernandez
NXP TechSupport
NXP TechSupport

Hello, thanks for your information, I found this thread Using J-Link with MIMXRT1160-EVK or MIMXRT1170-EVK - NXP Community please follow the instructions.

Then download the J-Link Commander. [J-Link Commander (segger.com)] and follow this command.

connect
?

Then this popup window appears to select your target device RT1176xxx [example image].

Pavel_Hernandez_1-1678921146441.png

In the next options click enter, which will be for interface and speed.

If all is right, you cand try the next command to upload the .bin as a test communication.

loadfile C:\Debugin\example.bin

You need to replace the root.

Best regards,
Pavel

 

 

 

 

View solution in original post

10 Replies
2,020 Views
Pavel_Hernandez
NXP TechSupport
NXP TechSupport

Hello, my name is Pavel, and I will be supporting your case, I review your information and I did a test.

The .axf is supported by the tool.

Pavel_Hernandez_0-1678738056356.png

Let me know if the issue persists and elaborate further about your issue.

Best regards,
Pavel

 

0 Kudos
Reply
2,014 Views
sukyeong
Contributor III

I want to turn on the power without connecting J11 (usb) and insert the firmware using only the JTAG (J1) part.

0 Kudos
Reply
2,006 Views
Pavel_Hernandez
NXP TechSupport
NXP TechSupport

Hello, are you using the EVK? if yes maybe the MIMXRT1170 EVK Board Hardware User’s Guide could help you, please review chapter 2.12, then could you upload an image about your setup? and tell me, what kind of debugger you are using?

Best regards,
Pavel

0 Kudos
Reply
1,997 Views
sukyeong
Contributor III

hello,

i review chapter 2.12, remove R187, R208, R195 and R78 is right?

i try this setting, and J38(1-2), SW1(10-Internal BOOT)

An error occurs when trying to debug as segger with the MCUXpressoIDE also...


I use J-Link Base Segger debugger.

For reference, I am using the IMXRT1170-EVK-PXP example linked with Embedded Wizard.

GPIO_LPSR_13(JTAG_MOD) is need to pull-up??

0 Kudos
Reply
1,990 Views
Pavel_Hernandez
NXP TechSupport
NXP TechSupport

Hello, thanks for being clear, I review your information seems good, you mentioned you are using the J-Link and the image was for LPCLinkServer, could you share an image about your setup? to review how you are connected between the RT and the debug probe.

Best regards,
Pavel

0 Kudos
Reply
1,987 Views
sukyeong
Contributor III

mimxrt-1170-evkmimxrt-1170-evk

-> i remove R187, R208, R195, R78

 

shut down error image

캡처2.PNG

 

JLink debug configuration

캡처3.PNG

0 Kudos
Reply
1,975 Views
Pavel_Hernandez
NXP TechSupport
NXP TechSupport

Hello, thanks for your information, I found this thread Using J-Link with MIMXRT1160-EVK or MIMXRT1170-EVK - NXP Community please follow the instructions.

Then download the J-Link Commander. [J-Link Commander (segger.com)] and follow this command.

connect
?

Then this popup window appears to select your target device RT1176xxx [example image].

Pavel_Hernandez_1-1678921146441.png

In the next options click enter, which will be for interface and speed.

If all is right, you cand try the next command to upload the .bin as a test communication.

loadfile C:\Debugin\example.bin

You need to replace the root.

Best regards,
Pavel

 

 

 

 

1,972 Views
sukyeong
Contributor III

thanks i didn't think of that

0 Kudos
Reply
1,957 Views
sukyeong
Contributor III

i have a problem...

target interface : swd

other option is default mode

 

sukyeong_0-1678946082798.png

 

after loadfile , firmware not change.. 

Is there anything else I need to do, such as verify?

 

Tags (1)
0 Kudos
Reply
1,941 Views
Pavel_Hernandez
NXP TechSupport
NXP TechSupport

Hello, in the menu appears 3 options JTAG, SWD and etc. you must select the JTAG option.

Best regards,
Pavel

0 Kudos
Reply