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
Solved! Go to Solution.
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
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
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
Hi Hyunung,
this sounds like a question for Segger, please try to ask them for help.
Regards,
Lukas
Hi lukaszadrapa
This issue is resolved.
Best Regards.
Hyunung Park