Not able to upload the code in SparkFun BlackBoard C

Hi,

Recently I am unable to upload any code in Sparkfun Blackboard C. The error is mentioned below.

Sketch uses 936 bytes (2%) of program storage space. Maximum is 32256 bytes.

Global variables use 9 bytes (0%) of dynamic memory, leaving 2039 bytes for local variables. Maximum is 2048 bytes.

/home/pi/Downloads/arduino-1.8.12/hardware/tools/avr/bin/avrdude -C/home/pi/Downloads/arduino-1.8.12/hardware/tools/avr/etc/avrdude.conf -v -patmega328p -carduino -P/dev/ttyUSB0 -b115200 -D -Uflash:w:/tmp/arduino_build_509646/Blink.ino.hex:i

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 “/home/pi/Downloads/arduino-1.8.12/hardware/tools/avr/etc/avrdude.conf”

User configuration file is “/home/pi/.avrduderc”

User configuration file does not exist or is not a regular file, skipping

Using Port : /dev/ttyUSB0

Using Programmer : arduino

Overriding Baud Rate : 115200

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x00

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x00

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x00

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x00

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x00

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x00

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x00

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x00

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x00

avrdude done. Thank you.


Also, I tried to burn bootloader using ARDUINO as ISP…

/home/pi/Downloads/arduino-1.8.12/hardware/tools/avr/bin/avrdude -C/home/pi/Downloads/arduino-1.8.12/hardware/tools/avr/etc/avrdude.conf -v -patmega328p -cstk500v1 -P/dev/ttyACM0 -b19200 -e -Ulock:w:0x3F:m -Uefuse:w:0xFD:m -Uhfuse:w:0xDE:m -Ulfuse:w:0xFF:m

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 “/home/pi/Downloads/arduino-1.8.12/hardware/tools/avr/etc/avrdude.conf”

User configuration file is “/home/pi/.avrduderc”

User configuration file does not exist or is not a regular file, skipping

Using Port : /dev/ttyACM0

Using Programmer : stk500v1

Overriding Baud Rate : 19200

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 : STK500

Description : Atmel STK500 Version 1.x firmware

Hardware Version: 2

Firmware Version: 1.18

Topcard : Unknown

Vtarget : 0.0 V

Varef : 0.0 V

Oscillator : Off

SCK period : 0.1 us

avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.02s

avrdude: Device signature = 0x00ff00

avrdude: Expected signature for ATmega328P is 1E 95 0F

Double check chip, or use -F to override this check.

avrdude done. Thank you.

Error while burning bootloader.

Any solution please.

Hi,

One more thing that I have observed that avrdude device signature keeps changing .

hope that this gives some more clue.

I even changed the device signature in .conf file saved and reloaded arduino … still it didn’t work.


./avrdude -C/home/pi/Downloads/arduino-1.8.12/hardware/tools/avr/etc/avrdude.conf -v -patmega328p -cstk500v1 -P/dev/ttyACM1 -b19200 -e -Ulock:w:0x3F:m -Uefuse:w:0xFD:m -Uhfuse:w:0xDE:m -Ulfuse:w:0xFF:m -v -v -v

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 “/home/pi/Downloads/arduino-1.8.12/hardware/tools/avr/etc/avrdude.conf”

User configuration file is “/home/pi/.avrduderc”

User configuration file does not exist or is not a regular file, skipping

Using Port : /dev/ttyACM1

Using Programmer : stk500v1

Overriding Baud Rate : 19200

avrdude: Send: 0 [30] [20]

avrdude: Send: 0 [30] [20]

avrdude: Send: 0 [30] [20]

avrdude: Recv: . [14]

avrdude: Recv: . [10]

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

Block Poll Page Polled

Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack


flash 65 6 128 0 yes 32768 128 256 4500 4500 0xff 0xff

Block Poll Page Polled

Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack


lfuse 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00

Block Poll Page Polled

Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack


hfuse 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00

Block Poll Page Polled

Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack


efuse 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00

Block Poll Page Polled

Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack


lock 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00

Block Poll Page Polled

Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack


calibration 0 0 0 0 no 1 0 0 0 0 0x00 0x00

Block Poll Page Polled

Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack


signature 0 0 0 0 no 3 0 0 0 0 0x00 0x00

Programmer Type : STK500

Description : Atmel STK500 Version 1.x firmware

avrdude: Send: A [41] . [80] [20]

avrdude: Recv: . [14]

avrdude: Recv: . [02]

avrdude: Recv: . [10]

avrdude: Send: A [41] . [81] [20]

avrdude: Recv: . [14]

avrdude: Recv: . [01]

avrdude: Recv: . [10]

avrdude: Send: A [41] . [82] [20]

avrdude: Recv: . [14]

avrdude: Recv: . [12]

avrdude: Recv: . [10]

avrdude: Send: A [41] . [98] [20]

avrdude: Recv: . [14]

avrdude: Recv: . [00]

avrdude: Recv: . [10]

Hardware Version: 2

Firmware Version: 1.18

Topcard : Unknown

avrdude: Send: A [41] . [84] [20]

avrdude: Recv: . [14]

avrdude: Recv: . [00]

avrdude: Recv: . [10]

avrdude: Send: A [41] . [85] [20]

avrdude: Recv: . [14]

avrdude: Recv: . [00]

avrdude: Recv: . [10]

avrdude: Send: A [41] . [86] [20]

avrdude: Recv: . [14]

avrdude: Recv: . [00]

avrdude: Recv: . [10]

avrdude: Send: A [41] . [87] [20]

avrdude: Recv: . [14]

avrdude: Recv: . [00]

avrdude: Recv: . [10]

avrdude: Send: A [41] . [89] [20]

avrdude: Recv: . [14]

avrdude: Recv: . [00]

avrdude: Recv: . [10]

Vtarget : 0.0 V

Varef : 0.0 V

Oscillator : Off

SCK period : 0.1 us

avrdude: Send: A [41] . [81] [20]

avrdude: Recv: . [14]

avrdude: Recv: . [01]

avrdude: Recv: . [10]

avrdude: Send: A [41] . [82] [20]

avrdude: Recv: . [14]

avrdude: Recv: . [12]

avrdude: Recv: . [10]

avrdude: Send: B [42] . [86] . [00] . [00] . [01] . [01] . [01] . [01] . [03] . [ff] . [ff] . [ff] . [ff] . [00] . [80] . [04] . [00] . [00] . [00] . [80] . [00] [20]

avrdude: Recv: . [14]

avrdude: Recv: . [10]

avrdude: Send: E [45] . [05] . [04] . [d7] . [c2] . [00] [20]

avrdude: Recv: . [14]

avrdude: Recv: . [10]

avrdude: Send: P [50] [20]

avrdude: Recv: . [14]

avrdude: Recv: . [10]

avrdude: AVR device initialized and ready to accept instructions

Reading | | 0% 0.00savrdude: Send: V [56] 0 [30] . [00] . [00] . [00] [20]

avrdude: Recv: . [14]

avrdude: Recv: . [00]

avrdude: Recv: . [10]

avrdude: Send: V [56] 0 [30] . [00] . [01] . [00] [20]

avrdude: Recv: . [14]

avrdude: Recv: . [ff]

avrdude: Recv: . [10]

Reading | ################# | 33% 0.01savrdude: Send: V [56] 0 [30] . [00] . [02] . [00] [20]

avrdude: Recv: . [14]

avrdude: Recv: . [00]

avrdude: Recv: . [10]

Reading | ################################################## | 100% 0.02s

avrdude: Device signature = 0x00ff00 (probably m328p)

avrdude: Send: V [56] P [50] . [00] . [00] . [00] [20]

avrdude: Recv: . [14]

avrdude: Recv: . [00]

avrdude: Recv: . [10]

avrdude: safemode read 1, lfuse value: 0

avrdude: Send: V [56] P [50] . [00] . [00] . [00] [20]

avrdude: Recv: . [14]

avrdude: Recv: . [ff]

avrdude: Recv: . [10]

avrdude: safemode read 2, lfuse value: ff

avrdude: safemode: Verify error - unable to read lfuse properly. Programmer may not be reliable.

avrdude: safemode: To protect your AVR the programming will be aborted

avrdude: Send: Q [51] [20]

avrdude: Recv: . [14]

avrdude: Recv: . [10]

avrdude done. Thank you.

Hello.

Sorry to hear you’re having issues and I think you might have a bad board.

PM me your order number and I’ll see what I can do to help. :slight_smile:

Hi …board was purchased vide SparkFun Invoice

#1130963 in the month of January 2020.

I also have atmel ice basic programmer. Let me know whether this can be used to revive back the board.

Because of the age of your order I can’t send a replacement, but I can get you a store credit for this. Once that goes through you can use the store credit to get the updated version which is part number [SPX-16282.

Store credit ticket #23111 has been issued requesting that an amount equal to part# SPX-15296 get credited to your account. A customer service representative will process the ticket. When you want to redeem your credit, simply place a new order and once you are at the payment selection screen, select the gift certificate option and enter an the amount you want to use. Customer service should send an e-mail notification when the ticket has been processed. Please do not sent your device(s) back.
](https://www.sparkfun.com/products/16282)