Modify Sct file in Keil5 program can not run

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

Modify Sct file in Keil5 program can not run

ソリューションへジャンプ
1,833件の閲覧回数
Ivan6
Contributor II

Hi,all

I try to migrate the Unified bootloader in keil5. The mcu is s32k144.

In the App project, change the sct file to rearrange the flash, the program can not run.

Start from 0x00000000, it's running normally.

Ivan6_0-1651907339476.png

Before new project download, used J-flash erase all chip prevent program in flash(0x00000000) run.

Start form 0x00014200 ,keil5 can not running, jlink error window pops up directly, cilk confirm button quite debug mode.

Ivan6_1-1651907664807.png

Ivan6_2-1651907979900.pngIvan6_3-1651908030207.png

 

 

 

0 件の賞賛
返信
1 解決策
1,814件の閲覧回数
Senlent
NXP TechSupport
NXP TechSupport

Hi@lvan6

This should be no problem, in this case you can't debug the APP program because the starting address of the program has been modified and the APP is not running. You need to jump to the start address of the APP in the Bootloader program, so that the program can run correctly.

In addition, this setting should be invalid, you have not enabled it, and secondly, you have modified the sct file, and you do not need to modify this option again.

Senlent_0-1652064249377.png

BR!

     Jim,

元の投稿で解決策を見る

2 返答(返信)
1,793件の閲覧回数
Ivan6
Contributor II

The problem solved, unified bootloader uesd s32ds,App used keil5, jump sucess,running ok.

The same App project(modify startup address)can debug in s32ds, keil5 not.

Thanks Senlent.

0 件の賞賛
返信
1,815件の閲覧回数
Senlent
NXP TechSupport
NXP TechSupport

Hi@lvan6

This should be no problem, in this case you can't debug the APP program because the starting address of the program has been modified and the APP is not running. You need to jump to the start address of the APP in the Bootloader program, so that the program can run correctly.

In addition, this setting should be invalid, you have not enabled it, and secondly, you have modified the sct file, and you do not need to modify this option again.

Senlent_0-1652064249377.png

BR!

     Jim,