How to reset the core CA5 only of MAC57D54(Halo)?

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

How to reset the core CA5 only of MAC57D54(Halo)?

655 次查看
hyacinth
Contributor II

Dear All,
Our dash board production is based on the MAC57D54(Halo).
Regrettably, the dash board run into abnormal state sporadically:
the core CM4 which run a freeRTOS as normal,

but the core CA5 which run a Linux  may enter a abnormal state like the linux kernel collapse,

and the dash board represent blurred screen full of snowflake.
In this malfunction,Linux do not respond to any request from UART.
The malfunction will disappeare after a POR.

微信图片_20230802111846.png


How can the malfunction occurred,
whether can I just  reset the core CA5 only of MAC57D54 and let CM4 run continuously?

0 项奖励
4 回复数

602 次查看
stanish
NXP Employee
NXP Employee

Hi,

I don't have a board to test but what about trying to attach to A5 core by jtag probe and change the program counter to A5 reset vector?

This does not perform real reset but perhaps it recovers from the faulty state.

stanish_0-1690978406462.png

Hope it helps.

Stan

标记 (1)
0 项奖励

491 次查看
Bio_TICFSL
NXP TechSupport
NXP TechSupport

(y)

0 项奖励

570 次查看
hyacinth
Contributor II
Thanks for your reply, Stan.

And is that means the core CA5 reset must be trigged by an external action(link the jtag tool)?

Can the triger source be voluntarily ?

like trigged by execute software program of CM4 after CM4 detect the faulty state ?
0 项奖励

482 次查看
stanish
NXP Employee
NXP Employee

Hi

If you want to reset A5 core by M4 core at runtime perhaps you could enable Software Watchdog peripheral for A5 - SWT1 and let the watchdog counter to expire - this should generate A5 reset request.

For more information about watchdog see the MCU reference manual - "Chapter 44
Software Watchdog Timer (SWT)"

Hope it helps.

Stan

0 项奖励