RAM-only startup for STM32L073VZ (AcSIP custom firmware)

20 views
Skip to first unread message

Dmitry Ponyatov

unread,
Apr 19, 2018, 3:54:13 AM4/19/18
to stm32
Hello

Does anybody have experience in making specially tuned RAM-only startup code for STM32L0 MCUs?

I have only one AcSIP S76 (Lora) module, and I has to avoid any modifications in its firmware,
and reflashing is not good too because something can go wrong.

As we have an architecture with flat executable memory model,
I'm thinking about some specially tuned stdlib able to run with a program in RAM-only.

Uwe Bonnes

unread,
Apr 19, 2018, 5:21:54 AM4/19/18
to stm3...@googlegroups.com
>>>>> "Dmitry" == Dmitry Ponyatov <dpon...@gmail.com> writes:

Dmitry> Hello Does anybody have experience in making specially tuned
Dmitry> RAM-only startup code for STM32L0 MCUs?

Dmitry> I have only one AcSIP S76 (Lora) module, and I has to avoid any
Dmitry> modifications in its firmware, and reflashing is not good
Dmitry> too because something can go wrong.

Dmitry> As we have an architecture with flat executable memory model,
Dmitry> I'm thinking about some specially tuned stdlib able to run with
Dmitry> a program in RAM-only.

Hello,

Place your code at 0 and select boot from RAM. That is all for running
once. However if you intend to restart the program without reloading it,
think about the section for initialized r/w variables. Without further
measures, the next run will start with the value of these variable at the
end of the last run.

Bye

--
Uwe Bonnes b...@elektron.ikp.physik.tu-darmstadt.de

Institut fuer Kernphysik Schlossgartenstrasse 9 64289 Darmstadt
--------- Tel. 06151 1623569 ------- Fax. 06151 1623305 ---------
Reply all
Reply to author
Forward
0 new messages