1
TinyDuino Processors & TinyShields / Re: Can't upload sketch
« on: October 06, 2016, 10:45:36 AM »
Cool, thanks
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Sketch uses 10,916 bytes (4%) of program storage space. Maximum is 262,144 bytes.
java.io.IOException: Cannot run program "{runtime.tools.bossac-1.6.1-arduino.path}/bossac": error=2, No such file or directory
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)
at java.lang.Runtime.exec(Runtime.java:620)
at java.lang.Runtime.exec(Runtime.java:485)
at processing.app.helpers.ProcessUtils.exec(ProcessUtils.java:11)
at cc.arduino.packages.Uploader.executeUploadCommand(Uploader.java:123)
at cc.arduino.packages.uploaders.SerialUploader.uploadUsingPreferences(SerialUploader.java:175)
at cc.arduino.UploaderUtils.upload(UploaderUtils.java:78)
at processing.app.Sketch.upload(Sketch.java:1186)
at processing.app.Sketch.exportApplet(Sketch.java:1160)
at processing.app.Sketch.exportApplet(Sketch.java:1132)
at processing.app.Editor$DefaultExportHandler.run(Editor.java:2381)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.io.IOException: error=2, No such file or directory
at java.lang.UNIXProcess.forkAndExec(Native Method)
at java.lang.UNIXProcess.<init>(UNIXProcess.java:248)
at java.lang.ProcessImpl.start(ProcessImpl.java:134)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
... 11 more
Hi fiche- very cool that you've found the Arduino hardware UART init.
As you've seen, there isn't currently an Arduino Zero(and TS+) SoftwareSerial. If the hardware pins are available, that's of course optimal, but for cases that there are not, I've been working on adapting the SoftwareSerial library for the SAMD21 platform. I've attached a zip if you'd like to test it.
uint8_t in = digitalPinToInterrupt(_receivePin);
otherwise it wouldn't compile.Uart Serial2(&sercom1, PIN_SERIAL2_RX, PIN_SERIAL2_TX, PAD_SERIAL2_RX, PAD_SERIAL2_TX);
/Users/Fiche/Downloads/TinyShield_GPS/TinyShield_GPS.ino:18:28: fatal error: SoftwareSerial.h: No such file or directory
#include <SoftwareSerial.h>
^
compilation terminated.
exit status 1
Error compiling for board TinyScreen+.
SoftwareSerial256.cpp:129: error: #error This version of SoftwareSerial supports only 20, 16 and 8MHz processors
#error This version of SoftwareSerial supports only 20, 16 and 8MHz processors