Skip to main content

Topics

This section allows you to view all Topics made by this member. Note that you can only see Topics made in areas you currently have access to.

Topics - st2000

1
USB Infrared Toy / Programming USBIRToy with PICKit3...
Hi,

I would eventually like to make a custom USBIRToy firmware load.  But in the meantime, I have managed to just about brick my USBIRToy.  I'm not new to PIC's or MPLAB.  I'm just not sure how the BOOT and APPLICATION code work together.  For instance, I assumed when my USBIRToy was new it contained both BOOT and APPLICATION  code.  So, after some unsuccessful programming, I decided to return the PIC to it's original state.  So I programmed it with the BOOT hex file (bootloader.hex) found in the  USBIRToy.package.v22.zip.  Then I programmed it with the APPLICATION hex file (USBIRToy.v22.hex) found in the same package.

Well, I noticed that MPLAB programmed both HEX images starting at address 0x0 (in the case of the BOOT hex 0x0 to 0x87f and in the case of the APPLICATION hex 0x0 to 0x3dff).  It if fairly apparent that the BOOT was over written by the APPLICATION.

So, I'm thinking I still have a brick on my hands, right?

Is there a howto that describes how to write custom code for the USBIRToy?

And, is there a single HEX image of the USBIRToy as it leave the factory?
 
(i.e. Assuming the BOOT and APPLICATION should be both present leaving the factory, what can be done is to dump a HEX file out of a properly programmed 18F2550 from the beginning of the BOOT to the end of the APPLICATION.  Then, such a HEX file can be very easily used to restore a bricked PIC to factory condition in a single operation.)

-thanks
2
USB Infrared Toy / Using the USB Infrared Toy IR tansmitter in Linux?
Hi,

Would some kind person please tell me what the state of using the USB Infrared Toy IR transmitter is in Linux?

I connected the dots to a year old post by Peter Kooiman to the lirc mail list.  It looks like Peter's patch would allow lirc to control the USB Infrared Toy's IR transmitter from lirc.  But when I inspected the lirc GIT repositories I could not find his code.  So I assume that the IR transmitter in the USB Infrared Toy is not supported in Linux?

I have been using the USB Infrared Toy as an IR receiver for a Mythtv/Linux media player.  It has worked very well!  I would now like to control my other components (TV, Stereo, ect) from the USB Infrared Toy's IR transmitter.  But I have been unable to find how to do this.

Any help would be appreciated.

-thanks

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