Recent

Author Topic: Arduino DUE  (Read 1043 times)

Mathias

  • Jr. Member
  • **
  • Posts: 59
Re: Arduino DUE
« Reply #15 on: August 09, 2020, 01:40:04 pm »
Thanks to this post I have come a step further: https://github.com/Sloeber/arduino-eclipse-plugin/issues/892

I have now taken version 1.7.0 of bossac, the upload worked right away, even after several attempts.

But unfortunately it still has a very big shortcoming. As soon as I disconnect the DUE from the power supply and reconnect it, the program no longer starts and the LED no longer flashes.
Only when I upload again will it work again.  ::)

And one more thing, uploading is only possible at the programming port.

But at least you can now test at least a few programs on the DUO. ;)

I use the following command to upload:
Code: [Select]
xxx/BOSSA-1.7.0/bin/bossac -e -w -v -b Project1.bin -R
Thanks to this post I have come a step further:

I have now taken version 1.7.0 of bossac, the upload worked right away, even after several attempts.

But unfortunately it still has a very big shortcoming. As soon as I disconnect the DUE from the power supply and reconnect it, the program no longer starts and the LED no longer flashes.
Only when I upload again will it work again.

And one more thing, uploading is only possible at the programming port.

But at least you can now test at least a few programs on the DUO.

I use the following command to upload:

Another thing to note is that the Com port must be reset via DTS, as is the case in the last code.
Whatever else, if you reset the port after uploading, the program will also be stopped, as with the current removal.
« Last Edit: August 09, 2020, 01:44:34 pm by Mathias »

MiR

  • Full Member
  • ***
  • Posts: 116
Re: Arduino DUE
« Reply #16 on: August 09, 2020, 06:18:07 pm »
Version 1.7 has the disadvantage that there is no precompiled x64 version for Mac available.

So if you you look for doing something that benefits everybody then 1.8 is the minimum version.

Mathias

  • Jr. Member
  • **
  • Posts: 59
Re: Arduino DUE
« Reply #17 on: August 09, 2020, 06:29:42 pm »

I did not test the 1.8.  Somehow I overlooked them.  :-X

Mathias

  • Jr. Member
  • **
  • Posts: 59
Re: Arduino DUE
« Reply #18 on: August 10, 2020, 04:41:44 pm »
Version 1.7 has the disadvantage that there is no precompiled x64 version for Mac available.

So if you you look for doing something that benefits everybody then 1.8 is the minimum version.
I have tested the 1.8, only an uninclusive error message.

Code: [Select]
$ /n4800/DATEN/Programmierung/Lazarus/Tutorials/Embedded/bossac/BOSSA-1.8.0/bin/bossac --port=ttyACM0 -i

SAM-BA operation failed
With the 1.7, the information from the CPU comes here.

I also observed something. I wrote yesterday. That with the current removal of the DUE, the program no longer starts.
But when I switched on the PC earlier, the LED was blinking.
Let's see if it will be the same next time.

Mathias

  • Jr. Member
  • **
  • Posts: 59
Re: Arduino DUE
« Reply #19 on: August 15, 2020, 04:04:09 pm »
Quote
I also observed something. I wrote yesterday. That with the current removal of the DUE, the program no longer starts.
But when I switched on the PC earlier, the LED was blinking.
Let's see if it will be the same next time.

This is understandable. The PC must first be disconnected from the power supply. Just a soft off / on via the power button is of no use.

 

TinyPortal © 2005-2018