Page 1 of 1

arduino IDE, what kind of programmer is USB BUB II?

Posted: Sun Apr 21, 2019 9:01 pm
by WJCarpenter
I'm not completely sure how this is supposed to work, so this could be a stupid question.

In the Arduino IDE, what should I select from the Tools > Programmer menu for the USB BUB II? There are over a dozen choices. I can rule some out, but what is the best choice?

(Feel free to tell me that that menu item doesn't matter at all. That would make me happy enough.)

Re: arduino IDE, what kind of programmer is USB BUB II?

Posted: Mon Apr 22, 2019 9:35 am
by paul
WJCarpenter,

The BUB is based on FT232 chip, which is intended only as a USB to serial link. To build a ICSP you need a couple more signals and enough digital logic to coordinate them, this implies a dedicated microcontroller. The FT232 chip does not have accessible programmable logic on the chip so it won't work.

So the BUB is only useful for programming Arduino boards that ALREADY have a bootloader on them, but DO NOT have usb-to serial chips. Early Arduinos used the FT232 but then the Arduino guys started using an Atmel chip which is presumably cheaper. The Atmel chip also has the unfortunate tendency for it's firmware to become corrupt and stop working - necessitating a reflash. In any case, most Arduino type boards already have USB to serial communication, which is the BUB's function.

The BUB is also useful for logging into boards like Raspberry PI with a serial connection from a laptop terminal, using protols like FTP an Telnet.

Hope that helps,
Paul Badger

Re: arduino IDE, what kind of programmer is USB BUB II?

Posted: Mon Apr 22, 2019 12:11 pm
by WJCarpenter
OK, so I think what you are saying is that the Tools > Programmer menu is irrelevant for the USB BUB II. Cool I can work with(out) that.