Loading...
  Show Posts
Pages: [1] 2 3 ... 14
1  Products / Arduino Due / Re: I have a silly question about Reset pin (the one next to 3.3v source pin) on: April 28, 2013, 04:56:12 pm

No need to connect any pin, Grumpy_Mike solution is implemented here:

http://arduino.cc/forum/index.php/topic,152885.msg1150829.html#msg1150829

Code:
void Software_Reset() {
  const int RSTC_KEY = 0xA5;
  RSTC->RSTC_CR = RSTC_CR_KEY(RSTC_KEY) | RSTC_CR_PROCRST | RSTC_CR_PERRST;
  while (true);
}
2  Products / Arduino Due / Re: [ now published on github ] Building a CAN API for Arduino DUE on: April 27, 2013, 04:18:13 am

I've updated the Arduino "can" branch with https://github.com/collin80/due_can
PM me if there are other changes needed.
3  Products / Arduino Due / Re: Progetto audio on: April 27, 2013, 03:19:42 am
ugokind,

this section of the forum is in english.

There was some discussions about DSP libraries:

http://arduino.cc/forum/index.php/topic,131777.0.html
http://arduino.cc/forum/index.php/topic,140107.0.html

hope these can help.
4  Products / Arduino Due / Re: Help with error message got on serial after arduino crash on: April 25, 2013, 09:03:36 am
@alvesjc

probably you have found a bug in the map function (that is triggered when the values are around the maximum).
may you post an issue on github with an example that fails?

5  Products / Arduino Due / Re: serielEvents on: April 19, 2013, 03:30:08 am

I've pushed a fix for serialEven that will come out next release 1.5.3.
You can download the nightly build or apply the following patch:

https://github.com/arduino/Arduino/commit/03a7529cc00b7ede1adb1e1dcbb29a555ea31c8a
6  Products / Arduino Due / Re: Realtime OS - ChibiOS/RT port for Due on: April 19, 2013, 03:15:11 am
fat16lib did a porting of some RTOS to the Arduino Due and other platforms as well:

http://arduino.cc/forum/index.php/topic,137345.0.html
7  Products / Arduino Due / Re: [ now published on github ] Building a CAN API for Arduino DUE on: April 19, 2013, 03:08:38 am
Pallise, AdderD

I see big progress on CAN library, nice work!
I see that there is also some confusion on how to install the library: can I do some "cleaning"
work on the Arduino repository? Do you want me to merge something?

Or maybe its better to remove the CAN library from the main repository, so you can work autonomously?

8  Products / Arduino Due / Re: Scheduler and U8glib on DUE on: April 07, 2013, 03:43:35 pm

Well, yes, and indeed the modification of u8g_Delay() is more a workaround (or hack) instead of a good solution. To excause the current situation a little bit: I never read in the Arduino documentation that some of the procedures are not valid to be called during constructor time. And on the ATMEGA it was never a problem to call digitalWrite() or delay() in the constructor.

olikraus,
you don't need to justify, initializations (with digitalWrite and delays) in the constructors should be legal.

The issue here is that delay() didn't work until the Arduino initialization is done in main() and C++ starts constructors of static objects before the main! I got some problems with the LiquidCrystal library because of that:

https://github.com/arduino/Arduino/blob/master/libraries/LiquidCrystal/LiquidCrystal.cpp#L27

and the solution was:

https://github.com/arduino/Arduino/commit/d994e48c5565a0c7aea54384a1b15a19623fe209

but for some reason the scheduler has still some interactions I didn't considered that should be looked into.

So, in the end, consider my previous post just a hint to workaround these troubles... smiley

9  Products / Arduino Due / Re: Scheduler and U8glib on DUE on: April 07, 2013, 02:57:21 pm

It would be better if the initialization code is placed into a begin() function.
Many arduino libraries does it this way, you know exactly when the initialization is done,
and avoids you to hit the "C++ static initialization order fiasco".

http://www.parashift.com/c++-faq/static-init-order.html

10  Products / Arduino Due / Re: Mouse.click() does not work on: April 07, 2013, 02:17:02 pm

a4rashid,

with the Arduino Due the Serial class communicate with the Programming Port.

If you have connected your PC on the Due's Native Port you shoud use the SerialUSB object
(this means that you must replace all the Serial with SerialUSB in your sketch).
11  Products / Arduino Due / Re: How do I use Arduino ide-1.5.x from github? on: April 03, 2013, 07:21:34 am
OutOfLine,

I see that the librxtxSerial.so in the 1.5.2 differs from the latest in github repository, maybe I messed up with git.
Now I've reverted that file back to the original found in 1.5.2, may you update your repository and retry?

(all this mess because we experimented an update to rxtx library and reverted back to the old version due to some incompatibility issues)
12  Products / Arduino Due / Re: IDE Bug: "Verify Code After Upload" preference does not work on: April 02, 2013, 06:56:44 pm
Bugs, once confirmed inside the forum, should be submitted as issues here:

https://github.com/arduino/Arduino/issues

I already posted this one here for you:

https://github.com/arduino/Arduino/issues/1344
13  Products / Arduino Due / Re: Timer Interrupts on Due on: April 02, 2013, 06:38:53 pm
ivanseidel,

nice library!

Why don't you add also TC2 to the set of TImers? this will makes available other 3 timers.
14  Products / Arduino Due / Re: How do I use Arduino ide-1.5.x from github? on: April 02, 2013, 06:19:19 pm
Code:
Perhaps JAVA_HOME does not point to the JDK.
It is currently set to "/usr/lib/jvm/java-6-openjdk-amd64/jre"

you need to make the JAVA_HOME point to a JDK, currently it points to a JRE.
15  Products / Arduino Due / Re: Set stop bits for Arduino Due using IDE 1.5.2 on: April 02, 2013, 05:40:19 pm

Serial port configuration is currently not implemted on the Due (it was introduced on AVR boards just before the release of Due core).

I opened an issue to keep track of this:
https://github.com/arduino/Arduino/issues/1343
Pages: [1] 2 3 ... 14