Ok,

I've followed the tutorial on
http://docwiki.gumstix.org/Robostix#Programming

I've done all the wiring, with jumpers and everything, and when I run the ./uisp i get the error message:

An error has occurred during the AVR initialization.
* Target status:
Vendor Code = 0xff, Part Family = 0xff, Part Number = 0xff
 
Check if the programmer is properly connected.
The wiring may be incorrect or target might be 'damaged'.
Any sugestions?

What kind of damage?

I've already ordered another robostix in case this one is really messed up... 100$ just to send it to Portugal... this project is becoming... expensive.

Regards

Marques

On 21/12/06, Mario Marques < mario.marques@gmail.com> wrote:
I know... but I was still doing the i2c-test, to see if the i2c configurations where right...

STK500 is the AVR programmer for the ATMega's.


Regards

Marques

On 21/12/06, timcrawford@comcast.net < timcrawford@comcast.net> wrote:
BTW:  The only reason to use jtag is to flash the boot loader.
All Robostix programming is done via gumstix.
http://docwiki.gumstix.org/Robostix#Programming

Tim
-------------- Original message ----------------------
From: timcrawford@comcast.net
> > I have an STK500 does it do the business?
>
> I have not heard of the STK500.
> The Robostix has JTAG available
> http://docwiki.gumstix.org/Robostix_I/O_pins
>
> > I would like to buy one, since I don't have enough electronic knowledge to
> > build from scratch a jtag adapter.
>
> JTAG is a universal method for accessing the internals of chips
> It is very standard.  This one looks good
> http://store.systronix.com/s.nl/it.A/id.145/.f?sc=2&category=20
>
> Tim
>
> > I would google it but there must be a common adapter or something that is-.
> > more helpfull when working with Robostix.
> > Is that soldering documented somewhere?
> >
> > Thanks and sorry for all this questions
> > Regards
> >
> > Marques
> >
> > On 21/12/06, timcrawford@comcast.net <timcrawford@comcast.net> wrote:
> > >
> > > Hi Mario,
> > >
> > > What expansion boards do you have?  Did you want to build
> > > one or buy one?  Try googleing for it.
> > > I know the STUART has the jtag signals available on the 20 pin connector.
> > > You will need to solder some wires from the 20 pin connector to the jtag
> > > connector.
> > >
> > > Tim
> > >
> > > -------------- Original message ----------------------
> > > From: "Mario Marques" < mario.marques@gmail.com>
> > > > Dave,
> > > >
> > > > Can you tell me please recommend and tell me where I can find a cheap
> > > jtag
> > > > adapter, and how do I connect it to the Robostix.
> > > >
> > > > Regards
> > > >
> > > > Marques
> > > >
> > > > On 21/12/06, Dave Hylands < dhylands@gmail.com> wrote:
> > > > >
> > > > > Hi Mario,
> > > > >
> > > > > > This is my first post on the mailing list.
> > > > > > Why does Gumstix have a mailing list and not a forum?
> > > > >
> > > > > The gumstix used to have a forum, and lots of people asked questions,
> > > > > but many of the questions went unanswered. Personally, I only like
> > > > > forums that have an email interface (very few of them do).
> > > > >
> > > > > > Searching this sourceforge mailing list is a nightmare.
> > > > > > This is very 90's.
> > > > >
> > > > > I agree. You can search through the archives using this interface
> > > > > instead:
> > > http://dir.gmane.org/gmane.linux.distributions.gumstix.general
> > > > >
> > > > > > I have successfully programmed my robostix several times using an
> > > > > STK500.
> > > > > > following the docwiki pages.
> > > > > >
> > > > > > Then yesterday when connecting the robostix, AvrStudio gave the
> > > > > following
> > > > > > error:
> > > > > >
> > > > > > A problem occured when executing the command. See the command output
> > > for
> > > > > > more info.
> > > > > > Tip: Check that the ISP programming frequency
> > > specified..........etc.
> > > > > etc.
> > > > > >
> > > > > > And now I can not view/change th fuses or program the Atmega128. I
> > > > > verified
> > > > > > that the STK500 is able to communicate with a Atmega8 that i happend
> > > to
> > > > > have
> > > > > > laying around so the problem is definitely with the robostix.
> > > > > >
> > > > > > I looked up this error on google and found a posting on a *forum*
> > > where
> > > > > > someone complained about the same thing and thought that it was
> > > because
> > > > > > maybe the fuse setting has changed magically in a way to not allow
> > > > > serial
> > > > > > programming any more (SPEN bit).
> > > > > >
> > > > > > Don't know what to do. I'm going to order another robostix because i
> > > > > need to
> > > > > > continue to work on this project but it would be great if you can
> > > help
> > > > > me
> > > > > > resolve this problem. Is there a way to do parallel programming with
> > > the
> > > > > > robostix and STK500 and will that help?
> > > > >
> > > > > I took a look at what's required to do parallel programming, and not
> > > > > all of the pins are easily accessible. I've heard pf ATMegas having
> > > > > weird problems like the one you describe, but haven't run into it
> > > > > personally.
> > > > >
> > > > > It sounds like one of the lock bits got programmed or something.
> > > > >
> > > > > Setting up to do JTAG programming is probably easier than parallel
> > > > > programming, but requires a JTAG adapter.
> > > > >
> > > > > And I don't recall hearing of anyone else repoting this problem
> > > > > before, so it's unlikely you'll find anything in the archives.
> > > > >
> > > > > I have had the crystal on one of my robostix go wonky (I get some
> > > > > really interesting flashing patterns on the LEDs when I download
> > > > > Flash-LED). If the crystal got disconnected, then that will also cause
> > > > > programming to fail. So if you have a scope, check to see if the
> > > > > crystal is functioning properly. I haven't gotten around to removing
> > > > > the crystal to figure out whats going on.
> > > > >
> > > > > I've been able to recover a couple of devices (that got their fuses
> > > > > set to use an external clock when none was present) by injecting a
> > > > > clock into the X1 pin. I believe that the STK500 has some clock
> > > > > sources available for doing this.
> > > > >
> > > > > --
> > > > > Dave Hylands
> > > > > Vancouver, BC, Canada
> > > > > http://www.DaveHylands.com/
> > > > >
> > > > >
> > > -------------------------------------------------------------------------
> > > > > Take Surveys. Earn Cash. Influence the Future of IT
> > > > > Join SourceForge.net's Techsay panel and you'll get the chance to
> > > share
> > > > > your
> > > > > opinions on IT & business topics through brief surveys - and earn cash
> > > > >
> > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> > > > > _______________________________________________
> > > > > gumstix-users mailing list
> > > > > gumstix-users@lists.sourceforge.net
> > > > > https://lists.sourceforge.net/lists/listinfo/gumstix-users
> > > > >
> > >
> > >
> > > -------------------------------------------------------------------------
> > > Take Surveys. Earn Cash. Influence the Future of IT
> > > Join SourceForge.net's Techsay panel and you'll get the chance to share
> > > your
> > > opinions on IT & business topics through brief surveys - and earn cash
> > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> > > _______________________________________________
> > > gumstix-users mailing list
> > > gumstix-users@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/gumstix-users
> > >
>
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> gumstix-users mailing list
> gumstix-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gumstix-users


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
gumstix-users mailing list
gumstix-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gumstix-users