From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: How to create a GPR project for ARM Cortex? Date: Mon, 13 Nov 2017 10:54:18 +0000 Organization: A noiseless patient Spider Message-ID: References: <16ddffcb-6ee7-418e-a61a-fe8ef1c583c2@googlegroups.com> <985c7393-262a-487a-bcb5-0207b307197a@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: reader02.eternal-september.org; posting-host="8f5626f630ebbbb3957b898752056aef"; logging-data="20082"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/4XkXETDDkU0dZEvQtT9J9sBr2sLLP5ZI=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (darwin) Cancel-Lock: sha1:X1xdB5Tq5kU+SDBvV3BcgwcP6qI= sha1:F+DK18j5K7YIuFJuSH6ItvN3UyY= Xref: feeder.eternal-september.org comp.lang.ada:48847 Date: 2017-11-13T10:54:18+00:00 List-Id: Johan Söderlind Åström writes: Groping around here ... > Retrieving the load address. > arm-eabi-objdump C:\Users\Johan\Documents\B-L072Z-LRWAN1_Ada\bin\main.elf -h > Load address is: 0x080000c0 My arm-eabi-objdump doesn't produce that output with -h. And shouldn't the load address be 0x08000000? > Creating the binary (flashable) image. > arm-eabi-objcopy -O binary C:\Users\Johan\Documents\B-L072Z-LRWAN1_Ada\bin\main.elf C:\Users\Johan\Documents\B-L072Z-LRWAN1_Ada\bin\main.elf.bin > Flashing image to board. > Could not flash the executable. I think you need to run st-flash by hand to find out what's going on here. What board are you using?