Skip to content

java.lang.NullPointerException #979

Answered by iansexton
iansexton asked this question in Q&A
Discussion options

You must be logged in to vote

Oops. Sorry. In my haste I'd not selected a programmer. That WAS the complete error message but not very useful...
Another one was: 'pymcuprog.serialupdi.link - WARNING - UPDI init failed: Can't read CS register.' Which had me thinking!

I'm almost embarrassed to share the answer! It's a while since I used MTC & a few things changed in that time: new house, new PC, new laptop, W10 & W11 instead of W7 etc etc, and (wait for it...)
I swapped the resistor in my UPDI adapter for a Schottky diode...

Guess what? A new diode fixed everything! Tomorrow it will mend global warming & provide peace on earth!!!

Cheers, Ian

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@iansexton
Comment options

Answer selected by iansexton
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants