-
Notifications
You must be signed in to change notification settings - Fork 139
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
Revert "Ensure page_size is always at least 1" #984
Conversation
This reverts commit da0e437. Reason for this revert ElTangas/jtag2updi#16 (comment) We use the jtag2udpi fw on the SAMD11 to be able to program the ATMega4809. That commit was breaking the upload with AVRdude Co-authored-by: Martino Facchin <[email protected]>
By looking at this PR, it's not obvious to me why the config_gram.y has to be modified. As for the removed line in jtagmkii.c I don't know if this will have any consequences for other hardware that uses this protocol. @dl8dtl do you have any thoughts on this one? AFAIK, |
I'm against reverting that change – after all, it has been made for a reason (fixing a bug or crash). |
In this case, we can close this one. |
Unfortunately, I don't know the reasons behind da0e437. I understand this is not a fix but only a quick way to solve ElTangas/jtag2updi#16 (comment). For sure, there is a better way to fix this, but I don't know sufficiently about avrdude to do it. |
@umbynos Can you ask the affected user to try out latest avrdude 7.0 release or even git master to see if the issue has been fixed? I think there are a few improbements done on this area. |
I can try this with my Nano Every later today! |
Re-open this topic, just want to make sure if the has already been fixed in avrdude 7.0 release and git. |
I do not have issues using avrdude-7.0 and git with Arduino Nano Every (with SAM D11 as the JTAG2UPDI controller). Another user also reported the susccess story in another issue. |
In this case, I think this issue can really be closed. Any objections? |
Looks like AVRDUDE 7.0 does not expose the issue that this PR tries to solve, so not reverting. |
This reverts commit da0e437.
Reason for this revert ElTangas/jtag2updi#16 (comment)
We use the jtag2udpi fw on the SAMD11 to be able to program the ATMega4809. That commit was breaking the upload with AVRdude
Related conversation with @MCUdude umbynos@9ae854d#commitcomment-73386063
Co-authored-by: Martino Facchin [email protected]