| View previous topic :: View next topic |
| Author |
Message |
mpthompson
Joined: 02 Jan 2006 Posts: 650 Location: San Carlos, CA
|
Posted: Sun Jan 15, 2006 1:42 am Post subject: TWI/I2C Bootloader Programmer |
|
|
I finally got the TWI/I2C Bootloader Programmer (TWIBootProg) uploaded here into the CVS tree. This is the application I use to program the OpenServo from my PC using the Dimax U2C-12 USB/I2C bridge hardware.
This application is an MS Visual Studio .NET 2003 project. For those not wanting to build from source code, the application binary is checked into the CVS tree here.
It should be pretty straighforward to use. Just make sure the OpenServo bootloader is active when you attempt to program. I have a power switch wired to my servos which makes it easy to enter the bootloader.
Let me know if there are any questions using this application.
-Mike |
|
| Back to top |
|
 |
helvo
Joined: 01 Feb 2006 Posts: 1
|
|
| Back to top |
|
 |
andylippitt Site Admin
Joined: 02 Jan 2006 Posts: 155 Location: Denver, CO
|
Posted: Thu Feb 02, 2006 3:53 pm Post subject: |
|
|
Just about any PC to I2C bridge will do, but Mike's TWIBootProg doesn't support any hardware other than the Dimax. You'll have to do some extra work to get it running with one of these.
1) Parse the hex file, not that big a deal, you don't really need to support all the features of an Intel hex file to be able to get this running.
2) Rewrite the bus mastering code so that you can send the data loaded from the hex to the bootloader, one page at a time.
I was too cheap to spring for the Dimax myself and built a serial/i2c bridge using a PIC uC. I've got a bit of cleaning up to do, but I'd happily post to code for you as a starting point. The PIC code is in a ""C-like"" language and the PC side is in C#. |
|
| Back to top |
|
 |
andylippitt Site Admin
Joined: 02 Jan 2006 Posts: 155 Location: Denver, CO
|
Posted: Thu Feb 02, 2006 5:04 pm Post subject: |
|
|
| When considering I2C bridges, make sure that the I2C implementation supports clock stretching. |
|
| Back to top |
|
 |
stone76567
Joined: 01 Oct 2010 Posts: 9
|
Posted: Thu Nov 11, 2010 3:02 am Post subject: |
|
|
hi to all..
thanks for all the information ive learned in this site..
btw im new here and thanks for accepting me..
thanks a lot and God Bless.. _________________ how to treat depression |
|
| Back to top |
|
 |
|