[Solved][Sloeber/Libmaple] Failed to get the Upload recipe – Error

Pito
Fri Sep 01, 2017 11:32 am
It was discussed in May this year, with none specific outcome. As it hit me too :) this is what I see as the issue:
.
1. When you create a new Project with “a board”, then while uploading via standard maple uploader you get a Sloeber error message

Sloeber Upload Problem.JPG
Sloeber Upload Problem.JPG (23.96 KiB) Viewed 730 times

stevestrong
Fri Sep 01, 2017 12:50 pm
Sorry Pito, but as long those boards work fine with Arduino IDE alone, I think it is fair to say that the problem is NOT with the boards.txt, but maybe in the combination of Sloeber and boards.txt.

As far as I can see, Sloeber generates many problems, I would not rely on it.

Try Platformio, and all your problems will be gone.


Pito
Fri Sep 01, 2017 1:09 pm
[stevestrong – Fri Sep 01, 2017 12:50 pm] –
As far as I can see, Sloeber generates many problems, I would not rely on it.

Steve, nobody is forcing you to use it :)


victor_pv
Fri Sep 01, 2017 1:24 pm
Pito I have been hit by that same problem, with the same boards.

I believe it started for me when the new optimization options where added. The generic boards have more dropdown boxes than the maple ones, I suspect Sloeber may not be managing that too well.
But I haven’t had the time to look at boards.txt to see if something looks different, other than extra options.
Most of the time I load the elf to Ozone for debugging purposes, so I just upload using Ozone, but is annoying that the automatic upload doesn’t work.
If I get to find anything I’ll post in this thread.


victor_pv
Fri Sep 01, 2017 1:28 pm
Steve, I have to disagree all the problems will be gone with Platformio. I am using it for the new Marlin HAL and has it’s fair share of issues.
Not just for me, but for everyone working on that, every few days there is a post about someone that had to remove it and start clean again because somethign broke, with an update, when adding something, out of the blue…

Pito
Fri Sep 01, 2017 1:38 pm
The FIX:
Add this into the boards.txt for each variant with ERROR (those are all the “genericSTM32F103x” – so add with proper x variant suffix) before the “menu” items start:

..
genericSTM32F103C.upload.tool=maple_upload
genericSTM32F103C.upload.protocol=maple_dfu
..


victor_pv
Fri Sep 01, 2017 5:57 pm
[Pito – Fri Sep 01, 2017 1:38 pm] –
@Victor: could you test there plz?

Thanks for the solution, I’ll test it later today and let you know.


victor_pv
Sun Sep 03, 2017 10:12 pm
Pito, just tested the changes you suggested and issues resolved :)

RogerClark
Sun Sep 03, 2017 11:09 pm
Does someone want to submit a PR for this ?

victor_pv
Mon Sep 04, 2017 3:43 pm
Just submitted PR https://github.com/rogerclarkmelbourne/ … 2/pull/338

@Pito, my arduino IDE is a mess, if yours is working can you confirm adding those settings does not impact negatively in the arduino IDE when trying to upload with other methods such as stlink to one of those boards?


Pito
Tue Sep 05, 2017 8:38 am
@Victor: Arduino IDE users may test (otherwise conflict of interests here :) ).
I consider it solved..

Leave a Reply

Your email address will not be published. Required fields are marked *