Commit Graph

24 Commits

Author SHA1 Message Date
Laurent Bonnans 1e5c053f4f flashstub: build efm32.stub with makefile 2015-12-14 11:28:28 +01:00
Laurent Bonnans ff748e8fa1 flashstub: factor Makefile rules
Use target-specific variables
2015-12-14 11:28:28 +01:00
Richard Meadows 07f7571dd1 Add basic support for EFM32/EZR32 chips
Tested with EZR32LG230
2015-10-23 19:58:44 +01:00
Gareth McMullin 7e5a664df9 Merge pull request #98 from UweBonnes/stm32l4
Add STM32L4 handling. No option write handling yet.
2015-09-01 11:01:36 +12:00
Uwe Bonnes 043a2d804d flashstub/stm32f4.c: Add barrier needed for STM32F7. 2015-08-22 13:01:24 +02:00
Uwe Bonnes 2336a313e4 Add STM32L4 handling. No option write handling yet. 2015-08-22 12:59:56 +02:00
Uwe Bonnes c97d3f0f63 flashstub: Stubs need to run on different targets. Compile for M0. 2015-06-22 16:44:28 +02:00
Gareth McMullin 4af5c03d75 lmi: Use registers for stub parameters. 2015-04-21 20:05:41 +12:00
Gareth McMullin 3ed4207e8a stm32l0: Update to use new buffered flash writes. Remove old stubs. 2015-04-11 16:05:40 -07:00
Gareth McMullin 810269dce1 nrf51: Use generated stub. 2015-03-29 16:28:18 -07:00
Gareth McMullin cac286d398 lmi: Use generated stub with cortexm_run_stub. 2015-03-29 16:20:57 -07:00
Gareth McMullin 12e313dab9 Use for loop in STM32F1 stub and compile with -Os. 2015-03-19 21:49:09 -07:00
Gareth McMullin 41256e3c2a Add missing return type to stub_exit. 2015-03-19 21:49:09 -07:00
Gareth McMullin acfd258aa7 Rewrite STM32F4 stub in C and use new interface. 2015-03-19 21:49:09 -07:00
Gareth McMullin 8ddb186b35 Allow stub to return an error code. 2015-03-19 21:49:09 -07:00
Gareth McMullin 437aedda11 Rewrote stm32f1 stub in C and call with parameters in registers. 2015-03-19 07:48:57 -07:00
Gareth McMullin e380ced517 Change STM32F1 driver to use generated stub. 2015-03-19 07:43:36 -07:00
Gareth McMullin 2223a1c925 Add a Makefile to build flash stubs. 2015-03-19 07:43:36 -07:00
Marc Singer bf1cb71eb7 Revisions on Gareth's comments.
o Implemented byte writes to EEPROM now that the emulator has a
  byte-wide target write.
o Added comment describing the reason that mass erase doesn't work.
o Removed all unused code.
o Changed to Linux kernel indent style.
o Changed to Linux kernel function to parenthesis style.
o Stub generation doesn't use Perl, switched to sed.  Also, only
  including the instructions instead of the source and the instructions.
o Handling unaligned destination writes.
2015-03-08 16:25:22 -07:00
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
Mike 34d0f64529 Nordic nRF51 series support 2014-05-01 15:09:59 +01:00
Vegard Storheil Eriksen dddb51ca1c Added support for STM32F0. 2012-10-24 18:08:01 +02:00
Gareth McMullin 4282244fb4 stm32f4: Fixed chunk padding for flash programming. 2012-02-08 20:43:12 +13:00
Gareth McMullin 7de78bbd6c Added Flash programming stubs. 2011-02-12 22:09:38 +13:00