Dangerous Prototypes

Dangerous Prototypes => USB Infrared Toy => Topic started by: avsavvy on April 19, 2015, 09:39:32 am

Title: ir toy v2 firmware update not working plz help
Post by: avsavvy on April 19, 2015, 09:39:32 am
I have a usb ir toy v2. it never worked, but I thought I would see if I can reinstall the firmware. I  jumpered the two pins and the light came on. excellent

so I am trying to follow the instructions,

the toy is at port_#0002.Hub#0003 (good, its showing up)

im running update-USBIRToy.v22 (windows batch file)

it opens the window, and asks me what port its on.

I have tried #0002, 2, 0002, port_#0002.Hub#0003, and many others.

I always get:
-----------------------------------------------
Could not open com port.
Once the device has entered boot loader mode
Press any key to continue . . .
-----------------------------------------------------

I have installed the .inf driver in windows. which has apparently "determined that the driver software for your device is up to date".

im running windows 8.1 64bit on a slate pc, windows 7 64bit on a desktop, and  windows 7 32bit on a laptop. I get the same on all of them.

if I remove the jumper, the orange light will sometimes go off (and stays off when plugged into another computer) when moving it between computers, I think it may be something to do with sleep mode on my tablet. when the light is off it does not show up as a device at all.

im keen to use this to analise IR codes. I would really like to get it working. especially since I spent more on shipping than the device

thanks heaps,

-Morgan
Title: Re: ir toy v2 firmware update not working plz help
Post by: avsavvy on April 24, 2015, 09:30:56 am
Can anyone help me here? Please?
Title: Re: ir toy v2 firmware update not working plz help
Post by: AnalysIR on April 25, 2015, 01:16:58 pm
What command did you run to update the fw?

On windows, just copy the command shown on the fw update page.
Title: Re: ir toy v2 firmware update not working plz help
Post by: avsavvy on April 29, 2015, 03:32:45 pm
I don't know what command to run. I know little about this kind of thing. I barely know what a code is in this case. I'm a very new Newby just trying to learn.

I just clicked on the file: Update-usbirtoy.v22 from the what I read, I thought that would load the firmware into my USB irtoy v2

Could you please help me understand the correct procedure?

This is the instructions I tried to follow:

http://dangerousprototypes.com/docs/USB ... are_update (http://dangerousprototypes.com/docs/USB_IR_Toy_firmware_update)

This is what I did. I jumpered pgc/pgd, connected it via USB to my computer, ran the .bat file corresponding to the firmware I wanted to upgrade (v22).

What happened next is in the original post.

Please help. Thanks.
Title: Re: ir toy v2 firmware update not working plz help
Post by: avsavvy on April 29, 2015, 04:00:46 pm
More info. When I look at the device manager event list I see that the device cannot start. Below are the details copied from windows device manager. I hope it is of some use

Device USBVID_04D8&PID_FD0B5&3c47b97&0&2 had a problem starting.

Driver Name: input.inf
Class Guid: {745A17A0-74D3-11D0-B6FE-00A0C90F57DA}
Service: HidUsb
Lower Filters:
Upper Filters:
Problem: 0xA
Status: 0x0
Title: Re: ir toy v2 firmware update not working plz help
Post by: AnalysIR on April 29, 2015, 04:01:16 pm
There should be a batch file in the download with the following window batch file: (update-USBIRToy.v22)

Code: [Select]
@ECHO OFF
set /P INPUT=Enter Com Port Number %=%

BootLoader.exe %INPUT%

ECHO Once the device has entered boot loader mode
pause

fw_update -e -w -v -m flash -vid 0x04D8 -pid 0xFD0B -ix USBIRToy.v22.hex
pause

Just make sure the USBIRToy.v22.hex file is in the same directory .

If you jumper and have the LED on, then just hit return when prompted for the COM port. (This is likely your mistake.)
Title: Re: ir toy v2 firmware update not working plz help
Post by: avsavvy on April 29, 2015, 04:07:52 pm
It is in the same folder. I'm opening that file and it asking me for a port number. I have also tried opening fw_update.exe (a program) to see what it does  but after giving permission it opens what looks like command prompt and then immediately closes
Title: Re: ir toy v2 firmware update not working plz help
Post by: avsavvy on April 29, 2015, 04:11:19 pm
I have also tried opening bootloader (which seems to be a a.exe too) with the same result as fw_update
Title: Re: ir toy v2 firmware update not working plz help
Post by: AnalysIR on April 29, 2015, 04:16:29 pm
just run the command:

Quote
fw_update -e -w -v -m flash -vid 0x04D8 -pid 0xFD0B -ix USBIRToy.v22.hex

but first make sure the IR Toy is plugged in after jumpering with the LEd on.

If that doesnt work, the only thing I can think of is if you have the wrong driver installed. Maybe uninstall & re-install the correct drivers. (Verify manufacturer as DP, PID & VID as above)


After that it sounds like faulty hardware (or maybe just user error) & you should contact your supplier directly for support.
Title: Re: ir toy v2 firmware update not working plz help
Post by: avsavvy on April 29, 2015, 06:11:45 pm
Run it in what? The fw_update program closes before I can do anything. And the command doesn't work in command prompt. As for drivers it says it only needs the .ini file which is correct.
Title: Re: ir toy v2 firmware update not working plz help
Post by: AnalysIR on April 29, 2015, 06:24:11 pm
open a command prompt window and run the command from there.

But first make sure you change to the directory with the exe & the .hex file in it. At least then you should see what is going wrong.

Quote
And the command doesn't work in command prompt.
If this is correct, then you are likely doing something basic wrong. Try and find someone local who can help.
Title: Re: ir toy v2 firmware update not working plz help
Post by: avsavvy on April 29, 2015, 11:22:59 pm
If I run that command I get:

Microsoft Windows [Version 6.3.9600]
(c) 2013 Microsoft Corporation. All rights reserved.

C:UsersMorgan>fw_update -e -w -v -m flash -vid 0x04D8 -pid 0xFD0B -ix USBIRToy
.v22.hex

C:UsersMorgan>fw_update -e -w -v -m flash -vid 0x04D8 -pid 0xFD0B -ix USBIRToy
.v22.hex

C:UsersMorgan>fw_update -e -w -v -m flash -vid 0x04D8 -pid 0xFD0B -ix USBIRToy
.v22.hex

C:UsersMorgan>

The device remains in update mode (the light stays on). As U can see I tried 3 times
Title: Re: ir toy v2 firmware update not working plz help
Post by: AnalysIR on April 30, 2015, 01:02:59 am
It doesn't appear that you have changed directory to the location of the fw file ,unless you have it all in
C:UsersMorgan>...
As the exe ran it seems you have

I  ran thru it successfully and you can see the fw updateing with % progress.

I then tried it wiht the wrong filename and also with the IR Toy not plugged into USB and it behaved as you described.

So back to a faulty device or user error...and unfortunately I am out of ideas....
Title: Re: ir toy v2 firmware update not working plz help
Post by: avsavvy on April 30, 2015, 03:03:50 am
Yes I had them all in that directory.

What/which filename are you referring to that could be wrong?

Thanks for all you help. I really appreciate it.

Fyi I downloaded your program, and i'm exited to use it to look at ir codes if I can get this hardware working
Title: Re: ir toy v2 firmware update not working plz help
Post by: AnalysIR on April 30, 2015, 12:38:36 pm
Quote
What/which filename are you referring to that could be wrong?
USBIRToy.v22.hex
Title: Re: ir toy v2 firmware update not working plz help
Post by: avsavvy on April 30, 2015, 04:15:57 pm
I tried changing the file name. Same result. I would guess you're right that its hardware. I wish there were a way to scan the hardware to test it.
Title: Re: ir toy v2 firmware update not working plz help
Post by: AnalysIR on April 30, 2015, 05:03:58 pm
Pity....maybe your supplier will replace if it is near new.


Did you try with different USB cables, which could be another point of failure.

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