Modify Sct file in Keil5 program can not run

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Modify Sct file in Keil5 program can not run

Jump to solution
914 Views
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 Kudos
1 Solution
895 Views
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,

View solution in original post

2 Replies
874 Views
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 Kudos
896 Views
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,