Bootloader Code Failing in D-Flash Region on S32K118

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

Bootloader Code Failing in D-Flash Region on S32K118

1,093件の閲覧回数
Arunpk
Contributor II

Hi Team,

I'm facing an issue while running the bootloader code from the D-Flash region on the S32K118. When I run the code, it unexpectedly jumps to the DefaultISR, and I’m unable to identify the root cause.

The same code works fine when the linker script is configured to run from P-Flash, so the issue seems specific to executing from D-Flash.

Here are some observations:

  • While waiting for data via UART (using blocking mode with 0xFFFFFFFF timeout or polling), the code proceeds to the next step even if no data is received from the host (I confirmed this by testing without any physical UART connection).

  • I suspect this could be contributing to the problem, but even when UART functionality is disabled, the code still enters DefaultISR.

  • Occasionally, the system crashes when trying to write new firmware into P-Flash.

  • Debugging is also difficult as I’m using -O1 optimization, which might be causing the debug view to behave unpredictably. when I try with -O0 also it jumps to DefaultISR.

This is a high-priority issue, and I would appreciate your help in identifying possible causes and providing a solution at the earliest.

Thank you.

タグ(1)
0 件の賞賛
返信
3 返答(返信)

1,071件の閲覧回数
Senlent
NXP TechSupport
NXP TechSupport

Hi@Arunpk

Please provide your project that can reproduce the problem.

And i will take some time to help you troubleshoot the root cause.

 

0 件の賞賛
返信

1,057件の閲覧回数
Arunpk
Contributor II
Please share your email ID so I can send the project.
0 件の賞賛
返信

1,056件の閲覧回数
Senlent
NXP TechSupport
NXP TechSupport

Hi@Arunpk

You can send me a private message, or reply to me directly in your another case 00706554.

0 件の賞賛
返信