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.

[SOLVED] what is the use of FILL command on intel hex file

Status
Not open for further replies.

vishu489

Advanced Member level 4
Joined
Aug 28, 2011
Messages
116
Helped
3
Reputation
6
Reaction score
3
Trophy points
1,298
Activity points
2,120
Hello friends,

recently i have come through this s-record fill command, used to fill data gaps with some arbitrary byte. I'm not able to figure out what is the advantage of using fill command over hex file before calculating check sum?


Thanks
 

It has little use but in some situations the data in a hex file has to be continuous. Normal hex files can have gaps in the address field which means some part of the device are not programmed. Using FILL is a way of ensuring the gaps have something in them. Some programming equipment gets confused when it sees jumps in the addresses and there is also a potential issue with security if parts of a reprogrammed device still holds old bytes that were not overwriten. Example: In a project I did a few years ago, the hex file was for programming a 27C512 EPROM which was used as a timing pattern generator, all the addresses were read in sequence and each of the data bits read from the memory made a complex timing pattern. It places it needed hundreds of repeated bytes so the FILL command was useful to simplify the source file, without it there would have to be hundreds of additional identical lines, each producing one byte of output.

Brian.
 

Thanks a lot friends!
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top