FEATHER 328p CANNOT BE PROGRAMED

Please tell us which board you are using.
For CircuitPython issues, ask in the Adafruit CircuitPython forum.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
User avatar
Limnidytis
 
Posts: 20
Joined: Tue Jul 14, 2020 3:23 pm

FEATHER 328p CANNOT BE PROGRAMED

Post by Limnidytis »

Hello everyone -- I recently purchased two 382P feather boards + OLED wings and plan to use them in an embedded project.
Unfortunately like a lot of other people I’ve discovered that the boards are difficult program. I’ve only assembled one board w/OLED wing and initially downloaded the OLED sketch to the board. Although the initial download worked, none have worked since. I get either a “port is not available” or a “not in sync error”.

Things I have checked

1. Cable is good
2. Re-instaled SiLabs USB drivers
3. I can see usb port via terminal

Have tried pressing reset when starting the upload — 100% failure rate for me.

I am on a MAC — OS 11.6
ARDUINO 1.8.13

I am shocked when google reported how common this issue is —

Suggestions and insights would be appreciated, and thank for any help that you offer,

User avatar
mikeysklar
 
Posts: 13936
Joined: Mon Aug 01, 2016 8:10 pm

Re: FEATHER 328p CANNOT BE PROGRAMED

Post by mikeysklar »

The reset button timing can be difficult to workout. We can help you transition to another Feather model if you like. I have had to do multiple reset presses spaced apart during upload to get the bootloader to grab. Of course make sure your board selection and com port are correct and not jumping around within the Arduino IDE.

User avatar
adafruit2
 
Posts: 22148
Joined: Fri Mar 11, 2005 7:36 pm

Re: FEATHER 328p CANNOT BE PROGRAMED

Post by adafruit2 »

@mikey the com port doesnt change on the feather 328p
@limin please post a screenshot of your tools menu

User avatar
Limnidytis
 
Posts: 20
Joined: Tue Jul 14, 2020 3:23 pm

Re: FEATHER 328p CANNOT BE PROGRAMED

Post by Limnidytis »

E952F72D-2D74-4EDF-BA29-17CD466E2E49.jpeg
E952F72D-2D74-4EDF-BA29-17CD466E2E49.jpeg (239.33 KiB) Viewed 182 times
I

User avatar
Limnidytis
 
Posts: 20
Joined: Tue Jul 14, 2020 3:23 pm

Re: FEATHER 328p CANNOT BE PROGRAMED

Post by Limnidytis »

Which model feather would you recommend for a small wearable binary clock?

User avatar
mikeysklar
 
Posts: 13936
Joined: Mon Aug 01, 2016 8:10 pm

Re: FEATHER 328p CANNOT BE PROGRAMED

Post by mikeysklar »

@Limnidytis,

Let's focus a bit on this setup first to understand where the issue is before transitioning.

Can you unlug the OLED and any other connected hardware from the Feather 328 and try uploading the default blink sketch? It will be under "Examples -> Basics -> Blink" from the IDE.

User avatar
Limnidytis
 
Posts: 20
Joined: Tue Jul 14, 2020 3:23 pm

Re: FEATHER 328p CANNOT BE PROGRAMED

Post by Limnidytis »

I tried previously, and again today -- no luck -- printout is below
one other thing that I should mention is that the yellow led is flashing several times a second.

avrdude: Version 6.3-20190619
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2014 Joerg Wunsch

System wide configuration file is "/Users/jeb/Library/Arduino15/packages/arduino/tools/avrdude/6.3.0-arduino17/etc/avrdude.conf"
User configuration file is "/Users/jeb/.avrduderc"
User configuration file does not exist or is not a regular file, skipping

Using Port : /dev/cu.usbserial-0232A94F
Using Programmer : arduino
Overriding Baud Rate : 57600
AVR Part : ATmega328P
Chip Erase delay : 9000 us
PAGEL : PD7
BS2 : PC2
RESET disposition : dedicated
RETRY pulse : SCK
serial program mode : yes
parallel program mode : yes
Timeout : 200
StabDelay : 100
CmdexeDelay : 25
SyncLoops : 32
ByteDelay : 0
PollIndex : 3
PollValue : 0x53
Memory Detail :

Block Poll Page Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack
----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
eeprom 65 20 4 0 no 1024 4 0 3600 3600 0xff 0xff
flash 65 6 128 0 yes 32768 128 256 4500 4500 0xff 0xff
lfuse 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
hfuse 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
efuse 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
lock 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
calibration 0 0 0 0 no 1 0 0 0 0 0x00 0x00
signature 0 0 0 0 no 3 0 0 0 0 0x00 0x00

Programmer Type : Arduino
Description : Arduino

avrdude: stk500_getparm(): (a) protocol error, expect=0x14, resp=0xe0

avrdude: stk500_getparm(): (a) protocol error, expect=0x14, resp=0x00

avrdude: stk500_getparm(): (a) protocol error, expect=0x14, resp=0xe0

avrdude: stk500_getparm(): (a) protocol error, expect=0x14, resp=0x00
Hardware Version: 83981627
Firmware Version: -356421472.32766
Topcard : STK502

avrdude: stk500_getparm(): (a) protocol error, expect=0x14, resp=0x00

avrdude: stk500_getparm(): (a) protocol error, expect=0x14, resp=0xe0

avrdude: stk500_getparm(): (a) protocol error, expect=0x14, resp=0xe0

avrdude: stk500_getparm(): (a) protocol error, expect=0x14, resp=0xe0

avrdude: stk500_getparm(): (a) protocol error, expect=0x14, resp=0x00
Vtarget : 3268.0 V
Varef : 3.2 V
Oscillator : 0.001 Hz
SCK period : 35553.4 us


avrdude: stk500_getparm(): (a) protocol error, expect=0x14, resp=0xe0

avrdude: stk500_getparm(): (a) protocol error, expect=0x14, resp=0x00
avrdude: stk500_initialize(): (a) protocol error, expect=0x14, resp=0x00
avrdude: initialization failed, rc=-1
Double check connections and try again, or use -F to override
this check.

avrdude: stk500_disable(): protocol error, expect=0x14, resp=0xe0

avrdude done. Thank you.

the selected serial port
does not exist or your board is not connected

User avatar
adafruit2
 
Posts: 22148
Joined: Fri Mar 11, 2005 7:36 pm

Re: FEATHER 328p CANNOT BE PROGRAMED

Post by adafruit2 »

does the red LED blinkw hen you press the reset button on the feather

User avatar
Limnidytis
 
Posts: 20
Joined: Tue Jul 14, 2020 3:23 pm

Re: FEATHER 328p CANNOT BE PROGRAMED

Post by Limnidytis »

YES

User avatar
adafruit2
 
Posts: 22148
Joined: Fri Mar 11, 2005 7:36 pm

Re: FEATHER 328p CANNOT BE PROGRAMED

Post by adafruit2 »

how many times does it blink?

User avatar
Limnidytis
 
Posts: 20
Joined: Tue Jul 14, 2020 3:23 pm

Re: FEATHER 328p CANNOT BE PROGRAMED

Post by Limnidytis »

1 PUSH = 3 FLASHES
2 PUSHES = 4 FLASHES 1 FOR 1ST + 3 for 2nd

I MADE A VIDEO, BUT IT WAS TOO BIG TO UPLOAD.

User avatar
adafruit2
 
Posts: 22148
Joined: Fri Mar 11, 2005 7:36 pm

Re: FEATHER 328p CANNOT BE PROGRAMED

Post by adafruit2 »

well the bootloader is there, maybe check you have the right serial port selected? also you'll need hte CP210x driver installed

User avatar
Limnidytis
 
Posts: 20
Joined: Tue Jul 14, 2020 3:23 pm

Re: FEATHER 328p CANNOT BE PROGRAMED

Post by Limnidytis »

johnnybrian@Johnnys-iMac ~ % ls /dev/cu*
/dev/cu.BTIntuosProM-WacomPaper /dev/cu.URT1
/dev/cu.Bluetooth-Incoming-Port /dev/cu.usbserial-0232A94F
/dev/cu.SLAB_USBtoUART
johnnybrian@Johnnys-iMac ~ %
it seems that the driver is installed - I use the usbserial port above.

Ive tried many tines how, but the board has never accepted any other programming -- what should I try now ?

User avatar
adafruit2
 
Posts: 22148
Joined: Fri Mar 11, 2005 7:36 pm

Re: FEATHER 328p CANNOT BE PROGRAMED

Post by adafruit2 »

try the SLAB device

User avatar
Limnidytis
 
Posts: 20
Joined: Tue Jul 14, 2020 3:23 pm

Re: FEATHER 328p CANNOT BE PROGRAMED

Post by Limnidytis »

BANG, there IT IS Now I can program the board with 100% success. To make it work, I have to wait until the download starts and then double click the reset

Thanks so much for your help and patience Now I need a find the smallest RTC for the project

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

Return to “Feather - Adafruit's lightweight platform”