Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC: Puzzled with Arduino IO on proview

Puzzled with Arduino IO on proview 12 years 3 months ago #3118

  • jagspaul
  • jagspaul's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 58
  • Karma: 0
Hi,
I am very much puzzled to see the behavior of mi Arduino IO board. To run the IO every time I need to upload the program fro arduino IDE and its run till power off. If I remove USB cable (board is powered from USB) and again connect it after that start proview runtime, I get IO config error.
It is needed to upload the program again.

I am sure the program is written on the flash and it is not volatile as because when I uploaded a simple LED it is running even after power up.

any idea ?????

jags
The administrator has disabled public write access.

Re: Puzzled with Arduino IO on proview 12 years 3 months ago #3119

  • marc
  • marc's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 710
  • Thank you received: 70
  • Karma: 24
Hi Jags,

If you disconnect the Arduino and plug it will point to another device.

For example from /dev/ttyACMO to /dev/ttyACM1

You can check the device in a terminal with for example the command dmesg.

If your device name has changed you must rebuild your node again.
Please, use the Wiki if you succeeded your project or solved your problem. Share your work, so we can learn from each other.
The administrator has disabled public write access.

Re: Puzzled with Arduino IO on proview 12 years 3 months ago #3120

  • Snarf77
  • Snarf77's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 847
  • Thank you received: 2
  • Karma: 5
Hi jagspaul (and hello to marc)

the best in your case (I was in the same not so long ago) is to create a symlink to a floatting usb device not to care about disconnect / reconnect and prevented you to rebuild.

See the following post which worked perfectly for me:

www.proview.se/v2/index.php/forum/4-prov...-guide-question#1566

Rgds

Snarf
The administrator has disabled public write access.

Re: Puzzled with Arduino IO on proview 12 years 3 months ago #3123

  • jagspaul
  • jagspaul's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 58
  • Karma: 0
I have no issue with device name.

I build the node with /dev/ttyUSB0 & every time I unplug & replug the arduino board I checked with dmesg and found same device (/dev/ttyUSB0).

I think the issue is some thing else, may be related with ftdi initialization.

jags
The administrator has disabled public write access.

Re: Puzzled with Arduino IO on proview 12 years 3 months ago #3124

  • marc
  • marc's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 710
  • Thank you received: 70
  • Karma: 24
Hi Jags,

Did you check in xtt the system messages?
Please, use the Wiki if you succeeded your project or solved your problem. Share your work, so we can learn from each other.
The administrator has disabled public write access.

Re: Puzzled with Arduino IO on proview 12 years 3 months ago #3125

  • jagspaul
  • jagspaul's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 58
  • Karma: 0
yes, error 14 (i.e. IO config)

I have found a crude way to fix the issue. may be it is a good clue to debug the issue.

After getting IO config issue stop the runtime and open serial monitor from arduino IDE type a char.. say 'a' and send. now close arduino and restart runtime and found its working.

strange!!!

jags
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Time to create page: 8.410 seconds