Pages: 1 [2]   Go Down
Author Topic: Arduino error on launch (osx intel)  (Read 3196 times)
0 Members and 1 Guest are viewing this topic.
london
Offline Offline
Full Member
***
Karma: 0
Posts: 148
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

The new Processing release (112) is working with a bluetooth serial device and Macbook for me.

They have updated the serial port script to  set up the correct folder - worked first time here.

May be useful info for Arduino.

Cheers

Nick
Logged

london
Offline Offline
Full Member
***
Karma: 0
Posts: 148
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Have finally had time to try arduino with Mactel.

I 'm not very fluent with building from source so took a copy of the librxtxSerial.jnilib from processing 112 and found RXTXcomm.jar in the arduino package so replaced it with the one from processing.
Have run new setup serial script from Processing.
Using latest ftdi drivers for intel mac.
Arduino launches and lists serial ports under tools.

Have programmed arduino using Powerbook to send letter and flash led.

Processing receives transmitted letter from arduino, Zterm recieves letter and so does serial monitor in Arduino.

At first got lots of programmer not responding messages on attempting upload.

Edited prefs file serial.download_rate to 9600 and then it worked.

Currently programming with single reset press (although this is currently while arduino is only blinking led, not sending message to computer).

So for me it is currently working on a Mactel.  smiley smiley smiley

Cheers

Nick
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 2
I Love YaBB 2!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hello all,

nick: where exactly did you find the RXTXcomm.jar file? I replaced the ibrxtxSerial.jnilib file with the one from processing, but I am not able to replace any RXTXcomm.jar file, since I cannot find it within the arduino package.

So when I start arduino and then go to the TOOLS-menue I get the following error-message:

java.lang.NoClassDefFoundError thrown while loading gnu.io.RXTXCommDriver

I am working on a Intel-Mac and have installed the latest ftdi drivers.

Any help will be much appreciated. Thank you,
-Helge
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 2
I Love YaBB 2!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

ok, I could solve the problem now. If anybody else is interested, I write how it´s done:

Within the arduino program the file RXTXcomm.jar file which you have to replace with the one from processing is found here:

right-click on arduino 03.app and choose "show packet contents". Then goto contents/ressources/java/
There you´ll find the RXTXcomm.jar file.

With now both the RXTXcomm.jar file and the ibrxtxSerial.jnilib file having replaced with the files found in processing, it all works well, it seems. (as nick has stated before)

Regards,
Helge
Logged

london
Offline Offline
Full Member
***
Karma: 0
Posts: 148
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Sorry should have left slightly clearer explanation - I was running off to play with it more smiley-wink

Cheers

Nick
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 9
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Uh-oh, something went wrong.

In my first approach, I compiled rxtx and just tossed librxtxSerial.jnilib into the Arduino directory (regular version 03 then). Java exceptions persisted, but programming the board worked occasionally (pressing RESET twice and stuff).

Now, in order to get the whole thing tidy and clean, I gave it a new try. Erased the Arduino folder in Libraries (the one with preferences.txt), then used the current macpro 03 release of Arduino, put in both librxtxSerial.jnilib and RXTXComm.jar from Processing 114 (in proper locations each), this time not using the files that I compiled myself. Ran macosx_setup.command from Processing (as suggested by Nick) and even restarted.
No matter what and how often I try, I keep getting "[VP 1] Device is not responding correctly." error messages. Tried it with and without setting download rate to 9600 in preferences.text, btw.
Isn't this the setup that works fine for most of you mactel guys right now?

My Wiring boards do still work properly on the mactel machine (same USB port), so I guess the FTDI driver is OK, too. The particular board I'm using can easily be programmed on a Windows machine, it's fine.

What might be wrong? I guess I need to start over once again... will I also have to get rid of the FTDI driver and re-install it?
Logged

Forum Administrator
Cambridge, MA
Offline Offline
Faraday Member
*****
Karma: 12
Posts: 3538
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Which macosx_setup.command did you run?  I think you need to use the script from Processing (not the one from Arduino), as RXTX changed some things between the version in Arduino 0003 and the newer one  in the latest versions of Processing.
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 9
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
Which macosx_setup.command did you run?  I think you need to use the script from Processing (not the one from Arduino), as RXTX changed some things between the version in Arduino 0003 and the newer one  in the latest versions of Processing.


I ran the one that came with Processing, as did Nick. The release I used was 0114.
The script goes for /var/lock/ (to be owned by group uucp) instead of /var/spool/uucp as in previous versions. /var/spool/uucp does not contain any left-over lock files on my machine.
« Last Edit: April 26, 2006, 04:29:07 am by LLPZ » Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 2
I Love YaBB 2!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi,

  To let you know, I tried the Arduino 003 download for intelMacs on the download page and got the same error that was seen at the start of this thread. I then thought I'd start from scratch.
  So downloaded Arduino-004 for PPC Macs and followed the instructions in this thread. At present I have the same problem as LLPZ, in that I always get the ""[VP 1] Device is not responding correctly." error. I've checked all the baud rates etc........
  The RX light flashes green, then the error is displayed, so I guess some communication is occurring. It is a USB Arduino board....

plaidTortiose.
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 2
I Love YaBB 2!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Ok,
  Have consistently got it working now having done the file repleacements mentioned earlier in the thread on both Arduino 003 & Arduino 004. There is a bit of a knack to upload to the board (its a USB one) though.....

  To get it to work I hold down the reset button, click the Upload button and wait a couple of seconds. Then I release the button and a second or so later both the TX and RX Leds on the board light up and both start flashing. The upload then occurs.

  Releasing the Reset button before clicking on Upload results in the error, 'Programmer is not responding', and the previously uploaded program continues running on the board prior to either green LED flashing. (speculation: which suggests to me that the upload is taking too long to commence and some form of timeout is occurring?)

plaidTortoise
Logged

Forum Administrator
Cambridge, MA
Offline Offline
Faraday Member
*****
Karma: 12
Posts: 3538
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
Ok,
  Releasing the Reset button before clicking on Upload results in the error, 'Programmer is not responding', and the previously uploaded program continues running on the board prior to either green LED flashing. (speculation: which suggests to me that the upload is taking too long to commence and some form of timeout is occurring?)

Yea, the compilation process is probably taking too long.  I should add this to the FAQ.  Thanks for the report.

Also, the librxtxSerial.jnilib that comes with Arduino 0004 should be a Universal file.  Has anyone gotten Arduino 0004 to work on a MacTel machine without replacing this file?
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 1
I Love YaBB 2!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi,
Extrange but I use arduino 4 and 3 on Mac intel and Windows too. The program works in both and having some erros  "programmer is not respond". I don't modificate files but, when i don't use the same sequence for upload, this works great! I press verify and after upload in I/O board and after press reset program in a board.

I think that is can occours because the mac is more slow for compile and upload in a board for usb cable. In arduino 0004 i wait a litle bit more for press reset button and works too.

OBS:I download the latest drive ftdi for universal binary e not install keyspan drivers.
http://www.ftdichip.com/Drivers/VCP/MacOSX/UniBin/FTDIUSBSerialDriver_v2_2_0.dmg
« Last Edit: May 16, 2006, 09:38:00 pm by frabelo » Logged

Pages: 1 [2]   Go Up
Jump to: