Page 1 of 1

Re: Programming via ISP

Posted: Fri Aug 24, 2012 1:42 pm
by rimai
I'm still not following.
What do you do to upload again??
Are you disconnecting it?
How can you program controllertest.hex if it was failing before?
You've gotta be doing something that I didn't quite grasp yet :(

Re: Programming via ISP

Posted: Fri Aug 24, 2012 2:22 pm
by Bryan
Copy the InitialInternalMemory.hex and controllertext.hex created from RA/Arduino files to a directory

Using Atme Stuido 4 or 6 and the dragon programmer

Erase device

Flash InitialInternalMemory.hex. Fflashes and verifies fine. LCD screen shows Internal memory loaded...
Flash the controller test.hex and it flashes but fails verification,screen is black

#$&*swear

Erase device
Flash controllertest.hex. and it flashes fine and lcd screen shows "Internal memory required.
Flash InitialInternalMemory.hex Flashes but fails verification. LCD screen is black

$#*swear again <g>

Re: Programming via ISP

Posted: Fri Aug 24, 2012 2:28 pm
by rimai
Oh ok... You erase the chip, now I got it :)
I'm not used to AVR Studio.
Everytime I burn with avrdude, the chip gets erased by default automatically, but then again, I only burn bootloaders :)

Re: Programming via ISP

Posted: Fri Aug 24, 2012 4:44 pm
by Bryan
Will try a blank 328P, perhaps the one on the board has been damaged somehow.

Re: Programming via ISP

Posted: Tue Aug 28, 2012 1:26 pm
by Bryan
It's a stumper, tried a breadboard with a blank 328P and programming by ISP from Atmel Studio, exact same issue. I did manage to find a sketch from about a year ago and it flashed fine on the RA board using ISP. Seems to be something with the newer Arduino 1.0.1. Will have to pick up a USB to TTL cord and program from the RA Arduino.

Re: Programming via ISP

Posted: Tue Aug 28, 2012 5:53 pm
by Bryan
Managed to find a bit of a work around, copy the setup code of the internalmemory sketch into another sketch. It will flash and verify and work,

Re: Programming via ISP

Posted: Tue Aug 28, 2012 9:44 pm
by fatman
Now that is weird.