i want to program other arduino with the help of arduino due cause i dont have the sketch to program other arduino.Despite reading many articles about this issue , i am not sure that these suggestions work or not.
Has anyone faced such a situation or tried to make it ?
You're trying to copy a (working) sketch from one Arduino to another? So long as the source and target are identical models, this is possible. AVRDUDE won't work on a Due, but BOSSAC will. I've never tried it.
"Some error messages" usually tell you what is wrong. Even if you don't understand the error, posting the exact message text here will usually find someone who can translate for you.
i think bossac will solve my problem but i cant open the program cause there is only binary or source code about bossac(i havent found the bossac.exe yet)
when i run the sketch , error code that i got (other solution method "self replicating arduino sketch")
sketch_apr17a.ino:202:3: error: #endif without #if
sketch_apr17a.ino: In function 'int copier()':
sketch_apr17a.ino:67:25: error: 'BYTE' was not declared in this scope
sketch_apr17a.ino:83:23: error: 'BYTE' was not declared in this scope
blinkvirus.ino: In function 'void loop()':
blinkvirus.ino:49:25: error: 'BYTE' was not declared in this scope
Error compiling.
This report would have more information with
"Show verbose output during compilation"
enabled in File > Preferences.