Go Down

Topic: StandardFirmata on Due (Read 9484 times) previous topic - next topic


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!


Dec 16, 2012, 03:47 pm Last Edit: Dec 16, 2012, 06:40 pm by Valdas Reason: 1
Thank You for help, Paul!

... after start of firmata_test.64bit:
(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/:
/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 .


Would you take a Ferrari and deliver milk in it?


--- bill


Dec 24, 2012, 11:20 am Last Edit: Dec 24, 2012, 11:26 am by Valdas Reason: 1
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.


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


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?

Mac OSX 10.6.8

Thanks for reply

Go Up