Skip to content

About

A programmer for the AVR architecture microcontroller, specifically the ATmega328p, for the Raspberry Pi Pico.

Resources

Stars

0 stars

Watchers

0 watching

Forks

 
 

Latest commit

 

History

23 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

avr-pico-programmer

A programmer for the AVR architecture microcontroller, specifically the Atmega328P, for the Raspberry Pi Pico.

  • Turns the Raspberry Pi Pico into an AVR programmer via SPI programming mode.
  • Instructions are streamed using the serial port to the Raspberry Pi Pico via USB which handles the rest.
  • Verifies flashed pages after programming to confirm a successful flash.

How to use

Flashing software

  • You can either use the released .uf2 binary file and drop it onto the Raspberry Pi Pico which has the compiled source code, or compile it yourself with the Raspberry Pi Pico SDK for C/C++.

Physical setup

  • You simply need to connect all the SPI and other relavent pins from the Raspberry Pi Pico to the ATmega Chip
  • Pinout - MOSI 19 SCK 18 MISO 20 RESET17

Programming

  • The tool is designed so that you can also program firmware using a serial port client, which you can do so by using a tool such as PuTTY and pasting in the hex of each individual byte of the firmware, each being followed by a space (" ") - after all hex bytes have been sent, press enter and the programmer will begin erasing and flashing the AVR controller.
  • Alternatively, I have written a client for this in Node.js which takes in a binary file of the firmware and automatically interfaces with the Pico programmer: image

About

A programmer for the AVR architecture microcontroller, specifically the ATmega328p, for the Raspberry Pi Pico.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages