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

pymcuprog problem with chip erase; "device not supported" #1200

Open
tangiblewaves opened this issue Jan 20, 2025 · 0 comments
Open

pymcuprog problem with chip erase; "device not supported" #1200

tangiblewaves opened this issue Jan 20, 2025 · 0 comments

Comments

@tangiblewaves
Copy link

Hi, happy megaTinyCore user here!

I just switched my development environment to a new machine and can't figure out how to solve the following issue:

I try to erase a locked Attiny with pymcuprog, which worked flawless on the old machine; command line:
pymcuprog erase --chip-erase-locked-device -d Attiny1614 -t uart -u com8

On the new machine, I get an error "pymcuprog: error: unrecognized arguments: --chip-erase-locked-device"

Changing the command to
pymcuprog erase -d Attiny1614 -t uart -u com8

brings:
"Unable to setup stack for device attiny1614
Currently supported devices (in 'devices' folder):
atmega328p, atmega4808, atmega4809, atsamd21e18a, atsamd21g18a, attiny1607, attiny1627, attiny3217, attiny416, attiny817, attiny84a, avr128da28, avr128da48, avr128db48, pic16f15244, pic16f15376, pic16f1768, pic16f1779, pic16f18446, pic16f18456, pic16lf18456, pic18f16q40, pic18f16q41, pic18f47k40, pic18f47k42, pic18f47q10, pic18f47q43, pic18f57q43, pic18f57q84, pic24fj128ga705, uc3a3256"

I have no clue what is missing here; the core folder tools\libs\pymcuprog\deviceinfo\devices of platformIO contains the attiny1614.py.
I'm running the command directly within the folder tools\libs\pymcuprog; PATH settings for Python are identical to the working installation, I have no more ideas.

Any help is highly appreciated; I'm sure it's some stupid thing I'm overlooking! Thanks!

@tangiblewaves tangiblewaves changed the title pymcuprog problem with chip erase; device not pymcuprog problem with chip erase; "device not supported" Jan 23, 2025
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