i want to use the virtual eeprom on a RA2E1. In principal this mechanism is working and i can write and read the record IDs. During production of the board i want to be able to program the initial content of this rec id. Is there any documentation or example how to build the binary file of the memory address starting from 0x40100000.
Then the .bin file should program the data flash with data that can be used from VEEPROM drivers (segment header, initial record, reference data).
The way of programming the data flash would be the same…
If you decide to use the reference data to keep that unique value, you just need to program the reference data. It should go into the last bytes of your data flash. For reference, see code from RM_VEE_…
You can download it from the Downloads tab on https://www.renesas.com/us/en/software-tool/renesas-flash-programmer-programming-gui?downloads-title-filter=wind#download
Thanks for reaching out to Renesas Engineering Community.
If I understand correctly you want to program the data flash of the device only, right ?
The data flash can be written in both ways, by Renesas Flash Programmer, or by self programming (by the software running on the device).
To program only the data flash with Renesas Flash Programmer, the file used to program the device would need to contain only data for the data flash address range. A .srec, .hex or .bin file can be used with RFP to provide the data to be programmed into the flash.
how to write into to data flash is clear. I am using the JLINK this works very well.
This was not really the question i have. The implementation of the renesas virtual eeprom needs a correct structure. https://renesas.github.io/fsp/group___r_m___v_e_e___f_l_a_s_h.html
I want to flash a initial value of a virtual eeprom content into device.
After the production and flashing of the bin files there should be a default value in, which must be unique for ever device. In operation the values must be update in virtual eeprom
The way of programming the data flash would be the same but with different data.