Society of Robots - Robot Forum

Software => Software => Topic started by: madsci1016 on January 07, 2010, 04:58:46 PM

Title: Trying to use Bootloader from Virtual Machine
Post by: madsci1016 on January 07, 2010, 04:58:46 PM
I have Win 7 64 bit running on my computers now, which makes using the FBOOT bootloader useless, as it is not compatible with the operating system. I tried to get around this by installing a VMware player virtual machine with win xp.

That trick seems not to work, as the bootloader seems to run ten times slower (the spinning /'s go very slow compared to what they used to , and it takes 10 seconds for it to register that the Axon has been turned on) and it then says wrong device detected, and says the device detected is FFFFFFFF.

Any ideas? has anyone else tried this?
Title: Re: Trying to use Bootloader from Virtual Machine
Post by: z.s.tar.gz on January 07, 2010, 05:06:54 PM
Virtual machines can be tricky.
First of all, if you have xp sp3 then get rid of it. sp3 doesn't work well with the bootloader at all.
Secondly, virtual machines will be much slower with I/O than any native OS, as it not only has to emulate it but run it back and forth through the host OS.

I strongly recommend virtualbox for a variety of reasons, but in this case because it has very good support for all kinds of devices. (and is generally faster than vmware)
Title: Re: Trying to use Bootloader from Virtual Machine
Post by: SmAsH on January 07, 2010, 05:09:07 PM
Have you tried using an actual os like tinyxp booted off a usb?
Title: Re: Trying to use Bootloader from Virtual Machine
Post by: madsci1016 on January 07, 2010, 05:23:15 PM
It's not sp3, i am aware of that.

I will give virtual box a try.

And i am avoiding dual booting as that is time intensive.
Title: Re: Trying to use Bootloader from Virtual Machine
Post by: z.s.tar.gz on January 07, 2010, 06:41:32 PM
There's always linux too... ;D
Unless you're one of those people who think they're too good for linux, in which case forget I said anything about it.
Title: Re: Trying to use Bootloader from Virtual Machine
Post by: madsci1016 on January 07, 2010, 07:33:49 PM
I have nothing against Linux, I just don't have the patience or the time to do the research and work to convert all the activities on my computers to a operating system that is not ready to support what i need from the start.

Eventually The main controller on SAGAR will be a PC 104 board with a linux kernal, and i will learn to program robotics on linux.
Title: Re: Trying to use Bootloader from Virtual Machine
Post by: madsci1016 on January 07, 2010, 08:31:57 PM
ARGGG no dice. Same result with virtual box.

Between this and the Sparkfun lottery disaster, i should have stayed in bed today.

Is there an issue with Win XP sp2 fresh install? A missing patch or something? I have not updated it at all.
Title: Re: Trying to use Bootloader from Virtual Machine
Post by: madsci1016 on January 07, 2010, 10:20:23 PM
Well, this might not be a virtual PC thing as now my girlfriends Vista laptop, which yesterday flashed it just fine, is doing the same thing.

What could cause a REALLY slow response to the FBOOT flasher?
Title: Re: Trying to use Bootloader from Virtual Machine
Post by: madsci1016 on January 07, 2010, 11:55:57 PM
Well, it look like the USB chip died, as it does the same thing on the XP machine i first started to play with it on. This just is not my day.

Well, looks like time to get an Axon 2. I have always felt i had half an Axon to begin with; the power LED was crushed on mine since delivery.  :D
Title: Re: Trying to use Bootloader from Virtual Machine
Post by: Admin on January 09, 2010, 11:56:39 PM
Quote
the power LED was crushed on mine since delivery.
Really?! But everything else was fine? Really odd . . .

When I get back to the US this summer, I can mail you a new LED for free if you want - your choice of green or red :P


Also, have you ever used the 3.3V output? Its sensitive, and two people have reported frying their USB by abusing it . . .
Title: Re: Trying to use Bootloader from Virtual Machine
Post by: madsci1016 on January 10, 2010, 12:07:37 AM
I used the 3.3V a long time ago when messing with a Venus GPS. now the Venus has it's own regulator and i have not touched those pins in months.

And don't worry about the LED, i just ordered an Axon II from you anyway.

side note, Where are you? Work or pleasure?
Title: Re: Trying to use Bootloader from Virtual Machine
Post by: Admin on January 10, 2010, 01:19:43 AM
side note, Where are you? Work or pleasure?
I'm in Bangkok at the moment. I tend to work on robots/SoR ~6 hours a day. The rest is all pleasure ;)
Title: Re: Trying to use Bootloader from Virtual Machine
Post by: madsci1016 on January 14, 2010, 08:49:27 PM
Turns out it was a bad USB <-> Uart chip. I severed the trace lines, and soldered on a pin headers (and glued them to the Axon), and using a FDTI I was able to use the bootloader to flash the chip no problem with WinXP in vmware.

Altough I can't seem to be able to use the bootloader over an Xbee radio link. Has anyone tried this?
Title: Re: Trying to use Bootloader from Virtual Machine
Post by: Admin on January 14, 2010, 10:21:25 PM
Quote
Altough I can't seem to be able to use the bootloader over an Xbee radio link. Has anyone tried this?
yeap . . .
http://www.societyofrobots.com/robotforum/index.php?topic=3899.0 (http://www.societyofrobots.com/robotforum/index.php?topic=3899.0)