Show Posts

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.


Messages - fiche

Pages: 1
1
TinyDuino Processors & TinyShields / Re: Can't upload sketch
« on: October 06, 2016, 10:45:36 AM »
Cool, thanks :)

2
TinyDuino Processors & TinyShields / Can't upload sketch
« on: September 29, 2016, 11:48:02 AM »
Hi!

I'm quite stuck, I had a working setup with board and libraries installed a few months back.
I've updated both to latest version, and installed arduino 1.6.12

See attached screen for board/port setup

Now, I can't upload any sketch to my TinyScreen+, even the most basic one, with no code at all. Here's the error I'm running into.

How can I fix this?

Code: [Select]
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

3
TinyDuino Processors & TinyShields / Re: TinyScreen+ and GPS module
« on: May 14, 2016, 09:36:33 AM »
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.

Wow, that's awesome, thanks!

Just had to change SoftwareSerialZero.cpp:270 to
Code: [Select]
uint8_t in = digitalPinToInterrupt(_receivePin);otherwise it wouldn't compile.

It works like a charm, thanks again!

Is your code licensed and/or hosted somewhere else by any chance?

4
TinyDuino Processors & TinyShields / Re: TinyScreen+ and GPS module
« on: May 13, 2016, 11:34:00 AM »
Self replying:

The tinyscreen+ has hardware serial ports, so no need to use SoftwareSerial libraries.

Now I need to find how to properly declare it for the GPS module!

Something along, just need to find the good PIN values :)

Code: [Select]
Uart Serial2(&sercom1, PIN_SERIAL2_RX, PIN_SERIAL2_TX, PAD_SERIAL2_RX, PAD_SERIAL2_TX);

5
TinyDuino Processors & TinyShields / TinyScreen+ and GPS module
« on: May 13, 2016, 08:57:48 AM »
Hello!

Disclaimer: Total noob on arduino development.

I just received my TinyScreen+ and GPS module.
I played with the TinyScreen+ alone and everything is fine, hello world was ok, etc.
However, I can't find a working example of the GPS module.

I'm using Arduino IDE 1.6.9 on OSX, and it seems there's a problem around the SoftwareSerial library.

What happens is the following:

With https://codebender.cc/sketch:37442#TinyShield_GPS.ino

Code: [Select]
/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+.

I googled a bit, tried to move the library from "/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/SoftwareSerial" to "/Applications/Arduino.app/Contents/Java/libraries/SoftwareSerial" but I got an error telling me this isn't compatible.

Not understanding everything but I think the library isn't compatible with the TinyScreen+ board/cpu (am I right?)


Then I found https://codebender.cc/sketch:60928#TinyShield_GPS_V2.ino

But I get
Quote
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

Bummer.

Sooo, I'm now stuck. I don't really know where to look, what should I do, any help would be greatly appreciated :)

Pages: 1
SMF spam blocked by CleanTalk