21. JANUAR 2019


HEX-Datei aus Binary (EFL) für ATMega generieren (Ungetestet)

We have a binary of the application, but how do we get it into the processor? Most (if not all) programmers will not accept a GNU executable as an input file, so we need to do a little more processing.

The next step is to extract portions of the binary and save the information into Intel "hex" files (load files for Flash = Program Memory). The GNU utility that does this is called avr-objcopy.

The ROM contents can be pulled from our project's binary and put into the file rom.hex using the following command:

avr-objcopy -j .text -O ihex demo.out rom.hex

Keywords: todo
Dokumenten-ID: kb/a38466d2-de70-4413-a46f-79d7d6465317

Startseite - Keywords - Sitemap - Impressum