Show Posts
Pages: 1 [2] 3 4 ... 6
16  Forum 2005-2010 (read only) / Bugs & Suggestions / Re: perl5matcher stackoverflow on: November 18, 2009, 12:33:56 pm
thanks
17  Forum 2005-2010 (read only) / Bugs & Suggestions / Re: perl5matcher stackoverflow on: November 11, 2009, 11:33:29 am
To clarify, the error occurred when I hit the "upload" button, not when it was uploading, because it never got that far.  That stacktrace indicates a java error in the IDE.  Possibly in the oroinc library. Again, it didn't get to the compilation step.  

As I modified the program, it got to a point where I could prevent the error if I removed an arbitrary chunk of code, but unfortunately I needed that code.

Here's another instance of the same problem http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1234031376
18  Forum 2005-2010 (read only) / Bugs & Suggestions / Re: perl5matcher stackoverflow on: November 11, 2009, 10:46:11 am
But the error was not occurring in the compiler -- it never even got to compilation.  It was occurring in the IDE (java).
19  Forum 2005-2010 (read only) / Bugs & Suggestions / Re: perl5matcher stackoverflow on: November 11, 2009, 09:08:25 am
The problem was:

char x = '\"';

should be

char x = '"';

This is a bug in the Arduino IDE since that is a legal assignment.  What's weird is that the program worked up until it got to a certain size.  In this case my comment triggered some condition.
20  Forum 2005-2010 (read only) / Bugs & Suggestions / Re: perl5matcher stackoverflow on: November 10, 2009, 07:05:29 pm
btw, the same sketch uploads fine with 17 on mac
21  Forum 2005-2010 (read only) / Bugs & Suggestions / perl5matcher stackoverflow on: November 10, 2009, 06:56:04 pm
This is really odd.  I'm getting a stackoverflow error when uploading my sketch:

java.lang.StackOverflowError
at java.util.Vector.addElement(Unknown Source)
at java.util.Stack.push(Unknown Source)
at com.oroinc.text.regex.Perl5Matcher._pushState(Perl5Matcher.java)

My sketch has the following:

void sendFrame(bool data, const char *charPtr, bool nullTerm) {
    if (nullTerm) {
            // special handling for commands that end with null terminator.  the write command will not write the term char so we must write it explicitely

But when I change remove " we must write it explicitely" from the end of the comment, it works

This is Arduino 17 on windows.

Andrew
22  Forum 2005-2010 (read only) / Bugs & Suggestions / Serial.begin Doc -- minor issue on: August 18, 2009, 08:16:43 am
Just noticed the Serial.begin documentation is incorrect.  Should be long, but showing int

http://arduino.cc/en/Serial/Begin

http://code.google.com/p/arduino/source/browse/trunk/hardware/cores/arduino/HardwareSerial.h
23  Forum 2005-2010 (read only) / Development / XBee Library on: March 31, 2009, 12:05:37 pm
Hi All,

I've written an Arduino XBee library and posted it on google code http://code.google.com/p/xbee-arduino/  This is for communicating with XBees in API (packet) mode.  You don't need any special software for AT (transparent) mode.

Currently it supports sending/receiving packets for both series 1 and 2 XBee and I plan to expand the API support soon.  I have provided a few examples and tested on both series 1 and 2 radios.

BTW, this is my first Arduino library and first C++ app so I'd appreciate any feedback.

Andrew
24  Forum 2005-2010 (read only) / Troubleshooting / Re: Can't Upgrade XBee Firmware on: December 24, 2007, 08:48:39 am
Here's the firmware release history

http://www.digi.com/support/kbase/kbaseresultdetl.jsp?kb=168

I was looking for the automatic retries feature but in general I want to upgrade since apparently they've fixed a lot of bugs.
25  Forum 2005-2010 (read only) / Troubleshooting / Can't Upgrade XBee Firmware on: December 17, 2007, 02:33:36 pm
Hi,

I have two XBees that are working great (attached to XBee Shield), but I'm not able to upgrade the firmware (current firmware is 1083).  I followed instructions here http://itp.nyu.edu/~raf275/meshnetworking/XBee/XBee_firmware_upgrade.html but I get the following error:

Getting modem type....OK
Programming modem...Lost communication with modem
Write Parameters...Failed

The software is able to read/restore settings but not upgrade.  I'm wondering if this has anything to do with the USB to TTL FTDI conversion.  The tutorial uses RS232.  I tried upgrading to different versions but I always get the same error.
26  Forum 2005-2010 (read only) / Interfacing / Re: XBee Arduino Library for API mode on: November 17, 2009, 12:36:37 pm
ok, good to hear it's working for you
27  Forum 2005-2010 (read only) / Interfacing / Re: XBee Arduino Library for API mode on: November 16, 2009, 12:54:24 pm
Mike,

ZNet is Zigbee.  ZNet 2.5 is based on Embernet 2.5.  Digi also provides ZB Pro, based on embernet 3.x.

Release notes for znet: http://ftp1.digi.com/support/firmware/93009374_C.txt

Release notes for zb pro:
http://ftp1.digi.com/support/firmware/93009373_C.txt

I can't seem to find any info on the version 1320 firmware.  The ZB Pro firmware is 2.x.6.4 but that is selected by choosing xb24-zb on the modem menu.

You're on the right track now by installing the 114x ZNet firmware.  What are you using to flash the firmware?  Have you tried a reset before the write?

Andrew
28  Forum 2005-2010 (read only) / Interfacing / Re: XBee Arduino Library for API mode on: November 14, 2009, 03:53:04 pm
Mike,

You just need to move remoteAtRequest.setApplyChanges(false); inside a function, like setup or loop.

I release version 0.2.1 with a bug fix for apply changes, but I found that the example still works with the bug.  This means you don't need apply changes to enable i/o on a remote.  Here's what I receive at the coordinator after running the exmaple:

03:43:59.504 PM
Received Response apiId=ZNET_IO_SAMPLE_RESPONSE (0x92),length=20,checksum=0xe6,error=false,packetBytes=0x7e 0x00 0x14 0x92 0x00 0x7d 0x33 0xa2 0x00 0x40 0x0a 0x3e 0x02 0xaa 0x74 0x01 0x01 0x04 0x00 0x01 0x04 0x00 0x02 0x1d 0xe6,remoteAddress64=0x00 0x13 0xa2 0x00 0x40 0x0a 0x3e 0x02,remoteAddress16=0xaa 0x74,option=PACKET_ACKNOWLEDGED,digitalChannelMask1=00000100,digitalChannelMask2=00000000,analogChannelMask=00000001,dioMsb=00000100,dioLsb=00000000,D10=high,analog0=541

Remember to issue the WR command if you want to save the config to memory; otherwise it will be lost when you power off the xbee.

Andrew
29  Forum 2005-2010 (read only) / Interfacing / Re: XBee Arduino Library for API mode on: November 13, 2009, 02:53:47 pm
Your sensor circuit is correct.  You can go up to 1.2V to get the full 10-bit range.  I found that if you go over 1.2V, all the inputs read 1024.  So looks like you have everything at this point, right?
30  Forum 2005-2010 (read only) / Interfacing / Re: XBee Arduino Library for API mode on: November 12, 2009, 09:30:33 pm
I tossed the code in eclipse and put some debug in the send function.

What do you mean by connecting a sensor without serial i/o?  Most XBee pins can support either digital input or analog input.  With series 2 you can't measure more than 1.2V for some odd reason.

Pages: 1 [2] 3 4 ... 6