Debugging Issues When Using a Decoupled S32K344 as an S32K324

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

Debugging Issues When Using a Decoupled S32K344 as an S32K324

143件の閲覧回数
yanyanwang
Contributor I

After the decoupling process, the S32K344 is equivalent to the S32K324. I created a dual-core project based on the S32K324, which contains two projects corresponding to Core 0 and Core 1. However, during debugging, even when using independent (per-core) debugging, I am only able to successfully debug Core 0, while Core 1 cannot be connected or debugged. Could you please advise on the possible reasons for this behavior?

0 件の賞賛
返信
1 返信

44件の閲覧回数
petervlna
NXP TechSupport
NXP TechSupport

Hello,

Once you verify the core 1 is released from reset it should be accessible by debugger if no further protection was applied.

  • Test A (Attach sequence):
    Start a Core0 debug session first, run to the point where your code releases Core1, then attach a second debug session to Core1 (selecting Cortex‑M7_1 in your probe). If this works, the issue is likely bring‑up order or attach mode

  • Test B (Minimal Core1 image):
    Flash a trivial Core1 firmware (just loops); ensure Core0 sets the start address and releases Core1. If Core1 attaches now, the problem is in Core1 init or watchdog.

  • Test C (Under‑reset attach to Core1): if apply to your debugger.
    Try “connect under reset” for Core1, then immediately halt and inspect PC/VTOR to confirm the vector table address is valid. If VTOR points nowhere, fix the linker/ROM location

Best regards,

Peter

0 件の賞賛
返信
%3CLINGO-SUB%20id%3D%22lingo-sub-2295409%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%E5%88%86%E9%9B%A2%E3%81%95%E3%82%8C%E3%81%9FS32K344%E3%82%92S32K324%E3%81%A8%E3%81%97%E3%81%A6%E4%BD%BF%E7%94%A8%E3%81%99%E3%82%8B%E5%A0%B4%E5%90%88%E3%81%AE%E3%83%87%E3%83%90%E3%83%83%E3%82%B0%E5%95%8F%E9%A1%8C%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2295409%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%3CSPAN%3E%E3%83%87%E3%82%AB%E3%83%83%E3%83%97%E3%83%AA%E3%83%B3%E3%82%B0%E3%83%97%E3%83%AD%E3%82%BB%E3%82%B9%E5%BE%8C%E3%80%81S32K344%20%E3%81%AF%20S32K324%20%E3%81%A8%E5%90%8C%E7%AD%89%E3%81%AB%E3%81%AA%E3%82%8A%E3%81%BE%E3%81%99%E3%80%82S32K324%20%E3%82%92%E3%83%99%E3%83%BC%E3%82%B9%E3%81%AB%E3%81%97%E3%81%9F%E3%83%87%E3%83%A5%E3%82%A2%E3%83%AB%20%E3%82%B3%E3%82%A2%20%E3%83%97%E3%83%AD%E3%82%B8%E3%82%A7%E3%82%AF%E3%83%88%E3%82%92%E4%BD%9C%E6%88%90%E3%81%97%E3%81%BE%E3%81%97%E3%81%9F%E3%80%82%E3%81%93%E3%81%AE%E3%83%97%E3%83%AD%E3%82%B8%E3%82%A7%E3%82%AF%E3%83%88%E3%81%AB%E3%81%AF%E3%80%81Core%200%20%E3%81%A8%20Core%201%20%E3%81%AB%E5%AF%BE%E5%BF%9C%E3%81%99%E3%82%8B%202%20%E3%81%A4%E3%81%AE%E3%83%97%E3%83%AD%E3%82%B8%E3%82%A7%E3%82%AF%E3%83%88%E3%81%8C%E5%90%AB%E3%81%BE%E3%82%8C%E3%81%A6%E3%81%84%E3%81%BE%E3%81%99%E3%80%82%E3%81%9F%E3%81%A0%E3%81%97%E3%80%81%E3%83%87%E3%83%90%E3%83%83%E3%82%B0%E4%B8%AD%E3%81%AB%E3%80%81%E7%8B%AC%E7%AB%8B%E3%81%97%E3%81%9F%20(%E3%82%B3%E3%82%A2%E3%81%94%E3%81%A8%E3%81%AE)%20%E3%83%87%E3%83%90%E3%83%83%E3%82%B0%E3%82%92%E4%BD%BF%E7%94%A8%E3%81%97%E3%81%A6%E3%81%84%E3%82%8B%E5%A0%B4%E5%90%88%E3%81%A7%E3%82%82%E3%80%81Core%200%20%E3%81%AE%E3%81%BF%E3%82%92%E6%AD%A3%E5%B8%B8%E3%81%AB%E3%83%87%E3%83%90%E3%83%83%E3%82%B0%E3%81%A7%E3%81%8D%E3%80%81Core%201%20%E3%81%AF%E3%82%B3%E3%83%8D%E3%82%AF%E3%83%86%E3%83%83%E3%83%89%E3%81%BE%E3%81%9F%E3%81%AF%E3%83%87%E3%83%90%E3%83%83%E3%82%B0%E3%81%A7%E3%81%8D%E3%81%BE%E3%81%9B%E3%82%93%E3%80%82%E3%81%93%E3%81%AE%E5%8B%95%E4%BD%9C%E3%81%AE%E8%80%83%E3%81%88%E3%82%89%E3%82%8C%E3%82%8B%E7%90%86%E7%94%B1%E3%81%AB%E3%81%A4%E3%81%84%E3%81%A6%E3%82%A2%E3%83%89%E3%83%90%E3%82%A4%E3%82%B9%E3%82%92%E3%81%84%E3%81%9F%E3%81%A0%E3%81%91%E3%81%BE%E3%81%99%E3%81%8B%3F%20%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E