How to set Option bytes from Atollic interface

Discuss how to use the features of Atollic TrueSTUDIO, including the editor, assembler, C/C++ compiler, linker, debugger, static code analysis and team collaboration tools.

Moderators: Markus Girdland, Mattias Norlander

rqg.gomes
Posts: 4
Joined: Wed Mar 21, 2018 6:05 pm

How to set Option bytes from Atollic interface

Postby rqg.gomes » Tue Nov 06, 2018 12:07 pm

Hi,

Is there a way to set the option bytes of STM32 from atollic in friendly mode?

MaartenDV
Posts: 5
Joined: Mon Jul 09, 2018 1:48 pm

Re: How to set Option bytes from Atollic interface

Postby MaartenDV » Fri Dec 21, 2018 8:24 am

Hallo,


I managed to get this working with some tweaks in the linker script. Basically you search in the datasheet the address where these are stored, create a struct with all the values assigned to it in the correct order. After this you can store this struct (the option bytes) at a specific place in the memory (option byte location).

some extra info: https://mcuoneclipse.com/2012/11/01/def ... -with-gcc/


I am disappointed in Truestudio that this is not fully supported in a easy and fast maner.


kind regards,


mdv


Return to “Atollic TrueSTUDIO tool discussions”

Who is online

Users browsing this forum: No registered users and 1 guest