2024-06-26 12:55 PM
Hi,
I am developing embedded software using IAR IDE version 9.20 on STM32U5. I would like to modify option byte to enable SRAM ECC while programming the device using IAR IDE. Request to share the thoughts.
Regards,
Hareesha
Solved! Go to Solution.
2024-07-02 07:39 AM
Hi All,
I contacted IAR technical support and got support to enable ECC using IAR Flash loader Macro. Default Flashloader MACRO needs to be modified to enable SRAM ECC. IAR projects settings need to be updated as follows to use updated flash loader file
Default flash loader is available in IAR installation location
C:\Program Files\IAR Systems\Embedded Workbench 9.0\arm\config\flashloader\ST
Regards,
Hareesha
2024-06-26 01:28 PM
I'd imagine this is a question IAR Support could more readily answer for you.
But, you can also program the controller from your OWN CODE.
You can check the current settings of the OPTION BYTES, and change them to reflect the mode of operation you specifically desire, irrespective of the tools or IDE you use.
Does your JTAG pod offer any application to set configurations? ie J-Link Commander or ST-LINK STM32 Cube Programmer CLI ?
2024-06-27 10:16 AM
Hi,
Thanks for the response, I did program the option byte using my code , however from production point of view it would be good if option bytes are programmed along with firmware as system needs to be reset upon option byte update.
It is possible to update Option byte using STM32Cube programmer. However we use IAR IDE for software development, hence from ease of development perspective , it would be good if we have method to update option byte from IAR IDE. Please share your thoughts.
Regards,
Hareesha
2024-06-27 11:03 AM
I'm not sure a licensed install of IAR at each production test station is something that scales well.
Gang-Programming you might want to look at what protocols the System Loader offers
2024-07-02 07:39 AM
Hi All,
I contacted IAR technical support and got support to enable ECC using IAR Flash loader Macro. Default Flashloader MACRO needs to be modified to enable SRAM ECC. IAR projects settings need to be updated as follows to use updated flash loader file
Default flash loader is available in IAR installation location
C:\Program Files\IAR Systems\Embedded Workbench 9.0\arm\config\flashloader\ST
Regards,
Hareesha