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

Exception: UPDI initialisation failed #83

Open
Vepla123 opened this issue Jun 11, 2021 · 2 comments
Open

Exception: UPDI initialisation failed #83

Vepla123 opened this issue Jun 11, 2021 · 2 comments

Comments

@Vepla123
Copy link

C:\Users\User\pyupdi-master\updi>pyupdi.py -d tiny414 -c COM2 -b 9600 -f LED_414.hex
Traceback (most recent call last):
File "C:\Users\User\pyupdi-master\updi\pyupdi.py", line 207, in
_main()
File "C:\Users\User\pyupdi-master\updi\pyupdi.py", line 97, in _main
nvm = UpdiNvmProgrammer(comport=args.comport,
File "C:\Users\Dan\AppData\Roaming\Python\Python39\site-packages\updi\nvm.py", line 17, in init
self.application = UpdiApplication(comport, baud, device)
File "C:\Users\Dan\AppData\Roaming\Python\Python39\site-packages\updi\application.py", line 17, in init
self.datalink = UpdiDatalink(comport, baud)
File "C:\Users\Dan\AppData\Roaming\Python\Python39\site-packages\updi\link.py", line 32, in init
raise Exception("UPDI initialisation failed")
Exception: UPDI initialisation failed

Any one know why im failing?

@mraardvark
Copy link
Owner

Looks like a "no contact" situation... (cabling, UPDI disabled, electrical issues...)
FYI: please use pymcuprog instead of pyupdi

@Vepla123
Copy link
Author

Thank you.
I used pymcuprog. Pinged the chip and hexed with no problem.

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