Quality RTOS & Embedded Software

 Real time embedded FreeRTOS RSS feed 
Quick Start Supported MCUs PDF Books Trace Tools Ecosystem


hex file generation

Posted by areeg on January 26, 2018

Which files do I have to inculde in Eclipse IDE to succesfully generate hex file for a simple code , target hardware ATmega 32 and GCC compiler ?

hex file generation

Posted by rtel on January 26, 2018

Not sure what you are asking exactly, but if you are using GCC to build an application and want to convert the output to hex, then the program you need is objcopy. That will copy from elf to hex to bin, etc and comes with GCC.

hex file generation

Posted by heinbali01 on January 27, 2018

Although your question is not really about FreeRTOS, her some advice:

If you are using an ATmega32, wouldn't it be handier to use AtmelStudio (AS) and the tools that come with it? It has an option to create/generate a new project. You will select a CPU-type, and optionally a board, and you will get a "hello world" example. You can either run it in a simulation mode, or by using a JTAG and real hardware. HEX-files: normally AS works with .ELF files: these contain a lot more information than a .HEX file, which contains pure code only. Make sure that you download the latest release of AtmelStudio. There are great support groups for the Atmel products, like avrfreaks.

[ Back to the top ]    [ About FreeRTOS ]    [ Sitemap ]    [ ]

Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.

Latest News

Meet us at Embedded World. Hall 3A-525.

Hear from Richard Barry at Embedded World. Feb 28, 16:00, Hall 4-428.

Video: Watch James Gosling & Richard Barry at re:Invent, Las Vegas 2017.

FreeRTOS kernel V10.0.1 is available for immediate download. Now MIT licensed.

FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

IAR Partner

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

STMicro RTOS partner supporting ARM7, ARM Cortex-M3, ARM Cortex-M4 and ARM Cortex-M0

Texas Instruments MCU Developer Network RTOS partner for ARM and MSP430 microcontrollers

OpenRTOS and SafeRTOS