Dangerous Prototypes

Dangerous Prototypes => USB Infrared Toy => Topic started by: sapnho on September 18, 2015, 10:39:56 pm

Title: H2 check and update the firmware with OSX
Post by: sapnho on September 18, 2015, 10:39:56 pm
Since the Diolan Bootloader Utility for OSX was apparently pulled, how can I check or upgrade the firmware with the IR Toy connected to a Mac?
Title: Re: H2 check and update the firmware with OSX
Post by: dpropicweb on September 19, 2015, 05:30:46 am
https://github.com/dpavlin/fw_update (https://github.com/dpavlin/fw_update)
Title: Re: H2 check and update the firmware with OSX
Post by: sapnho on September 22, 2015, 06:18:32 pm
I just received my irtoy and connected it to the usb port. Through ls in /dev I discovered that the device name is /dev/tty.usbmodem1421.

Now when I do
Code: [Select]
/Applications/irtoy -d /dev/tty.usbmodem1421

it tells me that

Quote
IR TOY Recorder/Player utility v21 (CC-0)
 http://dangerousprototypes.com (http://dangerousprototypes.com)

-------------------------------------------------------------------------
 Opening IR Toy on /dev/tty.usbmodem1421 at 115200bps...
 IR Toy Firmware version: V212
 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
 This utility is for firmware version 20 and up.
 Please update your IR TOY firmware version 12 to the latest firmware.
 See documentation and firmware update procedures at
 http://dangerousprototypes.com/docs/USB ... y#Firmware (http://dangerousprototypes.com/docs/USB_Infrared_Toy#Firmware)

Looking at the page that you recommended, it says that the files are 3 years old. I find it hard to believe that I have received a piece of hardware that is more than 3 years old and has an ancient firmware.

Looking at the GitHub link I, unfortunately, have no idea what exactly I should do to update the firmware. I have my irtoy connected to a Mac, I am in terminal. What next? Thanks!
Title: Re: H2 check and update the firmware with OSX
Post by: dpropicweb on September 23, 2015, 12:25:55 am
Sorry, I don't have an IR Toy - I just read the documentation. Perhaps you should do the same? Your current firmware provides a URL which has all the details you seem to need.
Title: Re: H2 check and update the firmware with OSX
Post by: sapnho on September 23, 2015, 07:22:23 am
Reading the documentation isn't really helping if many links are dead.

Anyway, if somebody needs help, this article http://http://www.cdrum.com/2013/02/flashing-usb-ir-toy-v2.html?showComment=1442955385021 provides the answer. Use a pure Linux system instead of OSX following these instructions.

( ! ) Fatal error: Uncaught exception 'Elk_Exception' with message 'Please try again. If you come back to this error screen, report the error to an administrator.' in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
( ! ) Elk_Exception: Please try again. If you come back to this error screen, report the error to an administrator. in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
Call Stack
#TimeMemoryFunctionLocation
10.01252050160session_write_close ( )...(null):0
20.01302181736ElkArte\sources\subs\SessionHandler\DatabaseHandler->write( )...(null):0
30.01312182512Database_MySQL->query( ).../DatabaseHandler.php:119
40.05432321232Database_MySQL->error( ).../Db-mysql.class.php:273