Dangerous Prototypes

Dangerous Prototypes => USB Infrared Toy => Topic started by: dukey on July 28, 2010, 11:13:24 pm

Title: Flashing help
Post by: dukey on July 28, 2010, 11:13:24 pm
Hi guys,
I'm a total newbie to these sort of hardware projects. Anyway I want to upgrade the firmware to the latest version so I can have a bash at getting this to work in WinLIRC. However I can't seem to update the hardware. What am i doing wrong ? :)

(http://http://img821.imageshack.us/img821/834/irtoy2.jpg)

Edit:
I meant to add I am using Vista32 if that makes any difference.
Title: Re: Flashing help
Post by: dukey on July 28, 2010, 11:24:35 pm
okay scap this ! I figured it out
Just needed to do the $ thing to put it into bootloader? mode
:)
Title: Re: Flashing help
Post by: liyin on July 28, 2010, 11:42:11 pm
For terminal software like Hercules or Terminal you have to escape the "$" character: "$$".
Title: Re: Flashing help
Post by: dukey on July 29, 2010, 12:00:03 am
thanks liyin. I have more newbie questions. When programming to use this device as a virtual serial port, what do I set the settings as ? Should I just stick the baud rate to the max and leave it as that, or is the default 9600 more than sufficient?
Title: Re: Flashing help
Post by: liyin on July 29, 2010, 12:13:56 am
I use the default settings, except for baud rate (115200), which you can see below.

In Hercules you can select between Hex and ASCII by right-clicking the screen (first option). I wish there was a better way to clear the screen, or avoid switching back and forth between Hex and ASCII.

(http://http://i25.tinypic.com/vipieg.jpg)
Title: Re: Flashing help
Post by: ian on July 29, 2010, 07:55:13 am
Quote
When programming to use this device as a virtual serial port, what do I set the settings as ?

Any setting 115200bps and above should work, but you can open it at much higher speeds because it is a virtual serial port. Most operating systems will ignore the speed setting, but some (OSX? certain Linux?) throttle to the set speed. Let me know if you need any more help with the update :)
Title: Re: Flashing help
Post by: liyin on July 29, 2010, 05:03:21 pm
So what's the speed limit for devices like the BP and the IR Toy?  (RTS/CTS being used for higher data rates)

What UART lines are used by these devices, besides RX/TX?  I have a USB to Serial cable and sometimes wonder if all lines are present in the male connector, like in a PC port.
Title: Re: Flashing help
Post by: ian on July 29, 2010, 05:39:50 pm
The IR Toy doesn't use any of the extra signals, they are just sent over the USB control channel because everything is emulated (not really serial or limited to serial timing). The practical speed limit is around 9,xxx,xxx (I forget the exact baud rate), which is used on the pump-loader for the OLS for super high-speed ROM updates.

( ! ) 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.00982058272session_write_close ( )...(null):0
20.01012189848ElkArte\sources\subs\SessionHandler\DatabaseHandler->write( )...(null):0
30.01012190624Database_MySQL->query( ).../DatabaseHandler.php:119
40.05632329344Database_MySQL->error( ).../Db-mysql.class.php:273