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

Bad CPU type in executable & Failed chip erase: uploading error: exit status 1 #3

Open
atlasmooth opened this issue Feb 6, 2025 · 0 comments

Comments

@atlasmooth
Copy link

atlasmooth commented Feb 6, 2025

First, thanks for pulling this together.

Sadly, I am not able to burn the bootloader. I am trying to use this project library and instructions to program a ATTiny45 with a simple Keyboard sketch example

I am using an Arduino UNO as an ISP programmer, based on the instructions from highlowtech.org post. And I can load simple blink sketches with that setup.

I have other circuit ready with the Hardware setup you recommended. The space for the ATtiny45 is there waiting. But at the step of burning the bootloader, as instructed in the Software Setup, and still using the Arduino UNO as programmer, I get the following error

Library/Arduino15/packages/arduino/tools/avrdude/6.0.1-arduino5/bin/avrdude: line 4: /Library/Arduino15/packages/arduino/tools/avrdude/6.0.1-arduino5/bin/avrdude_bin: Bad CPU type in executable

Library/Arduino15/packages/arduino/tools/avrdude/6.0.1-arduino5/bin/avrdude: line 4: Library/Arduino15/packages/arduino/tools/avrdude/6.0.1-arduino5/bin/avrdude_bin: Undefined error: 0

Failed chip erase: uploading error: exit status 1

I hope you could give me a clue on what I am doing wrong. I hope provided enough context (let me know if I didn't)

using VUSB-AVR v1.0.1
Arduino IDE 2.2.1

this is my circuit to program the ATtiny with the Arduino:

Image

thanks in advance

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

1 participant