go_away

Author Topic: bootloader compatible with linux & mac?  (Read 3104 times)

0 Members and 1 Guest are viewing this topic.

Offline AdminTopic starter

  • Administrator
  • Supreme Robot
  • *****
  • Posts: 11,658
  • Helpful? 169
    • Society of Robots
bootloader compatible with linux & mac?
« on: June 06, 2008, 11:31:39 AM »
Has anyone tried or can verify that this bootloader:
http://www.societyofrobots.com/bootloader_50_robot.shtml

works with either linux and/or mac?

Offline pomprocker

  • Supreme Robot
  • *****
  • Posts: 1,430
  • Helpful? 16
  • Sorry miss, I was giving myself an oil-job.
Re: bootloader compatible with linux & mac?
« Reply #1 on: June 06, 2008, 12:24:01 PM »
It's an exe file....

I can't run fboot.exe on my mac.

Offline kf6snj

  • Jr. Member
  • **
  • Posts: 17
  • Helpful? 0
Re: bootloader compatible with linux & mac?
« Reply #2 on: June 08, 2008, 07:48:36 AM »
To run it under Linux or Mac, you'd need to use an emulator like wine or dosbox. It can be done, but it does use more ram.

Offline dunk

  • Expert Roboticist
  • Supreme Robot
  • *****
  • Posts: 1,086
  • Helpful? 21
Re: bootloader compatible with linux & mac?
« Reply #3 on: June 08, 2008, 08:36:05 AM »
the "fast tiny & mega UART bootloader" includes source code for the PC side of the bootloader.
it could probably be built for Mac/Linux without too much work.

dunk.

Offline sprince09

  • Jr. Member
  • **
  • Posts: 16
  • Helpful? 0
Re: bootloader compatible with linux & mac?
« Reply #4 on: January 27, 2009, 10:04:21 PM »
I hate to dig up an old topic... but has anyone had any luck getting the PC side of the bootloader (FBOOT.exe) to run under linux? I've tried wine-ing and dosemu-ing it, but that hasn't seemed to work. I could be doing it wrong though  :-\ I was considering trying to re-write some of the code using linux serial io instead of windows, but after looking at the source, I think that might be beyond my ability level. Anyway, anyone have any luck with it?

Offline ib1yysguy

  • Jr. Member
  • **
  • Posts: 37
  • Helpful? 0
Re: bootloader compatible with linux & mac?
« Reply #5 on: January 31, 2009, 07:10:28 PM »
Admin,

Is your command prompt-based programming app for the Axon written in C++? If so, I bet I could make an OSX compatible version of it with XCode without much more work than building a GUI and pasting the code in. Of course I'd need the code from you to get it to interface with the Axon. Think I can give it a shot?

Offline AdminTopic starter

  • Administrator
  • Supreme Robot
  • *****
  • Posts: 11,658
  • Helpful? 169
    • Society of Robots
Re: bootloader compatible with linux & mac?
« Reply #6 on: January 31, 2009, 08:15:02 PM »
Here is all the bootloader code attached. I didn't write 99% of it though, credits are in the code.

Offline sprince09

  • Jr. Member
  • **
  • Posts: 16
  • Helpful? 0
Re: bootloader compatible with linux & mac?
« Reply #7 on: February 01, 2009, 10:27:05 AM »
I ended up installing a WinXP virtual machine on my comp for various reasons. I've noticed that the usb bootloader takes a very, very long time to download code onto my axon from the VM.

For example, under a straight WinXP system, the bootloader takes ~30 seconds to download new programs... on the WinXP VM it takes ~600 seconds (yes 600s, that's not a typo). Any clue as to why this might be?

Host machine is Ubuntu 8.10.

Offline AdminTopic starter

  • Administrator
  • Supreme Robot
  • *****
  • Posts: 11,658
  • Helpful? 169
    • Society of Robots
Re: bootloader compatible with linux & mac?
« Reply #8 on: February 01, 2009, 11:16:18 AM »
For example, under a straight WinXP system, the bootloader takes ~30 seconds to download new programs... on the WinXP VM it takes ~600 seconds (yes 600s, that's not a typo). Any clue as to why this might be?

To be honest not a clue. On my PC code never takes more than 10 seconds, yet several people report it taking up to 45 seconds on their PCs. For some people it worked fine for weeks, then started taking a long time. We haven't been able to pin point the problem :-\

http://www.societyofrobots.com/axon/axon_FAQ.shtml#boot_slow

Offline sprince09

  • Jr. Member
  • **
  • Posts: 16
  • Helpful? 0
Re: bootloader compatible with linux & mac?
« Reply #9 on: February 03, 2009, 05:35:33 PM »
Google found one possible explanation:

http://www.virtualbox.org/report/21

Apparently, virtualbox has some problems with usb2.0 (uses up 100% of one of my core's when running a usb device). When I get a chance tomorrow I will see if running usb 1.x instead fixes the problem...

Offline dunk

  • Expert Roboticist
  • Supreme Robot
  • *****
  • Posts: 1,086
  • Helpful? 21
Re: bootloader compatible with linux & mac?
« Reply #10 on: February 03, 2009, 08:09:51 PM »
it ran fine for me in an XP virtual machine when i was testing the bootloader.
i have not used it since though as i don't really need a bootloader.

dunk.

Offline sprince09

  • Jr. Member
  • **
  • Posts: 16
  • Helpful? 0
Re: bootloader compatible with linux & mac?
« Reply #11 on: February 03, 2009, 10:11:32 PM »
Also just read this post:

http://www.societyofrobots.com/robotforum/index.php?topic=5911.0

I'll check out rolling back to SP2 if USB2 isn't the issue... more tomorrow.

Offline sprince09

  • Jr. Member
  • **
  • Posts: 16
  • Helpful? 0
Re: bootloader compatible with linux & mac?
« Reply #12 on: February 04, 2009, 08:42:00 AM »
I can confirm the SP3 was the problem. Running my WinXP virtual machine with USB2 disable had no effect on the boatloader speed. "Updating" back to SP2 reduced my load times from ~10 minutes down to ~20 seconds.

Thanks a lot guys :)

 


Get Your Ad Here

data_list