-
Notifications
You must be signed in to change notification settings - Fork 22
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
DXcore bootloader burn and updi uploading #42
Comments
pyupdi no more needed as with avrdude 7.x , serialupdi is included so no more need for the whole custom upload protocol But the same problem persist on the AVRxxDx chips , the program not working . I continue in my free time to look around and try to find something to get it working. |
hello again :) I made my arduino AVRxxDx pcbs and updated avrdude to 7.x so it was way easier to test things . So when uploading with ArduinoIDE going from bootloader (serial) to no bootloader (updi) or other way, every time the thing worked. Then as i love platformIO and don't want to go back to arduinoIDE, i tried to upload with updi my little program to test the new chips but didn't work . Like the chip looked dead . And there we are today, updi upload but with platformIO .
Already tried to set the fuses before with the "set fuses" option but didn't work, no idea why Maybe it has to do something with the avrdude update ? Here is my platformio.ini used in my latest tests for updi upload
It leaves me to get the Bootloader Burn to get working |
I have got a similar behavior, but for me it seems to be OS dependent. With the exact same code source and setup on PIO, I have successfully compiled and flash on both Linux and Windows. However on Linux (Arch) the UPDI process seems to leave my 3208AVR blank after a seemingly successful upload, on windows my program get loaded correctly and runs fine. Not sure if this is related, and I have not yet found a solution to this issue. |
Linux verbose : This is the only difference I could spot when comparing the verbose between the two machines. |
there is few things wrong with the merge of DxCore and PIO but overall , going with the avrdude 7.x version + setting the fuses at least once when using a new chip or when going from bootloader to no-bootloader everything is working i don't use linux so can't test |
Hello everyone,
I'm trying to get the program upload through updi and bootloader burn to work
Using DXCore with arduinoIDE works as intended .
I did a small program to tests things that make a led blink and send "test ok" through UART
Uploading this program through UPDI does nothing, the chip does nothing .
Compiles correctly and uploads successfully too , but nothing happens .
here is my platformio.ini
Tried to change few things that i found on google but i don't know much about this things, still learning .
I wanted to burn the bootloader too, hitting the option " Burn Bootloader " but all i get is "Error: missing bootloader configuration!"
I'm looking inside the bootloader.py file that maxgerhardt linked on forum
But as i don't understand much there , not sure what needs to be done, will try to play with it a little, maybe by miracle i can get it working lol as i did with the UART upload i my other post x)
Thanks for your time and have a nice day
The text was updated successfully, but these errors were encountered: