Hello, folks. I have a question regarding the initial flashing of the Blue ESC, done using an AVR ISP programmer, before the bootloader is installed. In particular, I want to make sure I’m wiring the programmer to the processor correctly during this procedureto avoid letting out the smoke:
Processor pin 15 (MOSI) <-> programmer pin MOSI
Processor pin 16 (MISO) <-> programer pin MISO
Processor pin 17 (SCK) <-> programmer pin SCK
Processor pin 4, 6 (VCC) <-> programmer pin VCC
Processor pin 3, 21 (GND) <-> programmer pin GND
Should the processor be powered from the programmer, or the local 5V supply (with the programmer and processor grounds connected)? Without a “special tool” for contacting the pins, what’s the safest way to access the MISO and MOSI pins - temporarily solder a fine wire?
The connections look good. I would strongly recommend powering the ESC from a different source and not through the programming. Most programmers aren’t designed to handle much power output.
Rusty, thanks again for the quick reply. When I say “powered from the programmer”, I mean during the flashing procedure only - I would expect that a device intended for programming a processor would at least have enough juice to power that processor.
The socket flashing tool is really cool - thank you for the link!
Rusty, gotcha - I hadn’t considered that option. So, I’ll generate the +5 Vcc locally on the ESC by powering the battery bus, leave the programmer <-> Vcc disconnected, and ties the programmer and ESC grounds together.