OEMiROT - ROT_Provisioning folder location
Hello,
I’m working with a project with STM32h563 micro which includes the use of the OEMiROT bootloader. I tried different solution to set up the project, and, in order to use CubeMX, I think this is the “normal” way.
However, there are some things that look awkward to me.
- If you want to use the OEMiROT bootloader included in the firmware package mentioned in the tutorial, it seems to be mandatory to strictly respect the folder tree given used inside the package. This means that your application project has to reside in STM32Cube_FW_H5_V1.6.0/Projects/NUCLEO-H563ZI/Applications/ROT/ even if you are not using a NUCLEO board.
- When, in CubeMX, you set the Boot Path and Debug Authentication options, you can modify the OEM_iROT reference location but not the Config Files Location, which is mandatory to be inside the ROT_Provisioning folder automatically created inside the newly created application (e.g. STM32Cube_FW_H5_V1.6.0/Projects/NUCLEO-H563ZI/Applications/ROT/ROT_Provisioning). However, if it is not present a similar ROT_Provisioning folder inside the parent directory STM32Cube_FW_H5_V1.6.0/Projects/NUCLEO-H563ZI/ROT_Provisioning. This means that two similar ROT_Provisioning folders have to exist inside the project, making the organization quite messy.
Probably I am misunderstanding something, but I found the process really complicated and it is very easy to broke some ring of the chain. I’m using CubeMX 6.17.
Thank you,
Giulio
