S32k144 command line for partition of dflash

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

S32k144 command line for partition of dflash

跳至解决方案
1,257 次查看
HyunungPark
Contributor III

Dear 

I know that the project must run from ram to use dflash.

So I made the project for dflash and I checked to work normally

But I have one issue.

I must do partition for our project. But I can't use to do partition with IAR in factory.

Could you please me help?

BRs

Hyunung Park

0 项奖励
回复
1 解答
1,244 次查看
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi Hyunung,
I’m not sure if I can understand the question but generally there are following options how to do the partitioning:
- Check if your programming tool in factory supports this directly.
- Check if your programming tool in factory supports scripting, so you could write a script which would write directly to MCU registers to execute partition command.
- Build a simple project which will do the partitioning. Load it to the MCU, run it and then load your app.
- Run the partition command during the first startup of the MCU. After reset, check if the partition is already set or not. If not, run the partition command from RAM. If the partition is already set, just skip this and run your app.
Regards,
Lukas

在原帖中查看解决方案

0 项奖励
回复
4 回复数
1,245 次查看
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi Hyunung,
I’m not sure if I can understand the question but generally there are following options how to do the partitioning:
- Check if your programming tool in factory supports this directly.
- Check if your programming tool in factory supports scripting, so you could write a script which would write directly to MCU registers to execute partition command.
- Build a simple project which will do the partitioning. Load it to the MCU, run it and then load your app.
- Run the partition command during the first startup of the MCU. After reset, check if the partition is already set or not. If not, run the partition command from RAM. If the partition is already set, just skip this and run your app.
Regards,
Lukas

0 项奖励
回复
1,212 次查看
HyunungPark
Contributor III

Hi,

In the case of the IAR tool, the new firmware is written normally to a device 

but In the case of the jFlashLite.exe tool, the new firmware doesn't write firmware.

This firmware is to do partition memory and this project runs from RAM to do partition for memory 

Please find the attached file.

What should I do to resolve this issue?

BRs.

Hyunung Park 

 

0 项奖励
回复
1,205 次查看
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi Hyunung,

this sounds like a question for Segger, please try to ask them for help.

Regards,

Lukas

0 项奖励
回复
1,232 次查看
HyunungPark
Contributor III

Hi lukaszadrapa

This issue is resolved.

Best Regards.

Hyunung Park

0 项奖励
回复