Pages: 1 [2]   Go Down
Author Topic: StandardFirmata on Due  (Read 4650 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
God Member
*****
Karma: 25
Posts: 606
Always making something...
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Perhaps the Due built StandardFirmata isn't sending the proper capability data for firmata_test to detect the number of pins and their capabilities?

I've uploaded a couple builds of firmata_test for Ubuntu 12.04, one with the logging window enabled.  Perhaps if you try that, it may give some more info about what's wrong.  If you don't see the log, try moving the main window.  It might be underneath.  The log window has a menu that lets you save all the info to a file, to make it easier to share the results.

The only documentation on firmata_test is its source code.  To see what those log messages mean, look for the printf() statements!
Logged

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

Thank You for help, Paul!

... after start of firmata_test.64bit:
Quote
(firmata_test.64bit:6147): GLib-GObject-WARNING **: invalid uninstantiatable type `(null)' in cast to `GtkRadioMenuItem'
(firmata_test.64bit:6147): Gtk-CRITICAL **: gtk_radio_menu_item_get_group: assertion `GTK_IS_RADIO_MENU_ITEM (radio_menu_item)' failed

after start of firmata_test.64bit_2 or firmata_test.64bit_2_log from http://www.pjrc.com/teensy/firmata_test/:
Quote
/lib/libc.so.6: version `GLIBC_2.15' not found (required by firmata_test.64bit_2)
my glibc on debian stable is  2.11.3 .

attached output of test.pl from https://github.com/amimoto/perl-firmata/tree/master/examples .
attached output of make after installation of libwxgtk2.8-dev .

* output.txt (6.6 KB - downloaded 11 times.)
* make.txt (19.32 KB - downloaded 30 times.)
« Last Edit: December 16, 2012, 12:40:45 pm by Valdas » Logged

Dallas, TX USA
Offline Offline
Faraday Member
**
Karma: 63
Posts: 2648
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Would you take a Ferrari and deliver milk in it?


 smiley-lol

--- bill
Logged

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

firmata_test only works with StandardFirmata.
Servo.h must be removed from StandardFirmata.ino. After the corrections it will be able to compile in Arduino IDE 1.5.1.
Then firmata_test began to show controls with Due board.

I think (this is just my guess) that firmata_test need to devote more time to get a list of the initial capabilities to show all controls without missing Pins. Increasing the value of SamplingInterval not helping for Due.


* StandardFirmataWOservo.png (65.16 KB, 551x762 - viewed 23 times.)
* StandardFirmataWOservo.ino (20.8 KB - downloaded 8 times.)
« Last Edit: December 24, 2012, 05:26:37 am by Valdas » Logged

0
Offline Offline
God Member
*****
Karma: 25
Posts: 606
Always making something...
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Firmata will probably work better on Due when 1.5.2 is released, with Servo and lots of other improvements.
Logged

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

At least I got another question concerning this topic.
In my current project I need to connect pure data pduino 0.5 with the Due board. When I was trying to upload the firmata 2.3.6 with Arduno 1.5.2 I got the following error:


StandardFirmata.ino:34: fatal error: Firmata.h: No such file or directory
compilation terminated.

but at least Firmata.h is in the same file as StandardFirmata.ino

Can someone give me a hint where to put the file fpr StandarFirmata.ino to find it?

System:
Mac OSX 10.6.8

Thanks for reply
yours
sebastian
Logged

Pages: 1 [2]   Go Up
Jump to: