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 - marlonj

Pages: [1]
1
Programming Questions / Re: Wiring 1.0 RC3 for Linux
« on: July 12, 2011, 12:35:42 PM »
Hi Gabriel

It works !!!
Serial port /dev/ttyACM* is recognized
and Blink example works in Arduino Uno

thanks a lot
marlonj
2
Programming Questions / Re: Wiring 1.0 RC3 for Linux
« on: July 11, 2011, 05:53:20 PM »
Hello

The Arduino UNo Serial Port is recognized :)
but the problem with the blink example persists :(

I check the version and is 2.21
 wiring/tools/avr/bin/avr-as --version
GNU assembler (GNU Binutils) 2.21

marlonj
3
Programming Questions / Re: Wiring 1.0 RC3 for Linux
« on: July 08, 2011, 11:41:02 PM »
Hi

I'm using the avr that comes with the distribution of Wiring for Linux

Wiring_1.0rc3/tools/avr/bin/avr-as --version
GNU assembler (GNU Binutils) 2.21

That version have the bug

marlonj
4
Programming Questions / Re: Wiring 1.0 RC3 for Linux
« on: July 07, 2011, 10:14:25 PM »
Hello

I'm trying to use the Wiring IDE to program an Arduino Uno Board
I change the Blink program just to use the 4 pin and connect a LED to it

Code: [Select]
void setup() {
  pinMode(4,OUTPUT);
}

void loop() {
  digitalWrite(4,HIGH);
  delay(1000);
  digitalWrite(4,LOW);
  delay(1000);
}

I test this program using Wiring in Windows 7 and works fine
but when i try to use the Linux version the LED is always ON

I test again open the Serial port to write some debug messages

Code: [Select]
void setup() {
  pinMode(4,OUTPUT);
  Serial.begin(9600);
}

void loop() {
  digitalWrite(4,HIGH);
  Serial.println("H"); 
  delay(1000);
  digitalWrite(4,LOW);
  Serial.println("L"); 
  delay(1000);
}

and it works fine in Linux
5
Programming Questions / Re: Wiring 1.0 RC3 for Linux
« on: July 06, 2011, 01:44:32 PM »
Solutions for Arduino Uno Serial Port :

First Solution :
   Use the RXTX Java library patched to support the /dev/ttyACM* (easy)
   You need to download the Arduino IDE for Linux (32 or 64 bits) http://arduino.cc/en/Main/Software
   go to the directory arduino-0022/lib/ and copy the files RXTXcomm.jar librxtxSerial.so and replace
   the files at Wiring_1.0rc3/lib/serial   

Second Solution :
   Add a Symbolic link to the ttyACM* port (hard, needs root or sudo permissions)
   you need to create a rule where the kernel creates a symbolic link with the ttyUSB name for each ttyACM port
   KERNEL=="ttyACM*", SYMLINK+="ttyUSB%n"
   http://thenybble.de/projects/arduino-64-bit.html

I use the first Solution and works fine in my Ubuntu Linux 32bits
Maybe the patched version of RXTX can be added to the Wiring Linux Distribution

Troubleshooting

- Check if the librxtx-java package is installed and remove it or update to the last release

marlonj
6
Programming Questions / Re: Wiring 1.0 RC3 for Linux
« on: July 05, 2011, 11:25:38 PM »
Hello There

I just download the file but the problems persists :(
I think is not a problem with the Wiring IDE cause i try to upload the sketch using the avrdude package of Ubuntu and the same message is show. I think is a problem with my board

Not solution yet to discover the Arduino Uno port /dev/ttyACM0

Works fine with an Freeduino with optiboot and FTDI Usb-Serial

marlonj
7
Website Questions / Forum Problem, unable to login
« on: July 01, 2011, 03:15:01 PM »
Hello

I just try to login with my account but my user is not registered
i have to register again to have access

marlonj
8
Programming Questions / Wiring 1.0 RC3 for Linux
« on: July 01, 2011, 03:12:16 PM »
Hello There

I just download the new version of Wiring 1.0 RC3 for Linux
Thanks to Gabriel Zea !!!

- I can't program the Wiring 1.0 that i update to firmware 2.x, the serial port is recognized but when i try to upload the sketch the error : avrdude: stk500v2_ReceiveMessage(): timeout is show. I tested with Windows version and it works fine. I'm using Ubuntu 11.04 32 Bits
- I can't program the Arduino Uno, the serial port is not recognized, maybe is because the name of the serial port that is /dev/ttyACM0 and Wiring only recognize de ttyUSB type ?
- I was able to program a Freeduino (with the Arduino Uno Bootloader) that use a FTDI chip, so the Wiring can see the /dev/ttyUSB0 serial port

The debug info show when i try to upload the sketch :

/home/marlonj/sw/Wiring_1.0rc3/tools//avr/bin/avrdude -C/home/marlonj/sw/Wiring_1.0rc3/tools//avr/bin//avrdude.conf -v -v -v -v -patmega128 -cwiring -P/dev/ttyUSB1 -b115200 -D -Uflash:w:/home/marlonj/sw/Wiring_1.0rc3/examples/Basics/1.Getting Started/Blink/build/Blink.cpp.hex:i

avrdude: Version 5.10svn, compiled on Jun 30 2011 at 18:42:03
         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
         Copyright (c) 2007-2009 Joerg Wunsch

         System wide configuration file is "/home/marlonj/sw/Wiring_1.0rc3/tools//avr/bin//avrdude.conf"
         User configuration file is "/home/marlonj/.avrduderc"
         User configuration file does not exist or is not a regular file, skipping

         Using Port                    : /dev/ttyUSB1
         Using Programmer              : wiring
         Overriding Baud Rate          : 115200
avrdude: Send: . [1b] . [01] . [00] . [01] . [0e] . [01] . [14]
avrdude: ser_recv(): programmer is not responding
Pages: [1]