cannot connect arduino due to Matlab R2017b

4 views (last 30 days)
Ivan Bozic
Ivan Bozic on 16 Jan 2018
Edited: Eilert on 13 Apr 2018
I tried to install the hardware support package for an arduino due device but the following error text appears when trying to upload server to board:
Jan 16, 2018 9:02:17 AM com.mathworks.hwservices.logging
INFORMATION: DPI detection failed, fallback to 96 dpi
Loading configuration...
Initializing packages...
Preparing boards...
Error: sam: Unknown architecture
Thanks for any help

Answers (2)

Eilert
Eilert on 12 Apr 2018
Edited: Eilert on 12 Apr 2018
Hi, I observe the same problem:
This is line 6 of dueconnect (actually the only line in that script )
ELIS_due= arduino('/dev/ttyACM0', 'Due', 'Libraries','ReadAdcAddon/ReadAdc','ForceBuild',true, 'TraceOn', true)
Error using dueconnect (line 6)
Picked up JAVA_TOOL_OPTIONS:
Konfiguration wird geladen...
Pakete werden initialisiert...
Boards werden vorbereitet...
Fehler: sam: Unbekannte Architektur
connecting like this works: ELIS_due= arduino('/dev/ttyACM0', 'Due')
Only forcing compilation of the addon library triggers the error. But no usable compiler message appears.
The script was once working, but now shows this strange message. Anyone got an explanation?
Kind regards Eilert

Eilert
Eilert on 13 Apr 2018
Edited: Eilert on 13 Apr 2018
Hi,
I did a reinstall of the Matlab Arduino Package (actually for the 2016b version) and now it works.
Kind regards Eilert

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!