Objcopy conversion fails
See original GitHub issueThe objcopy fails. Running the command from directly from Command Prompt results in error:
>arm-none-eabi-objcopy -v -I binary -O ihex -B arm C:\Users\<USER>\pyocd\binaries\<bin_file> c:\Temp\<elf_file>
copy from C:\Users\<USER>\pyocd\binaries\<binFile> [binary] to c:\Temp\<elfFile> [ihex]
arm-none-eabi-objcopy: c:\Temp\<elfFile> 64-bit address 0x4b4fa300000000 out of range for Intel Hex file
arm-none-eabi-objcopy:c:\Temp\test.elf: bad value
OS: Windows 10 GNU tools: 8-2018-q4-major
Issue Analytics
- State:
- Created 5 years ago
- Comments:7 (7 by maintainers)
Top Results From Across the Web
Objcopy conversion fails · Issue #557 · pyocd ...
The objcopy fails. Running the command from directly from Command Prompt results in error: >arm-none-eabi-objcopy -v -I binary -O ihex -B arm C ......
Read more >elf - how to avoid objcopy blowing up the file?
I would try current release of binutils (version 2.28) first -- there is a chance whatever bug you are hitting has already been...
Read more >Objcopy to convert binary file to object file for Cortex-M4
I'm trying to use the objcopy utility for ARM to convert a binary ... ld: error: Source object <output-object-file>.o has EABI version 0, ......
Read more >An error message occurs when I attempt to convert an ".elf ...
When I attempt to convert an ".elf" file to a binary file using mb-objcopy.exe, the following error message occurs and a corrupt output ......
Read more >No binary output from objcopy - Compilers and Libraries ...
I have succeeded in outputting an elf image, but failed with converting it to a bin with the arm-none-eabi-objcopy tool.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Fyi, the GNU MCU Eclipse ARM Embedded GCC toolchain (based on Arm’s release) has a fix for this bug: https://github.com/gnu-mcu-eclipse/arm-none-eabi-gcc/releases/tag/v8.2.1-1.2
Also, seems there was an existing bug for the toolchain: https://bugs.launchpad.net/gcc-arm-embedded/+bug/1810274
Bug reported on the GNU Arm Embedded toolchain: Bug #1818578