[atreus] Re: Atreus Firmware Update using OSX

  • From: Chris Goellner <cgoellner@xxxxxxxxx>
  • To: atreus@xxxxxxxxxxxxx
  • Date: Thu, 24 Mar 2016 22:29:39 -0400

But it turns out I have this issue on my macbook running 10.11.4. Not sure if 
it’s a macbook issue or 10.11.4 issue. The keyboard works but I’ve got no /dev/ 
entry.

On Mar 24, 2016, at 9:31 PM, Phil Hagelberg <phil@xxxxxxxxxx> wrote:

Bringing this conversation to the mailing list in case anyone else is
familiar with the problem.

Alex Schröder <kensanata@xxxxxxxxx> writes:

I can't seem to find the /dev entry I need according to this URL:
https://github.com/technomancy/tmk_keyboard/tree/atreus/keyboard/atreus#installing-on-mac-os-x
The list just doesn't change. Online, I found various people
complaining about the same issue. Maybe something caused by El
Capitan? (I was googling for "path to usb keyboard mac")
I noticed that Pololu uses the same info as your page so I assume this
a recent change?
https://www.pololu.com/docs/0J36/5.b

In my Mac's System Information I find the following USB Info:

Atreus:

Product ID: 0x047c
Vendor ID: 0x16c0
Version: 1.00
Manufacturer: Technomancy
Location ID: 0x06400000

I don't have a Mac to test this on unfortunately, but yeah, the docs at
Pololu should describe the same process. The only difference is that the
controllers can usually be programmed without going into bootloader mode
because normally the bootloader keeps the USB device used for
programming active during normal operation. But when the controller is
acting as a USB HID device, it is mutually exclusive with the bootloader
device; they interfere with each other somehow.

So to confirm; the keyboard quits functioning as a keyboard (for 8
seconds) when it goes into bootloader mode, but the /dev/... node
remains where it was instead of a new device node being created? It's
possible that the HID device disappears and is replaced with the
bootloader device on the same /dev/... node for some reason. Does the OS
report still having the keyboard attached while bootloader mode is active?

The avrdude man page says something about various programmers, but I
have no idea what that means.

Most of these chips have a separate "programmer" device which handles
taking the new firmware and flashing it onto the main controller chip,
but the atmega32u4 has it all integrated over USB in the bootloader
which is referred to as "avr109". This should never need to be changed.

-Phil


Other related posts: