-
Notifications
You must be signed in to change notification settings - Fork 14
Description
I'm trying to flash 328P chip using 32u4 proto but having problems when verifying fuses. Has anybody encountered a similar problem?
The only change I made to the sketch was at the top these lines to match the basic proto SPI pins.
#define SCK 15
#define MISO 14
#define MOSI 16
#define RESET 9
#define CLOCK 10 // self-generate 8mhz clock - handy!
#define BUTTON 5
#define PIEZOPIN A3
This is my output on the serial monitor:
13:06:45.788 -> Reading signature:950F
13:06:45.788 -> Searching for image...
13:06:45.788 -> Found "optiboot_atmega328.hex" for atmega328P
13:06:45.788 ->
13:06:45.788 -> Erasing chip
13:06:45.788 ->
13:06:45.788 -> Setting fuses
13:06:45.788 -> Set Lock Fuse to: 3F -> E000 Set Low Fuse to: FF -> A000 Set High Fuse to: DE -> A800 Set Ext Fuse to: 5 -> A400
13:06:45.880 -> Verifying fuses...
13:06:45.880 -> Lock Fuse: 3F is 3F Low Fuse: 0xFF is 0xFF High Fuse: 0xDE is 0xFFFailed to verify fuses