-
Notifications
You must be signed in to change notification settings - Fork 132
Download to Due (bossac) on Linux/64bit not working with 4.2 #892
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
Comments
Please try to launch bossac manualy in terminal window and give us feedback.
2017-12-26 22:38 GMT+01:00 Prof. Dr.-Ing. Robert Patzke <
[email protected]>:
… I could not imagine, that this is an error coming with the new version 4.2
on Linux/64bit, so I compared the switches of bossac with older versions,
installed again everything, etc. etc.
But after downloading simply version 4.1 it just works.
My environment: LinuxMint, Cinnamon/64bit, latest version 18.3, on
USB-Stick.
Here is the error message of 4.2:
Starting upload
using arduino loader
Forcing reset using 1200bps open/close on port/dev/ttyACM0
Continuing to use/dev/ttyACM0
Ending reset
Launching ....
/home/......./
bossac/1.6.1-arduino/bossac --port=ttyACM0 -U false -e -w -b ...
/..../Release/XYZ.bin -R
Output:
no device found on /dev/ttyACM0
bossac finished
upload done
The reset before with 1200 bit/s worked, the old program was cleared, but
the new program was not downloaded.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#892>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAHOU8ufSO42m-nDtBf-rRfoY3Sxk3Ofks5tEWc9gaJpZM4RNBS1>
.
|
I should have done this, when I tested the download and before I deleted 4.2 and installed 4.1. |
Sure. Good luck with your lectures. |
I can confirm that what Robert says is correct with version 4.2. The only way I can now upload to DUE is to run bossac manually without the -port option as follows: This problem occurs with either upgraded 4.1 to 4.2 and fresh 4.2 package. When I do try to upload to DUE, it will do the initial erase of the connected board, but that is where it stops with the error as stated in Robert's first post. I first noticed this problem some time ago, but continued to version 4.1. System is GNU/Linux Mint LMDE. |
Why was this close? I'm facing the same issue With Sloeber from bundle, Linux x64 |
I guess because op didn't answer the question whether it worked from command line and stated he would continue using 4.1 |
Should I reopen it? To workaround it I've change the platform.txt but eclipse is still taking the same option. I think I'm not modifying the well document. |
When I create a new project, changes are being taken... I guess it may copy them from the platform.txt when project creation. |
I confirm that removing As for the native port, all work out of the box, with the exception that Sloeber says |
Sorry, I had forgotten this issue. I have just looked to bossac here at github and I do not remeber, which version I used to overwrite the bossac from Sloeber 4.3. |
From your original post I can see bossac 1.6.1-arduino is used. I see in the package.index file that there are multiple linux versions and I doubth Sloeber takes al subtilities into account
Can you check your [sloeber install]/arduinoPlugin/downloads folder to see which bossac 1.6.1-arduino file has been downloaded and check whether you think this is the correct one? |
Hi, the Bossac used on my pc is 1.6.1, I did the modification on platform.txt file and after a new project creation is working fine |
@javierfileiv @jantje Another hint that version 1.6.1 produces the error on Linux is as follows: |
@RobertPatzke you have to find where your Sloeber take the android config from. In my case you can find it in $HOME/.arduino15/packages/arduino/hardware/sam/1.6.12/ Otherwise you can |
for platformio search for your tool in |
Easiest way to find the platform.txt is in sloeber goto you project->core->variant->right click->select open in system explorer. Goto the parent folder |
@RobertPatzke is your system a amd system? I don't think so because I would expect you to get an error if you are running amd. Just asking to be sure. Based on the arduino provided package_index.json file a intel 64 bit linux should use this bosac from this file: |
@RobertPatzke |
Hello jantje,
Starting upload
|
I have recently setup a intel i5 with ubuntu for my build tests. I'll try to do the upload test on that machine. But I first need to do my upload tests on windows and the build tests on Linux. That will take a couple of days. A question though: Does it work with arduino IDE? If it doesn't work there It won't work in Sloeber. Sometimes the arduino IDE does installation stuff that enables things (like setting udev rules). When I setup the arduino IDE in Linux I noticed a install script. |
@jantje indeed there is such script but you can launch it manually with sudo |
Yes, I just installed Arduino 1.8.12 and after loading additional DUE software it runs (programs the board). |
In arduino preferences you can turn on verbose upload |
After doing lots of research there are 2 stable results.
|
Seems like a timing issue indeed. I have a R3. It would be nice to know what you have and whether you have the upload problem. |
I can confirm, that replacing the Too bad that the business of downloading/extracting/finding the right destination/replacing the |
Thanks for the confirmation of the Arduino DUE R3 board.
It is the Arduino json file maintained and supported by Arduino itself that defines the tools to be used. It is not up to Sloeber to modify that. Best way forward is to convince Arduino to upgrade the bosac used in the json |
I have found some issues in Sloeber in regards to opening and closing the port (to reset the board) that may be part of the problem here. |
I tried today with the nightly on linux and upload worked as should. |
I could not imagine, that this is an error coming with the new version 4.2 on Linux/64bit, so I compared the switches of bossac with older versions, installed again everything, etc. etc.
But after downloading simply version 4.1 it just works.
My environment: LinuxMint, Cinnamon/64bit, latest version 18.3, on USB-Stick.
Here is the error message of 4.2:
Starting upload
using arduino loader
Forcing reset using 1200bps open/close on port/dev/ttyACM0
Continuing to use/dev/ttyACM0
Ending reset
Launching ....
/home/......./
bossac/1.6.1-arduino/bossac --port=ttyACM0 -U false -e -w -b ...
/..../Release/XYZ.bin -R
Output:
no device found on /dev/ttyACM0
bossac finished
upload done
The reset before with 1200 bit/s worked, the old program was cleared, but the new program was not downloaded.
The text was updated successfully, but these errors were encountered: