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
Solved! Go to Solution.
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
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.
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
both of the two chips masked "P94B".
The error has changed.
break at address "0x2230c8"
Error when debugging in MCUXpresso IDE.
An error occurs when loading the firmware.
Is there anything I need to set up in the IDE?
Please review, @jingpan
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
hi, @jingpan
Thanks for the quick reply
1. internal boot mode : yes
2. download to flash : yes
3. Can I tell where to lower the frequency clock?
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?
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.
Regards,
Jing
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?