Show Posts
Pages: 1 [2] 3 4 ... 17
16  Using Arduino / Installation & Troubleshooting / Re: .pde files compared to .ino files on: July 25, 2012, 10:36:36 pm
Believe me, if I could, I would.

Alas 90% of businesses these days use it.

So it is "the norm" and if you don't have skills with it, you are less-liked by the employer.

Anyway, that aside, I can't get these files to be opened with the IDE.

"Open with" - or "Open" and then pick a progarm doesn't yield the icon being changed and used in future times.

It isn't a one-party system. You can use whatever you want at home where the employer doesn't care, right? And some employers might actually like you to be able to bootstrap yourself on more than one system. At least, these are the sorts of things I am interested when I conduct an interview for tech positions (which I do regularly.)

Even so, Windows XP 32-bit is very different from any of the modern 64-bit Windows environments, so your employer might not be getting their money's worth if you don't have "the skills".

That being said, it's not like switching to another OS will solve all your problems -- it merely switches one set of problems for another. But you "can" and you "should" at least try one of the other ones.

More to the point: the problem you describe is common, and has to do with how the Explorer saves program defaults. This is something Microsoft changes quite a bit release to release. One trick is to create a test account and see if the problem persists there. If not, then you know it is something related to the account you use, not necessarily the OS itself.
17  Using Arduino / Installation & Troubleshooting / Re: Arduino IDE crashes while uploading to board on: July 22, 2012, 07:43:20 pm
My first thought was that it is a Java problem, but after looking at the error log, I'm not longer sure.

Well, yes and no. It is a failure in a third-party that Arduino uses, but the failure is a classic segmentation fault in some JNI native code related to that third-party.

This is happening at the end of the upload when it is closing down the serial port.

Does it succeed uploading the sketch? That is, does a simple sketch actually just run when you reset the device?

Check your ~/Library/Logs/CrashReporter folder for recent Arduino or Java crash logs. One of those might have some interesting info about the native failure.


This looks like the culprit, or is related:

Assuming you have an Arduino device that needs the FTDI drivers, are they reasonably up-to-date?
18  Using Arduino / Installation & Troubleshooting / Re: Preventing IDE closure when last sketch is closed - Possible ? on: July 13, 2012, 07:06:59 pm
Is there a preference to stop the IDE from telling me it will close when I close the last sketch ?

I want to be able to close the last sketch... but then be able to continue on to another one.....

I Know, I Know... just open the next one before closing the last one..... but its not 'natural' to me - every IDE I have used has always let me close what I am doing before moving to the next project.

Yeah, this would make a nice feature. I think Processing already does this, perhaps with a property "Close app when last sketch closed." Might be worth raising as an enhancement here:
19  Using Arduino / Installation & Troubleshooting / Re: Arduino + Java crash on: July 12, 2012, 09:24:09 pm
That work great,

I change on /usr/bin/arduino
the line (comment with #):

by this
all work great thanks for help

Must be a difference between Arduino 1.0 and 1.0.1. My example was from 1.0.1.

Anyway, this proves that GTK, or a part of it, is not working right on this machine. Indeed, this is almost certainly the bug:

There is a solution in there that talks about "blacklisting" SWT.
20  Using Arduino / Installation & Troubleshooting / Re: Arduino + Java crash on: July 12, 2012, 08:57:43 pm
Thanks for reply,

My system is up to date, yum update say no update available.
(EDIT) I also try to reinstall oxygen-gtk package but no change.

And the file is attach.

Yup, this is a failure in a native library outside of the VM and outside of Arduino. This is a segfault in, in a method called from the VM related to GTK painting when it is trying to bring up the UI.

I notice that you have the nvidia "CUDA" drivers on this box. This could be involved in some manner.

However, we might be able to side-step all of this and just run with a non-GTK LAF (Look And Feel -- the UI "skin" of the Java app).

Edit the "arduino" script and change the line that reads:




See if that helps.
21  Using Arduino / Installation & Troubleshooting / Re: Problems with IDE on: July 12, 2012, 08:39:35 pm

I can't get arduino IDE to work. Each time I try to start it I get "launch4j" error. IDE does not open, and haven't been working since i've downloaded it. I tried reinstalling java and using patched pde.jar and rxtxserial.dll. Deleting preferences doesn't work either, as I haven't even started IDE yet smiley-sad According to troubleshooting guide I should open run.bat, but I can't find it anywhere (downloaded IDE twice, still nothing). Any help is much appreciated.

What platform?

Assuming some sort of Windows, try launching it from the command line:

arduino --l4j-debug

This will create a launch4j.log file in the same directory. See what that says.
22  Using Arduino / Installation & Troubleshooting / Re: Arduino + Java crash on: July 12, 2012, 08:12:34 pm

Please don't hit me if i don't speak very well i will do my best (french guy).

So first of all, i have install Fedora 17, it's run with KDE.
My fedora run un USB drive.
Arduino version is 1.0 from repository.
Java OpenJDK 1.7

When i go to the menu Tools/Serial Port arduino crash and it say :
WARNING:  RXTX Version mismatch
        Jar version = RXTX-2.2
        native lib Version = RXTX-2.2pre2
# A fatal error has been detected by the Java Runtime Environment:
#  SIGSEGV (0xb) at pc=0x00007fcf30fac2b5, pid=3131, tid=140527845656320
# JRE version: 7.0_03
# Java VM: OpenJDK 64-Bit Server VM (23.0-b21 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C  []  Oxygen::StyleWrapper::type()+0x1c55
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
# An error report file with more information is saved as:
# /tmp/hs_err_pid3131.log
# If you would like to submit a bug report, please include
# instructions on how to reproduce the bug and visit:

I have also a core dump but... that so underground for me.

So i don't know what i can do to use my arduino Seeeduino (based from Diecimila ATMega 168)

Thanks for reply.

Can you attach or provide the hs_err_pid file it mentions in the crash log?

It's failing in a native library, outside of the VM. Have you tried updating the 64-bit liboxygen-gtk package on this machine?
23  Using Arduino / Project Guidance / Re: Dont think the Arduino will cut it... Help! on: July 10, 2012, 08:53:10 pm
Im trying to do some DSP on a relatively fast signal (25kHz), im actually demodulating 25kHz FSK. Ideally I want to do all of the demodulation digitally, I'd like to only use analog components for scaling of the input signal.

Ideally I would like to real time FFT on the signal, when something is detected in the FFT data, I want to acquire the next x seconds (probably less than .25) of data and process it. My initial ideas are to split the x-seconds array  into 100 element chunks, and preform FFT on them. The results of the FFT would give me the transmitted info.

An important note is that my signal will have huge variations in amplitude, which is why im leaning towards DSP. Its for an ultrasonic application.

I believe that this is to much for the arduino to handle, if so can anyone recommend a controller/processor for this application that is relatively easy to program? I am familiar with the arduino IDE, as well as C in general. I am not familiar with assembly, just typing it gives me the shivers!

I know that DSP and easy dont generally mix, but I hope there is something out there!


TI makes a line of DSP friendly low-power solutions; OMAP. They are pretty good about cheap or free samples. I suppose many people are doing FPGA design for DSP, as well.
24  Using Arduino / Installation & Troubleshooting / Re: Error compiling. Unable to rename core.a on: July 10, 2012, 08:04:54 am
Hi everyone.
I just started trying to make my recently buyed first arduino and I got stuck just in the very first step of making it work.

Trying to upload the blink example but with different time lapses for blinking, i get the next error while trying to compile.

"C:\Program Files\Arduino\arduino-1.0\hardware\tools\avr\bin\avr-ar: unable to rename 'core.a'; reason: File exists"

I'm using an Arduino Uno, with Windows Vista. I've installed it as told in the instructions and the thing is it has worked once of the about 50 that i've tried, and it compiled and uploaded.
I tired to reinstall all the folder, and worked well in the first try, but I keep on getting the same message now. smiley-sad

Any ideas!?

You probably have some real-time anti-virus program running. You should disable this, or make sure everything to do with AVR development is ignored by it.
25  Using Arduino / Installation & Troubleshooting / Re: How long does your IDE take to fire up? on: July 09, 2012, 09:05:13 pm
Have you got Bluetooth enabled?


I tried again with it off... halved the time, but still 25secs or so.

Try disabling any real-time anti-virus stuff you have enabled.
26  Using Arduino / Project Guidance / Re: put these into a Uno on: July 07, 2012, 12:33:22 pm
You may get a Signature Byte error. If you do, its pretty easy to make a file change to have them recognized.

how to fix signature byte error?????

You need to tweak the avrdude.conf file to include sections for the chip variation you have. You describe its signature and fuses. Search for avrdude.conf here.
27  Using Arduino / Project Guidance / Re: board randomly stops powering my sensors on: July 06, 2012, 01:50:54 pm
James, I just use a multimeter to measure voltage between the 5v and gnd pins on the arduino board. I get 0. 

Yeah, I have to echo the sentiment that this is something you need to start with. I suspect you are exceeding the current that the power supply can offer, and it is shutting down.
28  Using Arduino / Installation & Troubleshooting / Re: How to Bootloader on: July 05, 2012, 09:54:22 am
Today  I have a board which I do It yourself.

I want to know to begin friststep.

How I do ?      smiley-sweat

Sorry,If gramma not strong.  

I'm Thai   smiley-sweat

You need an "ISP" (in-system programmer) or another Arduino wired up to this board to act as an ISP. Start here:

Look at Bootloader and Programmer sections.
29  Using Arduino / Installation & Troubleshooting / Re: Checking whiat firmware was preinstalled. on: July 04, 2012, 10:18:28 am
Yeah, check some posts by Nick Gammon and others. There are a few sketches floating around that will report on fuses and bootloader versions.

Such as:

This and a few other tools I've seen ought to be a sticky thread...
30  Using Arduino / Programming Questions / Re: Serial.write a float value on: July 02, 2012, 07:01:51 pm
Unions a so cool! Basically the 'byte binary[4]' and 'float floatingPoint' are joined and share the same memory space, so you can access either, and if you change one, you change the other. You can have so much fun changing the byte array, and seeing what its floating point equivalent is smiley-grin

I've done something similar in COBOL, if you can believe it. You can reinterpret all or parts of a display value (backed by any number of binary formats) to do all sorts of unnatural things with it.
Pages: 1 [2] 3 4 ... 17