I have several questions:
I still not understand the use of the three memory segments. The SRAM memory is for data or code?
I read the manual, I understand the use of the access rights, but I have many doubts yet.
So, instead of asking many questions and confound, I prefer to know How is writen a typical aplication.
For example: I have a 30kB length program. In that program I have some non volatile variables, so I do not want to lose this data after power down the mcu. I have some functions, I have some interrupts routines.
Where I start the main code? Where I write my functions? Where I write my non volatile variables?, I mean, in a typical aplication.
Thank you very much. I am very interested in this microcontrollers but I need help getting started