What makes a program jump to DefaultISR in debug mode without going through initialization?

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

What makes a program jump to DefaultISR in debug mode without going through initialization?

2,522件の閲覧回数
TanTianLong
Contributor I

What makes a program jump to DefaultISR in debug mode without going through initialization?

0 件の賞賛
返信
7 返答(返信)

2,497件の閲覧回数
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi

First, I suggest you look at the several situations mentioned in Fault handling on S32K14x.
In addition, have you disable the watchdog? The S32K1 SDK disabled the watchdog by default.

S32K1 SDK SystemInit DISABLE_WDOG.png
Have you tried the newer S32K1 SDK 4.0.3 + S32DS v3.4 or S32K1 RTD 2.0.x + S32DS v3.5?

If it is convenient, please send me the project that can reproduce the problem for testing.

Best Regards,
Robin

0 件の賞賛
返信

2,455件の閲覧回数
TanTianLong
Contributor I

When my program jumps from bootloader to this app program, the program enters defaultISR, I find the CFSR register, all values are 0, I don't know what error is caused

After my program stopped at DefaultISR, I open the "Disassembly" window and see that it's parked hereAfter my program stopped at DefaultISR, I open the "Disassembly" window and see that it's parked heredefaultISRProblem2.png

0 件の賞賛
返信

2,474件の閲覧回数
TanTianLong
Contributor I

Hi,@Robin_Shen

I used s32ds 2.2+RTM3.0 before, but I downloaded S32DS 3.4+RTM4.0, and there were some problems when compiling the program. I configured the peripherals and pins using software before, do I need to reconfigure now?

s32ds3.4Problem1.pngs32ds3.4Problem2.png

0 件の賞賛
返信

2,454件の閲覧回数
Robin_Shen
NXP TechSupport
NXP TechSupport

Using S32K1 SDK 3.0.x projects in S32DS v3.4 will encounter errors. Have a look at Video: Migrating S32K1 projects from S32DS for ARM and SDK 3.0.x to S32DS 3.4 and SDK 4.0.2

0 件の賞賛
返信

2,089件の閲覧回数
mstroven
Contributor III

Does NXP provide *ANY* working combination of S32DS and SDK 4?  From what I've seen, there are about 1000 combinations of software that flat out don't work for developing S32K146 software.  

0 件の賞賛
返信

2,073件の閲覧回数
Robin_Shen
NXP TechSupport
NXP TechSupport
It is recommended to install S32K1 RTD 2.0.x with S32DS Extensions and Updates in S32DS v3.5.  If the online installation fails, please refer to HOWTO: offline install S32K1 RTD 2.0.0 in S32DS v3.5
 
Or install S32K1 SDK RTM 4.0.3 with S32DS Extensions and Updates in S32DS v3.4.
It is not recommended to install S32K1 SDK 4.0.x in S32DS v3.5According to the currently available information, we don’t have any plan to integrate S32SDK S32K1XX 4.0.x into S32DS 3.5 or above version.
0 件の賞賛
返信

2,443件の閲覧回数
TanTianLong
Contributor I

 

Hi @Robin_Shen

I followed the steps in the video, but nothing changed after opening the config

s32ds3.4ProblemMigrate1.pngs32ds3.4ProblemMigrate2.png

0 件の賞賛
返信