Open sytsereitsma opened 4 months ago
This is being internally tracked using FSPRA-2635.
Hi @sytsereitsma, opening a volume with RM_VEE_Open with a configuration that does not match what is reflected in the volume is not currently supported. Is there a reason you cannot open the volume using the same configuration in both the bootloader and the application?
At present we have no means to field-update our bootloader. In the beginning we thought 32 records 'ought to be enough for anybody', so now we're stuck with that number. Meanwhile the application has evolved and now uses a max record id of 64 entries.
Hi,
We have the following scenario:
When opening the flash from the bootloader (
RM_VEE_FLASH_Open
) we sometimes get a crash, which I narrowed down to the record offset assignment inrm_vee_load_record_table
(ra\fsp\src\rm_vee_flash\rm_vee_flash.c
line 1055 on v5.2.0):When parsing all records sometimes record ids (
p_end->id
) are greater than 32 resulting in an out of bounds write to thep_ctrl->p_cfg->rec_offset
array.A quick fix would be: