Anomaly when uploading sketch via ISP vs Programmer. (screenshot)


my setup:

bare-bones atmega328p-pu
bootloaded w/ arduino , desired fuse-settings w/ "arduinoisp" example in ide.
(more detailed info on process in *this post*)
using programming shield: yet programming shield

testing has shown working great.
(i'm able bootload w/ desired fuse settings no problemo)


my problem:

if upload arduino sketch via "upload using programmer" (aka: if upload sketch using shield using programming) there anomaly when upload arduino sketch via isp (aka: if remove freshly bootloaded chip, , upload sketch via isp ftdi basic sparkfun)


the anomaly:


the lock byte , clock calibration byte differ.


the reason found anomaly:

if uploaded arduino sketch w/ either approach (programmer vs isp) works. sketch runs. everyone's happy.

but... if upload sketch 1 approach, cant upload sketches on same microcontroller via other approach.


i recon problem stems anomaly pointed out.

thoughts?

(i'm using nick gammon's fuse checker way... seen in screenshot)

that output text. lot easier read if copied , pasted code block.


Arduino Forum > Using Arduino > Programming Questions > Anomaly when uploading sketch via ISP vs Programmer. (screenshot)


arduino

Comments