----> I always get the following error : "Could not find too avrdude".
I tried to remove the Arduino15 folder in AppData without success, to re install the Arduino software without success, to modify the avrdude.conf without success, .... Maybe is there someone who encountered and solved this problem ?
This is the error I get when a click on "Burn Bootloader". The port com is correctly set for the Arduino UNO I use as programmator. And the board selected in Tools>Board is Controllino Maxi.
I found !!! I precise how, to help if others have the same problem :
I modified firstly the file boards.txt (in C:....\Arduino\hardware\arduino\avr\boards.txt) because I don't know why but when you install the controllino libraries with de board manager in arduino, it doesn't update this file.... I found another "board.txt" file in AppData (C:\Users....\AppData\Local\Arduino15\packages\CONTROLLINO_Boards\hardware\avr\3.1.0).
I copy pasted this content in the first board.txt mentionned :
Then the "Could not find avr dude error" disappeared but the bootloader update still didn't worked. It was because some of the previous lines I pasted above was in comment... At least, I've modified the file programmers.txt (same location than the first boards.txt) :
qduhamel:
P.S.- The reason why the file boards.txt stays unchanged after an update from the Board Manager in Arduino stays a mystery...
This path:
C:\Users....\AppData\Local\Arduino15\packages\CONTROLLINO_Boards\hardware\avr
is where Boards Manager installations and updates are done.
This path:
C:....\Arduino\hardware\arduino\avr\boards.txt
I'm guessing C:....\Arduino is your installation of the Arduino IDE, right?
This is the copy of Arduino AVR Boards bundled with the Arduino IDE. That location is not touched by the Arduino Boards Manager. Even if it was, it wouldn't be touched by an installation or update of the Controllino boards platform, because these are two completely separate boards platforms.
qduhamel:
I copy pasted this content in the first board.txt mentionned :
That's a bad idea. For one thing, it's completely unnecessary. You already have installed the Controllino boards platform the correct way via Boards Manager, so there should be no need for this hacky approach of copy pasting it into the Arduino AVR Boards platform.
It's also a bad idea because whenever you update the Arduino IDE or Arduino AVR Boards your modifications will be lost.