BBB and USBprog

Problems uploading, serial connections, BUBs, P4, FTDI cables, etc
Post Reply
chromicant
Posts: 1
Joined: Fri Dec 18, 2009 9:53 am

BBB and USBprog

Post by chromicant » Fri Dec 18, 2009 10:03 am

I happen to have a USBprog from a previous project, and moving over to the BBB. I would love to have a "Arduino IDE" compatable way to program the BBB. Where my head is spinning slightly is that I have options galore with the USBprog. I could use it as an AVR ISP2, which seems like a nuclear option. I could also set up the USBprog as a USB-RT232 device, but I believe it's a 5V output (and I can level shift it to 3.3V if needed). If I am reading the BUB schematic correctly, that should, in theory, work.

Worse case scenario is I just roll my own firmware and implement an interface that'll work. Wanted to see if anyone else has tried this before I start toasting things...

paul
Site Admin
Posts: 733
Joined: Mon May 12, 2008 4:19 pm

Re: BBB and USBprog

Post by paul » Sun Dec 20, 2009 1:56 pm

Code: Select all

I happen to have a USBprog from a previous project, and moving over to the BBB. I would love to have a "Arduino IDE" compatable way to program the BBB. 
I don't have any experience with that hardware - it appears to be ISP programmer so you could just bypass the bootloader in your Arduino workflow - there are instructions for how to do this on the Arduino site, but I can't tell you where just now.

Code: Select all

Where my head is spinning slightly is that I have options galore with the USBprog. I could use it as an AVR ISP2, which seems like a nuclear option. I could also set up the USBprog as a USB-RT232 device, but I believe it's a 5V output (and I can level shift it to 3.3V if needed). If I am reading the BUB schematic correctly, that should, in theory, work.
If you can figure out how to bit-bang the RX and TX lines with the USBprog - that will work too, also to hook up something for the DTR / reset line - which should be a signal on the ISP header. Sorry I can't be of more help, but it seems like you should have a lot of options, as you say to get it going.

bperrybap
Posts: 42
Joined: Wed Jun 03, 2009 3:17 am
Location: Dallas, TX

Re: BBB and USBprog

Post by bperrybap » Sun Dec 20, 2009 6:38 pm

So you are wanting to use the USBprog with a BBB?
Where does the BUB come into this?

I had a quick look at the USBprog site.
Before going any further you may want to verify that it can do what might
be needed on a BBB board.

The avr ISP2 "clone" page does not list either the atmega168 or atmega328p as
being supported - perhaps it is just out of date documentation.
http://www.ixbat.de/index.php?page_id=178
Note his link to the source code is wrong.
He has: http://www.ixbat.de..//files/admin/embe ... mk2.tar.gz
and it should be:
http://www.ixbat.de/files/admin/embedde ... mk2.tar.gz
I glanced at the code and it looks generic so it will probably work for the 168/328p.

In the firmware pool, USB serial CDC interface shows up as "alpha" state and
there doesn't not seem to be any additional information or
anything to download for this at this point.
http://www.ixbat.de/index.php?page_id=168
You may need to email Sauter and see where he is on this.

So at this point, it looks like unless you can get/write some CDC firmware for your USBprog, you are limited to
to ISP programming on the BBB which also means you won't be able to use a bootloader
or use the serial port on the BBB for any sort of input/output with the USBprog.


--- bill

Post Reply