Skip to main content
Topic: IR Toy v2 firmware version query on Linux (Read 3407 times) previous topic - next topic

IR Toy v2 firmware version query on Linux

Hi,

How can I query the firmware version of my IR Toy v2 on Linux?

Thanks,
Laci

Re: IR Toy v2 firmware version query on Linux

Reply #1
It is described in the documentation on the main DP website.

http://http://dangerousprototypes.com/docs/USB_IR_Toy:_IRman_decoder_mode
see 'v'or 'V' command.

Essentially, it is a serial interface over USB  and you just have to send the correct command and read the response.

Re: IR Toy v2 firmware version query on Linux

Reply #2
Hi Laci,

You can do that with IrScrutinizer, using the GUI. Just open the irtoy either for sending or for capturing.

There are also ways for doing it from the command line, or using the Java API; let me know if you are interested,

Re: IR Toy v2 firmware version query on Linux

Reply #3
@AnalysIR: Thanks for the help! After executing `screen /dev/ttyACM0 115200` and typing "v", "V212" appeared. I'm not exactly sure which version it's supposed to mean. I only know that according to http://dangerousprototypes.com/docs/USB ... y#Download v22 is the most recent version. Any ideas?

@Barf: Thanks a ton, will be looking into it!

Re: IR Toy v2 firmware version query on Linux

Reply #4
I belive this n=means you have V2 hardware & firmware 1.2.

So you should update to the latest firmware 2.2 (Available via DP web site)

Re: IR Toy v2 firmware version query on Linux

Reply #5
Hey guys,

Just wanted to follow up that I've successfully updated to the v22 firmware. Now when I send "v" to my IR Toy v2 it displays "V222" in the terminal. Looks like the format is VXXY where XX is the firmware version and Y is the product version (2nd generation IR Toy).

Will follow up later on my journey, thanks a lot!

Re: IR Toy v2 firmware version query on Linux

Reply #6
Quote
t wanted to follow up that I've successfully updated to the v22 firmware. Now when I send "v" to my IR Toy v2 it displays "V222" in the terminal. Looks like the format is VXXY where XX is the firmware version and Y is the product version (2nd generation IR Toy).

Just checked the source code and the response format of the command is as follows:

VHFF

V = command response
H = Hardware version
FF - firmware version

  so for Hardware version 2 with firmware 2.2 the response should be V222
and for Hardware version 1 with firmware 2.2 the response should be V122

Re: IR Toy v2 firmware version query on Linux

Reply #7
@AnalysIR: I stand corrected, thanks for the clarification!