Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ATmega-328pb does not boot load with arduino isp #333

Open
shanmugamIoT opened this issue Feb 10, 2025 · 3 comments
Open

ATmega-328pb does not boot load with arduino isp #333

shanmugamIoT opened this issue Feb 10, 2025 · 3 comments

Comments

@shanmugamIoT
Copy link

I have a custom board using with atmega-328bp micro controller and i try to bootload using with arduino-isp along with your package but could not bootloads at a lot of attempts .i am so frustating about that so expers please give me a suggestions

@MCUdude
Copy link
Owner

MCUdude commented Feb 10, 2025

I suggest you paste the entire error message Avrdude gives you.

@shanmugamIoT
Copy link
Author

home/siva/.arduino15/packages/MiniCore/tools/avrdude/8.0-arduino.1/bin/avrdude -C/home/siva/.arduino15/packages/MiniCore/tools/avrdude/8.0-arduino.1/etc/avrdude.conf -v -patmega328pb -cstk500v1 -P/dev/ttyACM0 -b19200 -e -Ulock:w:0xff:m -Uefuse:w:0b11110110:m -Uhfuse:w:0xd7:m -Ulfuse:w:0b11111111:m
Avrdude version 8.0-arduino.1
Copyright see https://github.com/avrdudes/avrdude/blob/main/AUTHORS

System wide configuration file is /home/siva/.arduino15/packages/MiniCore/tools/avrdude/8.0-arduino.1/etc/avrdude.conf
User configuration file /home/siva/.avrduderc does not exist

Using port : /dev/ttyACM0
Using programmer : stk500v1
Setting baud rate : 19200
AVR part : ATmega328PB
Programming modes : SPM, ISP, HVPP, debugWIRE
Programmer type : STK500
Description : Atmel STK500 v1
HW Version : 2
FW Version : 1.18
Topcard : Unknown
Vtarget : 0.0 V
Varef : 0.0 V
Oscillator : Off
SCK period : 0.0 us
XTAL frequency : 7.372800 MHz

AVR device initialized and ready to accept instructions
Device signature = 00 00 00 (retrying)
Device signature = 00 00 00 (retrying)
Device signature = 00 00 00
Error: invalid device signature
Error: expected signature for ATmega328PB is 1E 95 16

  • double check connections and try again, or use -F to carry on regardless

Avrdude done. Thank you.
Error while burning bootloader.

@MCUdude
Copy link
Owner

MCUdude commented Feb 10, 2025

AVR device initialized and ready to accept instructions
Device signature = 00 00 00 (retrying)
Device signature = 00 00 00 (retrying)
Device signature = 00 00 00

The Arduino as ISP programmer can't communicate with the ATmega328PB target. Do you have a schematic you can share? It may be because no external clock/crystal is connected to the 328PB, or it's not oscillating. I always recommend getting a proper ISP programmer such as the USBasp, because there are so many hardware-related issues when users use the Arduino as ISP.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants