i.mx6q instructions failure

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

i.mx6q instructions failure

606 次查看
vladimirlegosta
Contributor I

Hello!

One of our custom boards did not started as expected when first turned on.
When jtag was connected, it was found that some CPU instructions were not working correctly.
Here is the result of the simplest test performed on the operating and non-working boards

(in u-boot, start.S, after save_boot_params ).

good imx6bad imx6
instructionregvalueregvalue
r00x4 (Hex)r00x4 (Hex)
r10xd500 (Hex)r10xd500 (Hex)
r20x900000 (Hex)r20x900000 (Hex)
r30x800 (Hex)r30x800 (Hex)
r40x0 (Hex)r40x0 (Hex)
mov r0, #0r00x0 (Hex)r00x0 (Hex)
r10xd500 (Hex)r10xd500 (Hex)
r20x900000 (Hex)r20x900000 (Hex)
r30x800 (Hex)r30x800 (Hex)
r40x0 (Hex)r40x0 (Hex)
ldr r4, =0xFFFFFFFFr00x0 (Hex)r00x0 (Hex)
r10xd500 (Hex)r10xd500 (Hex)
r20x900000 (Hex)r20x900000 (Hex)
r30x800 (Hex)r30x800 (Hex)
r40xffffffff (Hex)r40xffffffff (Hex)
ldr r1, =0x55555555r00x0 (Hex)r00xe1810400 (Hex)
r10x55555555 (Hex)r10xd500 (Hex)
r20x900000 (Hex)r20x900000 (Hex)
r30x800 (Hex)r30x800 (Hex)
r40xffffffff (Hex)r40xffffffff (Hex)
ldr r2, =0xAAAAAAAAr00x0 (Hex)r00xe1810400 (Hex)
r10x55555555 (Hex)r10xd500 (Hex)
r20xaaaaaaaa (Hex)r20xaaaaaaaa (Hex)
r30x800 (Hex)r30x800 (Hex)
r40xffffffff (Hex)r40xffffffff (Hex)
orr r3, r1, r2r00x0 (Hex)r00x8104d500 (Hex)
r10x55555555 (Hex)r10xd500 (Hex)
r20xaaaaaaaa (Hex)r20xaaaaaaaa (Hex)
r30xffffffff (Hex)r30x800 (Hex)
r40xffffffff (Hex)r40xffffffff (Hex)
and r4, r1, r2r00x0 (Hex)r00x8104d500 (Hex)
r10x55555555 (Hex)r10xd500 (Hex)
r20xaaaaaaaa (Hex)r20xaaaaaaaa (Hex)
r30xffffffff (Hex)r30x800 (Hex)
r40x0 (Hex)r40x8000 (Hex)

Tell me, can such behavior be related to
1. CPU failure
2. Board defects
3. something else
?

Thank You!

标签 (1)
0 项奖励
回复
1 回复

515 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Vladimir

one can check if processor power supplies are within allowable range using datasheet

i.MX 6Quad Applications Processors | Quad Arm® Cortex®-A9 |NXP 

and i.MX6 System Development User’s Guide

https://www.nxp.com/docs/en/user-guide/IMX6DQ6SDLHDG.pdf

Try with other jatg debugger or script.

Bring up i.MX6 via JTAG 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复