[PATCH 1/8] Fixed stm32f4 linker script flash location
Sebastian Huber
sebastian.huber at embedded-brains.de
Mon Apr 7 10:46:29 UTC 2014
Hello Chris,
On 2014-04-04 23:07, Chris Nott wrote:
> Signed-off-by: Chris Nott <chrisn at vl.com.au>
> ---
> c/src/lib/libbsp/arm/stm32f4/startup/linkcmds.stm32f4 | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/c/src/lib/libbsp/arm/stm32f4/startup/linkcmds.stm32f4 b/c/src/lib/libbsp/arm/stm32f4/startup/linkcmds.stm32f4
> index 8219505..1ff6d02 100644
> --- a/c/src/lib/libbsp/arm/stm32f4/startup/linkcmds.stm32f4
> +++ b/c/src/lib/libbsp/arm/stm32f4/startup/linkcmds.stm32f4
> @@ -1,6 +1,6 @@
> MEMORY {
> RAM_INT : ORIGIN = 0x20000000, LENGTH = 128k
> - ROM_INT : ORIGIN = 0x00000000, LENGTH = 1M
> + ROM_INT : ORIGIN = 0x08000000, LENGTH = 1M
> }
>
> REGION_ALIAS ("REGION_START", ROM_INT);
>
I think the flash address is correct as is. You just have to tell your flash
program that it should load the ELF file with an offset of 0x08000000.
--
Sebastian Huber, embedded brains GmbH
Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone : +49 89 189 47 41-16
Fax : +49 89 189 47 41-09
E-Mail : sebastian.huber at embedded-brains.de
PGP : Public key available on request.
Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
More information about the devel
mailing list