Programming via ISP

Related to the development libraries, released by Curt Binder
Post Reply
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Programming via ISP

Post 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 :(
Roberto.
Bryan
Posts: 147
Joined: Wed Jul 06, 2011 1:49 am
Location: Vancouver, B.C.

Re: Programming via ISP

Post 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>
-=Bryan=-
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Programming via ISP

Post 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 :)
Roberto.
Bryan
Posts: 147
Joined: Wed Jul 06, 2011 1:49 am
Location: Vancouver, B.C.

Re: Programming via ISP

Post by Bryan »

Will try a blank 328P, perhaps the one on the board has been damaged somehow.
-=Bryan=-
Bryan
Posts: 147
Joined: Wed Jul 06, 2011 1:49 am
Location: Vancouver, B.C.

Re: Programming via ISP

Post 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.
-=Bryan=-
Bryan
Posts: 147
Joined: Wed Jul 06, 2011 1:49 am
Location: Vancouver, B.C.

Re: Programming via ISP

Post 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,
-=Bryan=-
fatman
Posts: 121
Joined: Wed May 30, 2012 10:44 pm

Re: Programming via ISP

Post by fatman »

Now that is weird.
Image
Post Reply