Skip to main content

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.

Filter by
Sorted by
Tagged with
0 votes
1 answer
161 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 ...
NEET's user avatar
  • 1
0 votes
1 answer
186 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 ...
Michi's user avatar
  • 1
1 vote
1 answer
892 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 ...
nexus.so's user avatar
1 vote
3 answers
1k 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 ...
OptimusPrime's user avatar
1 vote
1 answer
261 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 ...
dharmikP's user avatar
  • 525
1 vote
1 answer
285 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 ...
kimliv's user avatar
  • 628
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 ...
jusaca's user avatar
  • 9,609
1 vote
1 answer
289 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 ...
user4574's user avatar
  • 12.4k
0 votes
1 answer
252 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 ...
Jay Sonawane's user avatar
1 vote
2 answers
931 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. ...
WedaPashi's user avatar
  • 1,670
0 votes
1 answer
534 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 ...
MysteryMoose's user avatar
0 votes
1 answer
454 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: ...
user3486184's user avatar
0 votes
1 answer
677 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 ...
cirrusio's user avatar
  • 121
0 votes
0 answers
787 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 ...
Keerthana R's user avatar
1 vote
0 answers
66 views

nRF52 Bootloader over ESP12E

I'm using nRF52 DK with 14.2.0 SDK. I created a LED blink project for testing and extract its HEX file. I uploaded the program to the nRF52 over USB (J-Link-Keil IDE) and the HEX file over ESP12E (SWD)...
Burak Kocaman's user avatar
0 votes
3 answers
158 views

Burning hex files into multiple micro-controllers at a time. [closed]

I am using attiny88 and the usbasp programmer. Right now I am burning 1 micro at a time. But it is a time-consuming process during the production. Is there any way to burn multiple microcontrollers ...
ABD's user avatar
  • 111
-1 votes
1 answer
1k views

Reading in a Hex file and knowing what the heck is going on

So, I am completely new to this in a sense. I have this .BIN file in which I was told is a HEX file. I am using Hex Fiend to read it in but when changing the text encoding it doesn't translate to a ...
Snoopy's user avatar
  • 101
1 vote
3 answers
2k views

MPLAB XC16 not generating .HEX file after successful build

I am new to MPLAB XC16 IDE. I am generating a simple blinking LED code to understand the basics of the microcontroller PIC24FJ32GA002. The main file is as follows: ...
Mohsin's user avatar
  • 117
3 votes
0 answers
3k views

Dumping contents of read-protected PIC

I have a need to read out the flash memory of a read-protected PIC16F57 (this is for legal purposes). From my basic research, there appears to be no way of doing this short of decapping it and reading ...
willem.hill's user avatar
2 votes
0 answers
775 views

Can i output a certain memory area of a processor with objcopy?

For a bootloader (PIC32) i do need only a certain memory area from a binary file (application for a bootloader, config and bootloader are located elsewhere, no hex possible). If i call the ...
pfried's user avatar
  • 163
0 votes
2 answers
4k views

Can VHDL read binary files i.e non text files?

I have a binary file which represents memory contents of a memory device. I want to load these into my testbench. The hex file obviously is not text file thus no concept of line break and carriage ...
quantum231's user avatar
1 vote
2 answers
1k views

output file formats for flashing in microcontrollers

I have seen different micro controllers have different output file formats for flashing like 8051 has .hex file format, some have .out file format some have .s12 format and etc. What are the factors ...
rajesh's user avatar
  • 437
0 votes
1 answer
1k views

Loading a HEX file with PICkit 2

I'm trying to upload a hex file, generated from multiple C source files with xc8 in Proteus, into a PIC18F4520. Usually, I don't have any problems doing this but ...
SoreDakeNoKoto's user avatar
0 votes
1 answer
6k views

Flashing Hex File to AT89C51

I have a USB to Serial breakout which has CP2102 and MAX232 chips on it. I wrote a program in Keil and generated the Hex File. How do I flash this hex file onto the AT89C51 (which is also another ...
Rakshith G B's user avatar
0 votes
2 answers
2k views

Merging 2 Hex files

My MSP430 program consists of serial bootloader and application hex files. While programming I load bootloader program using JTAG and then load application program using bootloader. I am looking for ...
prasad's user avatar
  • 169
-1 votes
2 answers
3k views

INTEL HEX file error , " CR or CR/LF " expected

I'm trying to write a INTEL HEX file for chip 2732 . My hex file data is here : :03000000201C5D64 :0300FF00201C5D65 but when I start simulation , proteus shows this error: I have a little idea ...
Anklon's user avatar
  • 1,176