Difference between revisions of "Flasher/Renesas DLM"
Jan.Cleuvers (talk | contribs) (Created page with "This article explains how to set up a project for Renesas RA Device Lifecycle Management (DLM) programming. __TOC__ = Projects = It is necessary to create multiple projects f...") |
Jan.Cleuvers (talk | contribs) |
||
Line 5: | Line 5: | ||
It is necessary to create multiple projects for Renesas RA Device Lifecycle Management (DLM) programming.<br> |
It is necessary to create multiple projects for Renesas RA Device Lifecycle Management (DLM) programming.<br> |
||
So that the projects do not have to be executed individually, they can be combined and automatically executed one after the other with the help of the Batch Composer.<br> |
So that the projects do not have to be executed individually, they can be combined and automatically executed one after the other with the help of the Batch Composer.<br> |
||
− | |||
− | == Programming project == |
||
− | This project is used to progam the flash memory. |
||
− | #Open J-Flash and select your device |
||
− | #Configure the J-Flash project to your liking |
||
− | #Open your data file in J-Flash |
||
− | #Save the J-Flash project |
||
== Inititialization project == |
== Inititialization project == |
||
Line 24: | Line 17: | ||
#*Select <i>File->Save project as...</i> from the menu and save the project |
#*Select <i>File->Save project as...</i> from the menu and save the project |
||
{{Note|You do not need to select a data file for this project.<br>If no data file is selected, a dummy file will be created on the Flasher to satisfy generic requirements.<br>If you select a data file, it will be downloaded to the Flasher, but it will <b>not</b> be used for programming.<br>}} |
{{Note|You do not need to select a data file for this project.<br>If no data file is selected, a dummy file will be created on the Flasher to satisfy generic requirements.<br>If you select a data file, it will be downloaded to the Flasher, but it will <b>not</b> be used for programming.<br>}} |
||
+ | |||
+ | == Programming project == |
||
+ | This project is used to progam the flash memory. |
||
+ | #Open J-Flash and select your device |
||
+ | #Configure the J-Flash project to your liking |
||
+ | #Open your data file in J-Flash |
||
+ | #Save the J-Flash project |
||
== Key injection, TrustZone boundary setting == |
== Key injection, TrustZone boundary setting == |
Revision as of 10:50, 14 February 2023
This article explains how to set up a project for Renesas RA Device Lifecycle Management (DLM) programming.
Contents
Projects
It is necessary to create multiple projects for Renesas RA Device Lifecycle Management (DLM) programming.
So that the projects do not have to be executed individually, they can be combined and automatically executed one after the other with the help of the Batch Composer.
Inititialization project
This project is used to initialize the device.
- Open U-Flash and select the required RA device.
- Select Configure->Project Settings(Alt+F7) from the menu
- Select your exact device
- Select Send INITIALIZE
- Select Set DLM Option and set TargetDLMState to SSD
- Click OK
- Select File->Save project as... from the menu and save the project
You do not need to select a data file for this project.
If no data file is selected, a dummy file will be created on the Flasher to satisfy generic requirements.
If you select a data file, it will be downloaded to the Flasher, but it will not be used for programming.
Programming project
This project is used to progam the flash memory.
- Open J-Flash and select your device
- Configure the J-Flash project to your liking
- Open your data file in J-Flash
- Save the J-Flash project
Key injection, TrustZone boundary setting
This project is used to inject DLM- and user keys (if required) and to set the boundary settings.
- Select Configure->Project Settings(Alt+F7) from the menu
- TrustZone boundaries setting. These can be set manually or by importing a .rpd file output from e2 studio build phase or other toolchains.
- DLM key injection. Select pre-generated key files for required fields.
- User key injection. Select pre-generated User key and target address. If multiple User keys are required separate Universal Flasher sub projects will be required
- Set a unique name in Config File Name
All paths to keys are saved as absolute paths in the project to ensure the correct files are used from a source repository etc.
- It is also possible to Disable Initialize in the dialog
Care should be taken when disabling Initialize as the tooling will not be able to return the device back to factory defaults.
- Select File->Save project as... from the menu and save the project
It is important not to leave the Config File Name as default as this will conflict with other Universal Flasher projects in the Batch composer and cause production sequence to fail
Set final DLM state
This project is used to set the final DLM state.
- Select Configure->Project Settings(Alt+F7) from the menu
- Set the final required DLM state
- Set a unique name in Config File Name
- Select File->Save project as... from the menu and save the project
Add the projects to the batch composer
- Open the batch composer by clicking the "<" button
- Click the Add button and select the init project you created before
- Click the Add button and select the programming (.jflash) project you created before
- Click the Add button and select the Key injection, TrustZone boundary setting project(s)
- Click the Add button and select the Set final DLM state project
You can now download the configuration to the Flasher by clicking the Download configuration to flasher button.
You can also save this configuration as a new project including the batch composer entries, so you can reopen it.
For further information about RA Device Lifecycle Management, keys & TrustZone boundary options please contact Renesas directly.