Goldilocks Bootloader

An advanced Arduino-compatible board with ATmega1284P and ATmega32u2 MCUs for experienced users. More RAM than a Mega, but in a convenient Uno-style form factor. [Product page]
Post Reply
vicatcu
Posts: 7
Joined: Thu Aug 29, 2013 3:32 pm

Goldilocks Bootloader

Post by vicatcu » Thu Aug 29, 2013 3:42 pm

Hi Jon, Phillip, and others,

Congrats on Goldilocks! I'm interested in the Arduino-compatible bootloader you guys developed for the ATMega1284P. Can you shed any light on how tightly it is coupled to the ATmega32u2? Would the bootloader "just work" with an FT232RL chip (e.g. wired up like a Duemilanove) in place of the ATmega32u2? If not, what changes do you expect would be necessary?

Thanks in Advance,
Vic

feilipu
Posts: 52
Joined: Fri Jul 19, 2013 6:17 am

Re: Goldilocks Bootloader

Post by feilipu » Sat Aug 31, 2013 9:00 pm

Vic,

Depending on your compile environment, I'd expect that there should be no changes needed.

The biggest issue I had was working around the serial timing issues caused by using the 32u2 at 16MHz, which won't apply in your application. If you're using a FT232RL then you can choose an upload baud rate which works best for your 1284p.

You'll probably even find that it will work better. Serial timing from the 32U2 (16U2) is a compromise at best.

Attached is the same code as found in my post from 18 August 2013.
goldilocks_stk500v2.zip
Goldilocks 1284p firmware
(26.02 KiB) Downloaded 205 times
http://feilipu.me/2013/03/08/goldilocks ... uno-clone/
Last edited by feilipu on Tue Oct 01, 2013 12:59 pm, edited 1 time in total.

vicatcu
Posts: 7
Joined: Thu Aug 29, 2013 3:32 pm

Re: Goldilocks Bootloader

Post by vicatcu » Tue Sep 03, 2013 8:06 pm

Setting the BAUDRATE to 38400 in the bootloader firmware and enabling the BLINK_LED_WHILE_WAITING worked for me. Looking at the serial traffic reaching the chip is mostly what showed me the light. Thanks for getting back to me!

Post Reply