2008-07-21 09:34 AM
2008-07-15 10:37 PM
Hi everybody,
I want to store data in a STR752 to use it after a reset. So the solution seems to be the bank 1 of the flash but I don't know how to write and read it and I cannot find information about it. Can somebody help me please ? Thank you.2008-07-16 05:18 AM
2008-07-17 02:07 AM
Hi JakBird,
First thank you for your help. I have 2 issues. I try to make a routine which will be copied to RAM on startup as you said but it doesn't work. I use Ride from Raisonance with ST STR7 librairies and I have a report from the ''LD Linker'' which tells me that section .rwcode [20001e4c -> 20001ee7] overlaps section .data [20001e4c -> 20001e5f] and section .bss [20001e60 -> 20001eab] overlaps section .rwcode [20001e4c -> 20001ee7] . Do you know why the sections are overlapped ? The second problem is that I didn't find the flash library for STR75x in ST STR7 librairies. Do you know where I can find this library please ? Thank you.2008-07-21 09:34 AM
1> You can get the IAP code from ''http://www.st.com/mcu/familiesdocs-86.html'' - STR7 Family Flash Programming Reference Manual section)
2>And to execute from the RAM you can also use __ramfunc compiler directive, just keep __ramfunc before the function definition and the code will get downloaded onto the RAM's CODE_ID section along with other sections during the program loading phase.