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

attiny424 not programmed using pyupdi. #84

Open
sahil-siwatch opened this issue Jul 30, 2021 · 4 comments
Open

attiny424 not programmed using pyupdi. #84

sahil-siwatch opened this issue Jul 30, 2021 · 4 comments

Comments

@sahil-siwatch
Copy link

Hello all.
I have been trying to use attiny424 (avr-2 series). When i upload it using pyupdi, it shows that attiny424 is notwrong argument. I checked datasheet and it clearly shows that UPDI is available.

image

@mraardvark
Copy link
Owner

I recommend to use pymcuprog instead of pyupdi:
https://pypi.org/project/pymcuprog/

@sahil-siwatch
Copy link
Author

I've installed it. when i check in device folder, attiny424 is not present
got any tutorials to use ??

@mraardvark
Copy link
Owner

Good point - I was not aware it was missing.
I would just copy the attiny414.py in the device scripts folder and edit the device id to match the 424.
Start by checking connectivity: pymcuprog ping -d attiny424 -t uart -u
then you could for example write flash using: pymcuprog write -m flash -f hexfile.hex

@sahil-siwatch
Copy link
Author

Using UPDI, I can burn code if I select any microcontroller which is listed, I can upload the code this way. Maybe i can select attiny414 and write code..might work..will update.

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