Teensy 1.0 lcd backpack - Flashing custom firmware

For Adafruit customers who seek help with microcontrollers

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
Orrin_Fox
 
Posts: 5
Joined: Sat Apr 19, 2014 3:52 pm

Teensy 1.0 lcd backpack - Flashing custom firmware

Post by Orrin_Fox »

Alright, so I really need some help on this one. I purchased the lcd backpack + 16x2 lcd combo a while back, and found out it was based on teensy 1.0
Adafruit does not "Officially" support flashing custom firmware but I would like to. I came close to resetting it but I am having some issues.

This ( according to adafruit ) is the official layout of the PCB.
Image

Now according to them there is a jumper ( SJ1 ) Between the HWB pin and ground, this would need to be shorted out to ground it so
when you shorted RESET and GND it would reset. This is what I figured while looking at the official teensy 1.0 schematic here.
Image

However when I attempt this, the LCD performs a cycle ( glows red, then down again ) and it continues it's normal course. So here is my question:

Did adafruit overwrite the halfkay bootloader? or am I doing something wrong to attempt to get it to flash custom firmware?
Now they open sourced the code to the program that runs it, they wouldn't do this to BANNED me would they? ;)
Anyways, any help would be appreciated. I asked on their github about this ( doesn't look marked as question yet ) So I thought
I would ask here.

Orrin_Fox
 
Posts: 5
Joined: Sat Apr 19, 2014 3:52 pm

Re: Teensy 1.0 lcd backpack - Flashing custom firmware

Post by Orrin_Fox »

Looks like when I send it into reset it is recognized as "AVR CDC Bootloader" Whenever i refresh it in system profiler. Useful information?

Orrin_Fox
 
Posts: 5
Joined: Sat Apr 19, 2014 3:52 pm

Re: Teensy 1.0 lcd backpack - Flashing custom firmware

Post by Orrin_Fox »

Well, looks like I found it out. After some bus snooping I saw the big magic:
L U F A C D C 1 0

It's the avr109 compatible lufa bootloader ;)
confirmed too:

Code: Select all

sudo avrdude -p at90usb162 -P /dev/cu.usbmodem1d131 -c avr109 -U hfuse:r:-:h

Connecting to programmer: .
Found programmer: Id = "LUFACDC"; type = S
    Software Version = 1.0; No Hardware Version given.
Programmer supports auto addr increment.
Programmer supports buffered memory access with buffersize=128 bytes.

Programmer supports the following devices:
    Device code: 0x44

avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.00s

avrdude: Device signature = 0x1e9482
avrdude: reading hfuse memory:

Reading | ################################################## | 100% 0.00s

avrdude: writing output file "<stdout>"
0xd0

avrdude: safemode: Fuses OK (H:F4, E:D0, L:DE)

avrdude done.  Thank you.

Locked
Please be positive and constructive with your questions and comments.

Return to “Microcontrollers”