blackmagic/src/target/flashstub
Uwe Bonnes bfeb6f0db9 stm32f4: Use buffered direct flash write with choosen size. 2018-06-16 13:30:53 +02:00
..
Makefile stm32f4: Use buffered direct flash write with choosen size. 2018-06-16 13:30:53 +02:00
README.md Move flash stubs to target directory and update readme. 2016-07-13 08:31:09 +12:00
efm32.c Move flash stubs to target directory and update readme. 2016-07-13 08:31:09 +12:00
efm32.stub Move flash stubs to target directory and update readme. 2016-07-13 08:31:09 +12:00
lmi.c Move flash stubs to target directory and update readme. 2016-07-13 08:31:09 +12:00
lmi.stub Move flash stubs to target directory and update readme. 2016-07-13 08:31:09 +12:00
nrf51.c nrf51: Replace stub with C version and pass params in registers 2017-05-03 13:10:01 -07:00
nrf51.stub nrf51: Replace stub with C version and pass params in registers 2017-05-03 13:10:01 -07:00
stm32f1.c Move flash stubs to target directory and update readme. 2016-07-13 08:31:09 +12:00
stm32f1.stub Move flash stubs to target directory and update readme. 2016-07-13 08:31:09 +12:00
stm32l4.c Move flash stubs to target directory and update readme. 2016-07-13 08:31:09 +12:00
stm32l4.stub Move flash stubs to target directory and update readme. 2016-07-13 08:31:09 +12:00
stub.h Move flash stubs to target directory and update readme. 2016-07-13 08:31:09 +12:00

README.md

Flash Stubs

These are simple routines for programming the flash on various Cortex-M microcontrollers. The routines should be provided with the naked attribute as the stack may not be available, and must not make any function calls. The stub must call stub_exit(code) provided by stub.h to return control to the debugger. Up to 4 word sized parameters may be taken.

These stubs are compiled instructions comma separated hex values in the resulting *.stub files here, which may be included in the drivers for the specific device. The drivers call these flash stubs on the target by calling cortexm_run_stub defined in cortexm.h.