Gareth McMullin
ef574b72b1
Add support for STM32F446x family.
...
Tested with a custom hardware.
2015-07-31 09:05:27 -07:00
Gareth McMullin
7cd3432994
stm32f4: Add second bank for F42x/F43x.
2015-04-11 16:05:40 -07:00
Gareth McMullin
1efad1a03a
stm32f4: use new flash interface.
2015-04-11 16:05:40 -07:00
Gareth McMullin
31fae032f7
cortexm: Separate stub loading from running.
2015-03-29 15:20:00 -07:00
Gareth McMullin
9f271d5cd7
Consistently use 'target *t' for target var.
2015-03-28 20:47:17 -07:00
Gareth McMullin
acfd258aa7
Rewrite STM32F4 stub in C and use new interface.
2015-03-19 21:49:09 -07:00
Gareth McMullin
2bf54f9a72
Replace adiv5_ap_mem* functions with inline wrappers to target mem*.
2015-03-15 16:02:09 -07:00
Gareth McMullin
ee3af96a73
Consolidate target_mem_read* and target_mem_write* methods.
...
There are now only mem_read and mem_write, that must
handle all alignments. These methods return void, errors must be
checked with target_check_error.
2015-03-15 14:31:57 -07:00
Gareth McMullin
6f5b1873d7
Use size_t for sizes in flash functions. Fix all sign compare warnings.
2015-03-14 15:18:22 -07:00
Gareth McMullin
4d4813de87
Clean up includes everywhere.
...
All source files include general.h first and before anything else.
This inlcludes platform.h and platform_support.h
No header file needs to include to include any of these, but should include
any others needed for it's own declarations.
2015-03-01 22:16:04 -08:00
Marc Singer
da28970c3e
Fix to move stubs into rodata.
...
o Stubs were declared as globals which means they will be initialized
data. No need for this. Now, stubs are static const and are only
present in the program image.
2015-01-09 18:18:10 -08:00
Uwe Bonnes
d162e75ceb
stm32f4.c: Add STM32F411 ID.
2014-12-23 21:32:21 +13:00
Hans Baier
d265b76001
Add support for STM32F401RE
2014-08-06 10:49:48 +12:00
Gareth McMullin
42570efaf8
Revert "STM32F4: Add handling of second bank and dual boot devices."
...
This reverts commit 536482f804
.
2013-10-22 07:48:06 +08:00
Uwe Bonnes
536482f804
STM32F4: Add handling of second bank and dual boot devices.
2013-10-22 07:21:35 +08:00
Uwe Bonnes
cbd73cfb8f
STM32F4: Recognize F401.
2013-10-22 07:21:35 +08:00
Gareth McMullin
8c877d6dfa
Fix trailing whitespace everywhere.
2013-06-17 15:53:32 +12:00
Gareth McMullin
89b908337d
Add missing #includes
2013-04-16 12:36:19 -07:00
Uwe Bonnes
6b7babf624
stm32f4: Add option erase command
...
--
Uwe Bonnes bon@elektron.ikp.physik.tu-darmstadt.de
Institut fuer Kernphysik Schlossgartenstrasse 9 64289 Darmstadt
--------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------
>From d488dffe4dab4e5188c750489006260745a9e25a Mon Sep 17 00:00:00 2001
From: Uwe Bonnes <bon@elektron.ikp.physik.tu-darmstadt.de>
Date: Mon, 15 Apr 2013 15:26:58 +0200
Subject: stm32f4: Add option erase command
2013-04-15 10:22:17 -07:00
Gareth McMullin
3a70b81cce
Add erase_mass command for stm32f4 devices.
2013-03-27 14:10:07 -07:00
Gareth McMullin
d7a6f0165e
Accept new chip ID for stm32f4 and include flash layout for 2MiB parts.
...
Thanks to Mike Smith.
2013-03-27 11:24:43 -07:00
Uwe Bonnes
09e2d00b8e
STM32F4: Add option byte handling
2013-01-22 18:49:11 +01:00
Gareth McMullin
2637f072a1
Probe function return bool, true if device identified.
...
Correctly identify LM3S3748.
2012-11-03 23:53:25 +13:00
Gareth McMullin
8872315e82
Updated lmi, nxp and stm32f4 drivers to use adiv5_target_ap().
2012-06-24 14:44:02 +12:00
Gareth McMullin
6089a66dce
Renamed target_flash_write_words to target_flash_write.
...
Buffer from GDB may not be aligned or integer number of words.
Corrected alignment in in STM32F1 driver.
2012-06-18 20:53:06 +12:00
Gareth McMullin
bc7e7d2112
Removed target header files containing a single prototype.
...
Target probe prototypes are all in target.h now.
2012-06-18 20:27:06 +12:00
Gareth McMullin
0599bdc5c4
Cleaned up STM32F1 driver and renamed appropriately.
2012-06-18 19:46:41 +12:00
Gareth McMullin
4282244fb4
stm32f4: Fixed chunk padding for flash programming.
2012-02-08 20:43:12 +13:00
Mike Smith
2653222d08
Tweak the flash uploader to handle unaligned start and end pointers,
...
padding with all-1s so that overlapping data is preserved.
2011-12-14 23:41:40 -08:00
Gareth McMullin
45eee497d0
stm32f4: Improve behaviour when a section doesn't end on a word boundary.
...
This may not be an acceptable fix. It may be possible for the linker
to place another section on the remainder of the offending work.
2011-12-14 22:59:42 +13:00
Gareth McMullin
61cfbf16c6
Fixed flash stub for STM32F2 and STM32F4.
...
Added JTAG idcodes for these devices.
2011-12-02 21:55:14 +13:00
Mike Smith
fa7ae87e25
Mention the CCM (CPU-only RAM) in the F4.
2011-11-25 17:04:23 -08:00
Gareth McMullin
d73ac40ef1
Added preliminary support for the STM32F4.
2011-11-12 19:15:52 +13:00