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.

AVR Programming Related - programming devices

Status
Not open for further replies.

movie_freak

Member level 5
Joined
Mar 20, 2007
Messages
89
Helped
2
Reputation
4
Reaction score
0
Trophy points
1,286
Activity points
1,943
AVR Programming Related

I burn my hex file into the AVR using the ISP programmer and AVR studio software. if i have a hex file let's say the source contains some unique number like product_id or serial_no.


Is there a way or possiblility, or probably how can i program different devices with different(unique) serial number everytime, with a single hex file? (without changing the source manually and building the source again and again)


Many Thanks,
Surya:idea:
 

AVR Programming Related

burn the serial number in the eeprom of the avr should be a good idea ?
 

Re: AVR Programming Related

Hai

Another Method is using a hex editor


MicroCon
 

Re: AVR Programming Related

yes its possibe and simple

First find where in the hex file the serial no. product id are been stored
by changing in the main code you will come to know the place

then change that value and the respective CRC value (last byte of the line)

then check it will change the parameters without changing the code

you can use simple editors like notepad to chane the values the only thing is the CRC at the last of the line
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top