According to the chip change, runtime error 216 at 338A5D6

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

According to the chip change, runtime error 216 at 338A5D6

Jump to solution
1,402 Views
sukyeong
Contributor III

Hello, I get a runtime error after changing the chip..

We use a custom board using chips

RT1176DVMAA -> RT1176AVM8A

runtime error 216 at 338A5D6

 

What does this error mean?

and Are there any suspected problems?

 

thanks

0 Kudos
1 Solution
1,248 Views
sukyeong
Contributor III

hi, @jingpan 

After removing the resistor below the problem was resolved

 

Thank you for your help

 

sukyeong_0-1688625647948.png

 

View solution in original post

0 Kudos
11 Replies
1,384 Views
jingpan
NXP TechSupport
NXP TechSupport

Hi @sukyeong ,

Please give more detail of the problem.

On the chip there is a mask "P94B". Is both of the two chips masked "P94B"?

 

Regards,

Jing 

0 Kudos
1,378 Views
sukyeong
Contributor III

What is "P94B" ??
I only changed the chip on the board that I originally made myself, but when downloading, I get the same error as above.

@jingpan 

sukyeong_0-1688440963784.png

 

0 Kudos
1,362 Views
jingpan
NXP TechSupport
NXP TechSupport

Hi @sukyeong ,

There is two silicon version of RT1176DVMAA. "P94B" is print on the chip which means the second version.

Where is "runtime error 216 at 338A5D6"? I never see such information before.

 

Regards,

Jing

0 Kudos
1,358 Views
sukyeong
Contributor III

@jingpan 

 

both of the two chips masked "P94B".

 

The error has changed.

break at address "0x2230c8"

Error when debugging in MCUXpresso IDE.

 

sukyeong_0-1688450893537.png

 

 

0 Kudos
1,299 Views
sukyeong
Contributor III

An error occurs when loading the firmware.
Is there anything I need to set up in the IDE?

 

Please review, @jingpan 

0 Kudos
1,293 Views
jingpan
NXP TechSupport
NXP TechSupport

Hi @sukyeong ,

The picture shows M7 core stay at ROM code but not your application code. Please check

1. The boot pins  are config to internal boot mode;

2. Make sure the code has been download to flash;

3. RT1176AVM8A is 800M device, not 1G, have you decrease the clock frequency?

4. If the project is SRAM base, can it step into debug mode?

 

Regards,

Jing

 

0 Kudos
1,286 Views
sukyeong
Contributor III

hi, @jingpan 

Thanks for the quick reply

 

1. internal boot mode : yes

2. download to flash : yes

sukyeong_0-1688612167165.png

sukyeong_1-1688612190053.png

 

3. Can I tell where to lower the frequency clock?

 

 

 

 

 

0 Kudos
1,272 Views
sukyeong
Contributor III

Hi, @jingpan 

When I tried using J-TAG Commander, I noticed a difference.

I use core : MIMXRT1176XXXA_M7, JTAG mode, speed= 400k.

 

1. when using the mimxrt1176DVMAA, the PC and SP addresses were read by FlexSPI1.

2. The address was not read by the mimxrt1176AVM8A.

 

The current flash driver is MIMXRT1170_SFDP_QSPI.cfx, do I need to fix it?

 

sukyeong_0-1688619543679.png

 

 

0 Kudos
1,259 Views
jingpan
NXP TechSupport
NXP TechSupport

Hi @sukyeong ,

This flash driver also can be used on mimxrt1176AVM8A. Do you change the flash? If not, you needn't use other driver.

But I still concern about the flash downloading. Please try to use Secure Provsioning Tool or MCUBootUtility to connect the flash and download code to flash.

 

jingpan_0-1688621978314.png

 

 

Regards,

Jing

0 Kudos
1,251 Views
sukyeong
Contributor III

hi, @jingpan 

I'm also suspicious of flash..

It is currently configured to be loaded only with jtag.

Custom board is no uart or usb line, so it is impossible to connect using the tool..

Is there any other way?

0 Kudos
1,249 Views
sukyeong
Contributor III

hi, @jingpan 

After removing the resistor below the problem was resolved

 

Thank you for your help

 

sukyeong_0-1688625647948.png

 

0 Kudos