Questions tagged [hex-file]
Hexadecimal object file format is a way of representing an absolute binary object file in ASCII. It is commonly used for programming microcontrollers, EPROMs, and other types of programmable logic devices.
27 questions
1 vote
0 answers
107 views
Decoding Manchester signal from underfloor heating bus with Saleae Logic 2
I'm resurrecting an old project trying to decode a serial protocol from my underfloor heating system (OJ Electronics). Not been able to rule out OpenTherm. Async Serial decoding of underfloor heating ...
1 vote
1 answer
1k views
Convert Altium PcbDoc file between binary and ASCII without Altium
As Altium PCB file format support, we can save PcbDoc as binary or ASCII. https://www.altium.com/documentation/altium-designer/pcb-dlg-confirmfileformatformfile-format-pcb-ad?version=20.2 Is there any ...
0 votes
1 answer
247 views
How to load .hex file on PIC16F1459 microcontroller?
sorry if the questions seems to be already answered, but I really need some basic information. I have a PCB with a USB-Mini connection, a PIC16F1459 microcontroller and a precompiled .hex-file. So the ...
1 vote
1 answer
1k views
Clone ATtiny13A flash memory using USB ASP programmer
I have a working device with flashed ATtiny13A inserted in DIL8 socket. I am guessing that the uC does not have a locking bit set (since I was able to read it [?]). That is all I know at this point. I ...
1 vote
3 answers
2k views
Tool for editing EEPROM single hex byte
I need to modify a byte of the Hex data block coming from an EEPROM and write it back to the EEPROM. Now the problem is if I simply do that, the CRC changes. Is there any tool in Linux for manually ...
1 vote
1 answer
317 views
Changing Bootloader settings using HEX file in atmega328P
I am using atmega328P IC in my project. Currently my process to upload a code is to burn the bootloader according to my requirements and then upload using programmer USBasp . Now from what I read is ...
1 vote
1 answer
324 views
Flash and run a .hex file on a different Microcontroller with bigger flash from the same Cortex family
Is it possible to flash and run a compiled code (.hex-file) for a specific Microcontroller (for example STM32F205RC) on a Microcontroller from the same family with bigger flash-memory and RAM (without ...
2 votes
3 answers
1k views
Why are data records in intel hex files often limited to 16 bytes, even for long contiguous blocks?
I'm not sure if this is true in general, but all intel hex files I have seen (from Atmel Studio, STM32CubeIDE and MPLAB) use data records with a length of 16 bytes. Even when the addresses written to ...
1 vote
1 answer
348 views
Why does the AVR Assembler linker think my data table is at the wrong address?
MCU: ATmega1284 Programmer: JTAGICE3 IDE: Atmel Studio 7.0.2397 Language: AVR Assembler I have a constant data table in flash memory. The linker thinks it is located at address 0x0090, so when I ...
0 votes
1 answer
413 views
.c to .hex file conversion without using any IDE
I am new to microcontroller programming. I have a program written in C or assembly language which I need to convert into a .HEX file to flash into the 8051 microcontroller. I do not want to use an IDE ...
1 vote
2 answers
1k views
Understanding data holes in a Intel HEX file
I am working on a secondary bootloader for a Renesas microcontroller. Following are two consecutive records of the 11000+ records in the HEX file. ...
0 votes
1 answer
618 views
Avrdude Does not Read What it Wrote Correctly
Question I am getting back into Atmel AVR programming after nearly a decade off. To this end, I am trying to get the usual blinken lights demo working. Unfortunately this does not function, though ...
0 votes
1 answer
570 views
Writing high bytes in Intel Hex file to PIC 16F886 using MiniPro TL866A
I'm a newbie trying to write an Intel hex file to a PIC 16F886 using a MiniPro TL866A. When I try, I get the message: ...
0 votes
1 answer
745 views
STM32 bootloader protocol
I am attempting to update the application code on an STM32 chip programatically from another chip. I have an Intel format hex file generated from the build process and I would like to use the ...
0 votes
0 answers
839 views
Can we store hex data through UART into flash and RUN it from that particular location
I am trying to store my hex file in another sector of the flash memory i.e (0x00050000) I want to store a hex file at different sector of the flash and to change the execution point to that address ...