Skip to main content
Topic: IR Toy firmware v23 tests (Read 38741 times) previous topic - next topic

IR Toy firmware v23 tests

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
Got a question? Please ask in the forum for the fastest answers.

Re: IR Toy firmware v23 tests

Reply #1
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

Re: IR Toy firmware v23 tests

Reply #2
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

Re: IR Toy firmware v23 tests

Reply #3
keep going.
I'm looking forward to the wake PC feature :)

Re: IR Toy firmware v23 tests

Reply #4
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

Re: IR Toy firmware v23 tests

Reply #5
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.

Re: IR Toy firmware v23 tests

Reply #6
Is it possible to have access to the source codes of v2.3, rather than HEX files?

Re: IR Toy firmware v23 tests

Reply #7
What is a stable firmware version to use ?

Re: IR Toy firmware v23 tests

Reply #8
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)

Re: IR Toy firmware v23 tests

Reply #9
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.

Re: IR Toy firmware v23 tests

Reply #10
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]
fw_update -e -w -v -m flash -vid 0x04D8 -pid 0xFD0B -ix USBIRToy.v23.hex

Result is this:
Code: [Select]
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.

Re: IR Toy firmware v23 tests

Reply #11
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.

 

Re: IR Toy firmware v23 tests

Reply #12
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.

Re: IR Toy firmware v23 tests

Reply #13
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...

Re: IR Toy firmware v23 tests

Reply #14
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.
Got a question? Please ask in the forum for the fastest answers.