Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

" CR or CR/LF " error reading INTEL HEX file

Status
Not open for further replies.

Anklon

Member level 1
Joined
Dec 1, 2013
Messages
32
Helped
0
Reputation
0
Reaction score
0
Trophy points
6
Activity points
310
I'm trying to write a INTEL HEX file for my chip 2732 .
My hex file data is here :

:03000000201C5D64
:0300FF00201C5D65

but when I start simulation , proteus shows this error:
Capture.PNG

I have no idea what this CR or CR/LF means ?
What is this ?
How can I solve this error?
 

You need to look up the specification for an Intel hex format file.
It is just plain text and made up from pairs of ascii hex characters with the last two being the checksum for the ones before it. Either the line length is wrong or the line terminator is wrong. Try opening it in a hex editor and see what really is at the end of each line, something makes it flow to the start of the following line so either you have a CR and LF when there should only be CR or the other way around. This kind of error is usually the result of editing a file in a word processor which can leave invisible formatting characters mixed with the data. Normally each line should end with 0x0D then 0x0A, the ascii codes for carriage return CR then line feed LF.

Brian.
 

The error is obvious. You have to finish second line with end of line character (CR or CR/LF, depending to your operating system) by simply putting 'enter' at the end, which creates CR or CR/LF character
 
  • Like
Reactions: Anklon

    Anklon

    Points: 2
    Helpful Answer Positive Rating
Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top