Dave,
The UART is Atmel 0. Is this the right one?
The Version is R1131. It looks like this Robostix version doesn't need the
hack to fix this problem.
-Melanie
Message: 7
Date: Sat, 15 Mar 2008 20:32:18 -0700
From: "Dave Hylands" <dhylands@...>
Subject: Re: [Gumstix-users] UART on Robostix and AVRStudio
To: "General mailing list for gumstix users."
<gumstix-users@...>
Message-ID:
<c32efac40803152032i4ce0d302p4b03f70b8b642eaf@...>
Content-Type: text/plain; charset=ISO-8859-1
Hi Melanie,
> I was able to download the bootloader to my robostix and verify it from
the
> flash. I had to go to Board and set and read the clock frequency at 125
kHz
> to get this part of the problem fixed.
> After changing the clock frequency to 125 kHz I was able to program and
> verify the flash contents has the bootloader.
>
> Now my problem is that I am no longer using the AVRISP cable. I have moved
> to the UART cable which has a FT232R Breakout board to my USB port. AVR
> Studio can't connect any longer to the Robostix.
>
> My settings are to connect via STK500 or AVRISP and auto detect the COM
> port.
>
> No response from the board. I wonder how I can download a program via UART
> to Robostix now that I have the bootloader there.
>
> Please advise?
I use a program called BootHost that I wrote. It's a command line program.
I put a copy compiled for windows over here:
<http://www.davehylands.com/gumstix-wiki/boothost>
There is also a copy of the cygwin1.dll that I have. If you don't have
cygwin installed, then you should copy that into the same directory as
boothost.exe.
To use boothost, run:
boothost SomeFile.hex
This will use COM1. If you want to use another port you can specify
that using the --port option.
Run boothost first, then start the robostix. Boothost should detect
the robostix and download the hex file.
When you power on the r
--
Dave Hylands
Vancouver, BC, Canada
http://www.DaveHylands.com/ <http://www.davehylands.com/>
------------------------------
Message: 8
Date: Sat, 15 Mar 2008 20:38:42 -0700
From: "Dave Hylands" <dhylands@...>
Subject: Re: [Gumstix-users] UART on Robostix and Power supply
To: "General mailing list for gumstix users."
<gumstix-users@...>
Message-ID:
<c32efac40803152038n609358aoac831a5c0c2b2540@...>
Content-Type: text/plain; charset=ISO-8859-1
Hi Melanie,
On Sat, Mar 15, 2008 at 8:05 AM, Melanie <melanie.vida@...> wrote:
> I used my voltmeter to measure the voltage across the +V and GND on the
UART
> of the Robostix and no voltage registered. Does the UART get power from
the
> laptop USB or from the Robostix power supply? Or do you supply a separate
> power to the FT232R breakout board? I measured the voltage across the
> breakout board and there also no voltage. Is it possible my UART cable has
> bad wiring?
Which UART?
Which version of robostix do you have?
There is a problem with some versions of the robostix and one of the
ground pins.
See:
<http://docswiki.gumstix.com/Robostix_modifications>
--
Dave Hylands
Vancouver, BC, Canada
http://www.DaveHylands.com/ <http://www.davehylands.com/>
------------------------------
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
------------------------------
_______________________________________________
gumstix-users mailing list
gumstix-users@...
https://lists.sourceforge.net/lists/listinfo/gumstix-users
End of gumstix-users Digest, Vol 23, Issue 73
*********************************************
On Sat, Mar 15, 2008 at 11:05 AM, Melanie <melanie.vida@...> wrote:
> I used my voltmeter to measure the voltage across the +V and GND on the
> UART of the Robostix and no voltage registered. Does the UART get power from
> the laptop USB or from the Robostix power supply? Or do you supply a
> separate power to the FT232R breakout board? I measured the voltage across
> the breakout board and there also no voltage. Is it possible my UART cable
> has bad wiring?
>
> -Melanie
>
> On Sat, Mar 15, 2008 at 10:58 AM, Melanie <melanie.vida@...> wrote:
>
> > Dave,
> >
> > I was able to download the bootloader to my robostix and verify it from
> > the flash. I had to go to Board and set and read the clock frequency at 125
> > kHz to get this part of the problem fixed.
> > After changing the clock frequency to 125 kHz I was able to program and
> > verify the flash contents has the bootloader.
> >
> > Now my problem is that I am no longer using the AVRISP cable. I have
> > moved to the UART cable which has a FT232R Breakout board to my USB port.
> > AVR Studio can't connect any longer to the Robostix.
> >
> > My settings are to connect via STK500 or AVRISP and auto detect the COM
> > port.
> >
> > No response from the board. I wonder how I can download a program via
> > UART to Robostix now that I have the bootloader there.
> >
> > Please advise?
> >
> > Thank you,
> >
> > Melanie
> >
> >
> > Message: 7
> > Date: Sun, 9 Mar 2008 22:07:35 -0800
> > From: "Dave Hylands" <dhylands@...>
> > Subject: Re: [Gumstix-users] Flashing Orange LED
> > To: "General mailing list for gumstix users."
> > <gumstix-users@...>
> > Message-ID:
> > <c32efac40803092307p6c483a8fg6baa25943b3f2c53@...>
> > Content-Type: text/plain; charset=ISO-8859-1
> >
> > Hi Melanie,
> >
> > On Sun, Mar 9, 2008 at 11:20 AM, Melanie <melanie.vida@...> wrote:
> > > In the Makefile for the bootloader-stk500 I found these parameters
> > set:
> > >
> > > MK_OS = avr
> > > MK_AVR_PROGRAMMER ?= stk500
> > > MK_stk500_PORT = COM1
> > >
> > > ifeq ($(TARGET),)
> > >
> > > # No TARGET specified, so use some default
> > >
> > > MK_AVR_MCU = m16
> > > MK_AVR_FREQ = 4MHz
> > > all:
> > >
> > >
> > > I'm using the USB port and the avrisp from digikey
> > >
> > http://search.digikey.com/scripts/DkSearch/dksus.dll?Detail?name=ATAVRISP2-ND
> > >
> > > So it seems the makefile is all wrong, for my programmer?
> > >
> > > Also this is set for ATMega16 and I'm using ATmega128. Will need to
> > know
> > > what to change from the programmer so I can set this up correctly?
> >
> > I use this partiicular bootloader on a wide variety of ATMega
> > processors, so I designed it to be used with variables passed in on
> > the make command line.
> >
> > If I invoke it like
> >
> > make TARGET=Stinger
> >
> > Then it will use these variables:
> >
> > Stinger_MCU = m8
> > Stinger_FREQ = 16MHz
> > Stinger_LED = B 3
> > Stinger_SW =
> >
> > This will in turn cause the MK_AVR_MCU, MK_AVR_FREQ, MK_OBJ_DIR and
> > MK_BIN_DIR variable to be set for a particular target. Stinger is one
> > of my minisumo robots, and it has the LEDs connected up a particular
> > way.
> >
> > To configure the bootloader.
> >
> > If you invoke it like
> >
> > make
> >
> > Then it will use:
> >
> > MK_AVR_MCU = m16
> > MK_AVR_FREQ = 4MHz
> >
> > You can override any of these on the command line, like so:
> >
> > make MK_AVR_MCU=m128 MK_AVR_FREQ=16MHz
> >
> > will configure it for an ATMega128 running at 16 MHz, which is what
> > the robostix uses.
> >
> > I just updated the Makefile to add a target for the robostix, so you can
> > now do:
> >
> > make TARGET=robostix
> >
> > to build a robostix version of the bootloader.
> >
> > --
> > Dave Hylands
> > Vancouver, BC, Canada
> > http://www.DaveHylands.com/ <http://www.davehylands.com/>
> >
> >
> >
> > ------------------------------
> >
> > ------------------------------
> > -------------------------------------------
> > This SF.net email is sponsored by: Microsoft
> > Defy all challenges. Microsoft(R) Visual Studio 2008.
> > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> >
> > ------------------------------
> >
> > _______________________________________________
> > gumstix-users mailing list
> > gumstix-users@...
> > https://lists.sourceforge.net/lists/listinfo/gumstix-users
> >
> >
> > End of gumstix-users Digest, Vol 23, Issue 41
> > *********************************************
> > Reply
> >
> > Forward
> >
> >
> >
> >
>
|