imxrt1170 use jtag to load only .axf files

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

imxrt1170 use jtag to load only .axf files

ソリューションへジャンプ
3,248件の閲覧回数
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 件の賞賛
返信
1 解決策
3,188件の閲覧回数
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

 

 

 

 

元の投稿で解決策を見る

10 返答(返信)
3,234件の閲覧回数
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 件の賞賛
返信
3,228件の閲覧回数
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 件の賞賛
返信
3,220件の閲覧回数
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 件の賞賛
返信
3,211件の閲覧回数
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 件の賞賛
返信
3,204件の閲覧回数
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 件の賞賛
返信
3,201件の閲覧回数
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 件の賞賛
返信
3,189件の閲覧回数
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

 

 

 

 

3,186件の閲覧回数
sukyeong
Contributor III

thanks i didn't think of that

0 件の賞賛
返信
3,171件の閲覧回数
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?

 

タグ(1)
0 件の賞賛
返信
3,155件の閲覧回数
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 件の賞賛
返信