OpenSource InterFace (V2)

Discussions relating to development and use of the OpenServo hardware.

Moderators: jharvey, Secondary Admin, Admins

Post Reply
ginge
Site Admin
Posts: 1031
Joined: Sat Jan 14, 2006 2:34 pm
Location: Manchester, UK
Contact:

OpenSource InterFace (V2)

Post by ginge » Wed Nov 07, 2007 3:59 pm

Hi all,

I am starting a new thread related to the new OpenServo InterFace USB to I2C interface. For any question or comments please post below.

New Features of the new OSIF V2
  • Hardware I2C Support for up to 333khz speed
  • AVR programming support to allow for flashing any AVR/OpenServo with AVRDude
  • Windows and Linux drivers
  • Built in bootloader to allow for firmware upgrades over USB
The new bootloader allows you to flash the firmware of the OSIF so you can use the latest and greatest features, and also customise your OSIF. For example you could program it to run as a standalone robot controller, or program the extra GPIO to do whatever pleases you.

The AVR programming support is also very useful. If you don't have an AVR programmer like the STK500 or STK200 you can now use the OSIF to flash your AVR chips.

The good news is that the features are backward compatible with the V1 hardware, you just need to do a flash upgrade with an AVR programmer. I will fully document these new and exciting features over the coming days.

If you want to get one, please go to the RobotFUZZ webshop

Barry
Last edited by ginge on Thu Nov 08, 2007 12:29 am, edited 3 times in total.

robotjay
co-admin
Posts: 225
Joined: Tue Aug 01, 2006 3:58 am
Location: Nebraska, USA
Contact:

Post by robotjay » Wed Nov 07, 2007 4:40 pm

Barry,

This looks awesome! I am so happy to hear that you finally implemented hardware I2C. 333kHz is very fast, and certainly fast enough for bipedal robotics communications. I can't wait to get my hands on one of these. Nice work!

-Jay
"Nothing is fool-proof; For we fools are ingenious and will find a way."

bren
Posts: 79
Joined: Sun Jul 01, 2007 6:56 pm

Post by bren » Sat Nov 10, 2007 10:07 pm

Hi Barry

Just wondering if I can update the openservo program with this board yet. A couple of my board went a bit wrong when I was trying out the software. Or can I just use my AVRISP.

Thanks for all your help, getting me up and running. I have a couple of servo's set up now 3 down 13 more to go :cry: .

Bren

ginge
Site Admin
Posts: 1031
Joined: Sat Jan 14, 2006 2:34 pm
Location: Manchester, UK
Contact:

Post by ginge » Sat Nov 10, 2007 10:19 pm

Hi Bren,

I am not sure I understand the question, but I will attempt anyway.

The working board you have should be the latest firmware, but without the bootloader. The bootloader is in beta test phase, and if you wish you can check it out of CVS and flash it. I also have some Windows and Linux tools to flash using the bootloader, but these are not in CVS.

If you check out the CVS you can compile the latest firmware and apply using your AVRISP.

Barry

bren
Posts: 79
Joined: Sun Jul 01, 2007 6:56 pm

Post by bren » Sat Nov 10, 2007 11:03 pm

So for the confusion I will try and be a little more clear.

The programing board you sent me works fine, really happy with it. What I wanted to know is can I use your board to program my servos, the bootloader works on the servos as they turn up as 0xF7. So I just need to update the program side of things.

Thanks Bren

ginge
Site Admin
Posts: 1031
Joined: Sat Jan 14, 2006 2:34 pm
Location: Manchester, UK
Contact:

Post by ginge » Sun Nov 11, 2007 12:00 am

Hi Bren,

I understand now, thanks for clarifying. Easy enough. When they show up as 0x7f Click the button marked "..." next the the grayed out "Flash" button. Select the firmware .hex file you want to flash, and then click on "Flash"

Make sure to only have one servo in the bootloader stage at a time.

Barry

bren
Posts: 79
Joined: Sun Jul 01, 2007 6:56 pm

Post by bren » Sun Nov 11, 2007 10:17 am

Thanks for that. I will try on monday.

Bren

bren
Posts: 79
Joined: Sun Jul 01, 2007 6:56 pm

Post by bren » Mon Nov 12, 2007 1:18 pm

Hi Barry

Thanks for all your help over the last week I'm slowly getting up to speed and figuring out what is going on. I just tried to flash the device using you app but it failed. I followed your steps but it gives a "I2C Write reboot failed". I tried it on two different boards on that was only the bootloader thus at 0x7F and another that was working. Both failed.

Any ideas.

Bren

ginge
Site Admin
Posts: 1031
Joined: Sat Jan 14, 2006 2:34 pm
Location: Manchester, UK
Contact:

Post by ginge » Mon Nov 12, 2007 1:22 pm

Hi Bren,

There is a bug in the OpenServo v3 bootloader section that fails the reboot after the flash. All you need to do is manually power cycle the OpenServo. If it gets as far as telling you that it tried to reboot, it successfully did the firmware update.

This bug is fixed in CVS.

Barry

rotdrop
Posts: 16
Joined: Tue Dec 15, 2009 9:49 pm
Location: Germany, Ruhrpott
Contact:

Post by rotdrop » Sun Jan 03, 2010 8:25 pm

So, how to use avrdude with the osif? From reading the source I would assume that I have to hack avrdude to accept the OSIF as a USBTINY programmer (so I have simply to adjust the USB-ids), is that correct? Sorry, I have searched the wiki and the forum, but did not find information about it; maybe I was just blind.

Thx,

Claus

rotdrop
Posts: 16
Joined: Tue Dec 15, 2009 9:49 pm
Location: Germany, Ruhrpott
Contact:

Post by rotdrop » Sun Jan 03, 2010 10:10 pm

Fine. Got it working. Now: how do I add this information to the wiki? Apparently, jharvey has already added some info here:

http://www.openservo.com/moin.cgi/OSIF_ ... ction=show

It seems that I am not allowed to change that (right?) I could add information about usbtiny and avrdude and a patch to avrdude which allows to use it with the OSIF.

Thx,

Claus

jharvey
co-admin
Posts: 362
Joined: Sun Mar 15, 2009 12:06 pm
Location: Maine USA
Contact:

Post by jharvey » Mon Jan 04, 2010 10:47 am

Have you requested a wiki account? It might take ginge a little bit to get your account setup, but I believe you should be able to make changes. Just needs to be setup.

I'll look forward to your change.

rotdrop
Posts: 16
Joined: Tue Dec 15, 2009 9:49 pm
Location: Germany, Ruhrpott
Contact:

Post by rotdrop » Mon Jan 04, 2010 11:10 am

Well, I have created a Wiki-account, however, the page is marked is "immutable". Strange enough, even the WikiSandBox page appears as immutable. I suppose I really have to wait a little bit.

G74un3
Posts: 1
Joined: Tue Nov 03, 2015 7:33 am

Parts list

Post by G74un3 » Tue Nov 03, 2015 9:48 pm

Hello

Do anybody have a parts list for the OSIF?


I am trying to get one together with a Open Servo board v2. Since I am not able to buy them it seems like a have to produce them myself. I have found the parts list for the OS board but still misses one for the OSIF. I have found the schematic for the OSIF on the Github repo. But I am still in doubt about the details on some of the parts.

Can anybody help with this?

Thank you in advance!

Michael231
Posts: 2
Joined: Sun Jan 03, 2016 6:53 am

Post by Michael231 » Mon Jan 04, 2016 6:37 am

The working board you have should be the latest firmware, but without the bootloader. :roll:

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests