---
** [tickets:#165] Programming non-contiguous sections fails on STM32L4**
**Status:** new
**Milestone:** 0.9.0
**Created:** Fri Nov 03, 2017 12:30 AM UTC by Sysprogs
**Last Updated:** Fri Nov 03, 2017 12:30 AM UTC
**Owner:** nobody
**Attachments:**
-
[EmbeddedProject2](https://sourceforge.net/p/openocd/tickets/165/attachment/EmbeddedProject2)
(182.3 kB; application/octet-stream)
Programming an ELF file with non-contiguous sections in FLASH results in an
error:
Error: flash write algorithm aborted by target
Info : error executing stm32l4x flash write algorithm
Error: flash write failed = 000000a8
The ELF file (attached) contains the following sections:
EmbeddedProject2: file format elf32-littlearm
Sections:
Idx Name Size VMA LMA File off Algn
0 .isr_vector 00000188 08000000 08000000 00010000 2**2
CONTENTS, ALLOC, LOAD, DATA
1 .text 00000818 08000188 08000188 00010188 2**2
CONTENTS, ALLOC, LOAD, READONLY, CODE
2 .ARM.extab 00000000 080009a0 080009a0 00020004 2**0
CONTENTS
3 .exidx 00000000 080009a0 080009a0 00020004 2**0
CONTENTS
4 .ARM.attributes 0000002f 080009a0 080009a0 00020004 2**0
CONTENTS, READONLY
5 .init_array 00000004 080009a0 080009a0 000109a0 2**2
CONTENTS, ALLOC, LOAD, DATA
6 .fini_array 00000004 080009a4 080009a4 000109a4 2**2
CONTENTS, ALLOC, LOAD, DATA
7 .blink 00000030 08002000 08002000 00012000 2**2
CONTENTS, ALLOC, LOAD, READONLY, CODE
8 .data 00000004 20000000 08002030 00020000 2**2
CONTENTS, ALLOC, LOAD, DATA
9 .bss 00000020 20000004 08002034 00020004 2**2
ALLOC
10 .heap 00000000 20000024 20000024 00020033 2**0
CONTENTS
11 .reserved_for_stack 00000000 20000024 20000024 00020033 2**0
CONTENTS
12 .comment 00000011 00000000 00000000 00020033 2**0
CONTENTS, READONLY
13 .debug_info 00005544 00000000 00000000 00020044 2**0
CONTENTS, READONLY, DEBUGGING
14 .debug_abbrev 00000e8e 00000000 00000000 00025588 2**0
CONTENTS, READONLY, DEBUGGING
15 .debug_aranges 00000318 00000000 00000000 00026416 2**0
CONTENTS, READONLY, DEBUGGING
16 .debug_ranges 00000298 00000000 00000000 0002672e 2**0
CONTENTS, READONLY, DEBUGGING
17 .debug_line 00001a97 00000000 00000000 000269c6 2**0
CONTENTS, READONLY, DEBUGGING
18 .debug_str 0000195f 00000000 00000000 0002845d 2**0
CONTENTS, READONLY, DEBUGGING
19 .debug_frame 00000ae4 00000000 00000000 00029dbc 2**2
CONTENTS, READONLY, DEBUGGING
20 .debug_loc 000000a2 00000000 00000000 0002a8a0 2**0
CONTENTS, READONLY, DEBUGGING
The problem appears to be specific to STM32L4.
---
Sent from sourceforge.net because [email protected] is
subscribed to https://sourceforge.net/p/openocd/tickets/
To unsubscribe from further messages, a project admin can change settings at
https://sourceforge.net/p/openocd/admin/tickets/options. Or, if this is a
mailing list, you can unsubscribe from the mailing list.------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel