IR Toy firmware v23 tests

USB infrared remote control receiver/transmitter. Get one for $20, including worldwide shipping.

IR Toy firmware v23 tests

Postby ian » Tue May 08, 2012 9:17 am

Here is a test version of firmware v23. It includes an almost complete rewrite of all code by JTR. It uses an improved USB stack version, major improvements to sampling mode, SUMP logic analyzer mode, and more. Any test would be greatly appreciated! Especially if you test it and it works :)

There is one known error:
*In sample mode using the transmit command WITHOUT handshake will lose the first packet. I believe WinLIRC, REC&PLAY, and everybody else all use the handshake now though.

Updates todo:

Wake PC (some PCs...) viewtopic.php?f=29&t=3779#p41276
Attachments
IRToy-v23-test1.zip
(139.52 KiB) Downloaded 1194 times
User avatar
ian
Crew
Crew
 
Posts: 10803
Joined: Mon Jul 06, 2009 6:14 am

Re: IR Toy firmware v23 tests

Postby davidbobo » Mon May 21, 2012 9:55 pm

Thanks for the update, Ian. My Toy was stuck in bootloader mode, based on the LED always on and appearing as a HID device (which often 'failed to start'). I've loaded your v23 code, and the Toy is back to life. I'm able to receive codes using the WinLIRC utilities. I've done nothing beyond that yet, heck I just got the Toy a few days ago. Thanks again.

David
davidbobo
Newbie
Newbie
 
Posts: 1
Joined: Mon May 21, 2012 8:11 am

Re: IR Toy firmware v23 tests

Postby Doug » Mon May 21, 2012 10:23 pm

I had to revert back to v22. I was experiencing WinLIRC freezes which seemed to only occur only when I was receiving and sending (receive only seems to work okay). I'd have to unplug/replug the IR Toy to reset WinLIRC but the problem would occur again after a few receive/send combinations.

Doug
Doug
Newbie
Newbie
 
Posts: 23
Joined: Wed Apr 27, 2011 12:27 am

Re: IR Toy firmware v23 tests

Postby Owel » Wed Jul 04, 2012 4:20 am

keep going.
I'm looking forward to the wake PC feature :)
Owel
Newbie
Newbie
 
Posts: 9
Joined: Wed Mar 07, 2012 2:00 am

Re: IR Toy firmware v23 tests

Postby lukjod » Tue Aug 07, 2012 8:17 am

in my case after update to v 23 on Event Ghost with plugin USB Infrared Toy orange led stoped to worked when receiving signal. With v22 all was ok
lukjod
Newbie
Newbie
 
Posts: 3
Joined: Tue Aug 07, 2012 8:12 am

Re: IR Toy firmware v23 tests

Postby JTR » Tue Aug 07, 2012 4:02 pm

Forget that version. It has a number of coding errors. In fact there was one each in SUMP irS and irWidget. One each was enough to break it badly. These have been sorted out and there is new firmware that is been rather extensively tested. When that hits the shelves then do upgrade to that as it really sorts out a rather interesting timing problem that has slipped through unnoticed and there are rumors of a functional Easter egg that I cannot confirm or deny.
JTR
Sr. Member
Sr. Member
 
Posts: 335
Joined: Mon Jan 31, 2011 5:50 am

Re: IR Toy firmware v23 tests

Postby oshaker » Fri Oct 19, 2012 10:42 am

Is it possible to have access to the source codes of v2.3, rather than HEX files?
oshaker
Newbie
Newbie
 
Posts: 1
Joined: Fri Oct 19, 2012 10:40 am

Re: IR Toy firmware v23 tests

Postby dukey » Thu Dec 20, 2012 7:47 am

What is a stable firmware version to use ?
dukey
Full Member
Full Member
 
Posts: 219
Joined: Thu Jul 08, 2010 2:18 pm

Re: IR Toy firmware v23 tests

Postby pio » Sat Dec 29, 2012 4:07 pm

v11 - Last version with the previous USB stack

v20 - Introduced new open source USB stack (standby issues)

v22 - Fixed 48byte transmit bug / Fixed bug when IRS mode settings were used (eg custom PWM frequency)
pio
Newbie
Newbie
 
Posts: 8
Joined: Mon Dec 10, 2012 5:02 am

Re: IR Toy firmware v23 tests

Postby dodo » Fri Jan 11, 2013 3:37 pm

iam getting this error when i try to flash and now i can't get back to v.22 any suggestions?
U2IO flash erasing: DONE.
U2IO id programming: DONE.
U2IO eeprom programming: DONE.
U2IO flash programming: DONE.
U2IO id programming: DONE.
U2IO eeprom programming: DONE.
U2IO flash verifying: 17%retry = 0

retry = 1

retry = 2

retry = 3

retry = 4

U2IO flash verifying: FAILED.
Verification failed.
Operation aborted.
dodo
Newbie
Newbie
 
Posts: 3
Joined: Fri Jan 11, 2013 2:38 pm

Re: IR Toy firmware v23 tests

Postby RadiatorTwo » Fri Jan 11, 2013 6:50 pm

Can you tell us what parameters you used to get that output?
Normally it only shows 3 lines of output.
At least when I am flashing with these parameters:
Code: Select all
fw_update -e -w -v -m flash -vid 0x04D8 -pid 0xFD0B -ix USBIRToy.v23.hex


Result is this:
Code: Select all
U2IO flash erasing: DONE.
U2IO flash programming: DONE.
U2IO flash verifying: DONE.


After that comes an confirmation but too fast to read.
And that´s it.

Also are you flasinhg in Windows or an linux distribution?

Is the IRToy right now in bootloader mode? (led is continuously on when connected)
Disconnect the IRToy and shorten the PGC and PGD pins with a jumper/wire and then stick it in the usb port again.
This puts it in bootloader mode.
Then try flashing again. After flashing disconnect the Toy and remove the jumper.
RadiatorTwo
Newbie
Newbie
 
Posts: 18
Joined: Sat Nov 24, 2012 7:39 am

Re: IR Toy firmware v23 tests

Postby dodo » Sat Jan 12, 2013 2:51 am

I used this command fw_update -e -w -v -m all -vid 0x04D8 -pid 0xFD0B -ix USBIRToy.v23.hex on my windows 7 box.
with the PGC and PGD shorten. I also tried fw_update -e -w -v -m flash -vid 0x04D8 -pid 0xFD0B -ix USBIRToy.v23.hex
with the same result. But when i try to flash TVBGone.hex it's works without any errors. It's the same problem with v20-22
will test to flash it on my linux mint box later if you think it will help.
dodo
Newbie
Newbie
 
Posts: 3
Joined: Fri Jan 11, 2013 2:38 pm

Re: IR Toy firmware v23 tests

Postby RadiatorTwo » Sat Jan 12, 2013 3:22 pm

With the parameter "-m all" you have overwritten the eeprom and the id.
I don´t know if this is a problem, but it isn´t necessary when flashing the firmware as far as i know.

I don´t think it will get better when flashing under linux.
Can´t help further with that I think.
RadiatorTwo
Newbie
Newbie
 
Posts: 18
Joined: Sat Nov 24, 2012 7:39 am

Re: IR Toy firmware v23 tests

Postby dodo » Sat Jan 12, 2013 5:48 pm

I only follwed the step 2 in upgrade page if that dosen't work thay should change it..tryed to flash it in linux with the same error..TVBGone.hex works but v20-23.hex doesn't...
dodo
Newbie
Newbie
 
Posts: 3
Joined: Fri Jan 11, 2013 2:38 pm

Re: IR Toy firmware v23 tests

Postby ian » Mon Jan 14, 2013 4:09 am

Hi dodo,

My guess is maybe there is a bit of the flash that is corrupted. It could be unused (or correct) for the TV B Gone firmware, but not the others. Please contact seeed and reference this thread to get a replacement.
User avatar
ian
Crew
Crew
 
Posts: 10803
Joined: Mon Jul 06, 2009 6:14 am

Next

Return to USB Infrared Toy