blackmagic/flashstub
Marc Singer e0a8ce5a88 STM32L0x target support.
Target support for stm32l0's and stm32l1's including option bytes and
data EEPROM.  This module will superceed the previous stm32l1 driver.

o Program flash write and erase.
o Options modification and interpretive status.
o Stubs for program flash writes and erases.  Stubs are modestly
  faster than non-stub version.   The stm32l0 will not execute stubs
  when the MCU has crashed.  A monitor option may be used to force
  non-stub flash writes.
o Stubs generated from C++ code and converted to arrays of half-words.
o Writes to data EEPROM supoprted when loading segments.
o EEPROM data monitor command to write words.
o Stubs supported on stm32l1.
2015-03-08 16:17:34 -07:00
..
README STM32L0x target support. 2015-03-08 16:17:34 -07:00
code-to-array.pl STM32L0x target support. 2015-03-08 16:17:34 -07:00
lmi.s Added Flash programming stubs. 2011-02-12 22:09:38 +13:00
nrf51.s Nordic nRF51 series support 2014-05-01 15:09:59 +01:00
stm32.s Added support for STM32F0. 2012-10-24 18:08:01 +02:00
stm32f4.s stm32f4: Fixed chunk padding for flash programming. 2012-02-08 20:43:12 +13:00
stm32l05x-nvm-prog-erase.cc STM32L0x target support. 2015-03-08 16:17:34 -07:00
stm32l05x-nvm-prog-erase.stub STM32L0x target support. 2015-03-08 16:17:34 -07:00
stm32l05x-nvm-prog-write.cc STM32L0x target support. 2015-03-08 16:17:34 -07:00
stm32l05x-nvm-prog-write.stub STM32L0x target support. 2015-03-08 16:17:34 -07:00

README

Flash Stubs
===========

For most of the targets, these are assembler routines for executing
a flash write on the supported targets.  They are kept here for
reference, but are not used, as the compiled binary code is included
in the target drivers.

For the STM32l0x, the stubs are written in C++ and emitted as arrays
of half-words for inclusion in the target driver.  The use of a higher
level language allows more detailed code and for easy revisions.
These stubs communicate with the driver through a structure defined in
the src/include/stm32l0-nvm.h header.