I’m using ICP2(G3) to program ATmega640V. I have two HEX files — one for the program memory and another for the data memory. If I want to use the command-line interface, what command should I use to program both files?
Answer
You should use a HEX file in “Softlog format” which contains all memory areas to be programmed:
(A) One-time operation
Run ICP for Window
Load PM
Load DM
Edit fuses if required
Validate that everything works as expected
Save to HEX: File – Save As (Export)
(B) Multiple operations
Use the saved HEX file with the Command Line