I used Code:Blocks to built the IR TOY Recorder/Player utility v0.3 under Ubuntu. ([s:]v0.4[/s:] v0.5 has a lot of compile errors which appear to be mistakes in code!? see the end of my post) I installed codeblocks, libncurses and build-essential packages to get it compiling. When I run the binary it seems to freeze my bash prompt with or without options after the command (happens in a gnome terminal as well as virtual terminals ie: ctrl+alt+f1) apart from this it appears to work
IR TOY Recorder/Player utility v0.3 (CC-0) http://dangerousprototypes.com
------------------------------------------------------------------------- Opening IR Toy on /dev/ttyACM0 at 115200bps... Entering IR sample mode .... IR Toy Protocol version: S 0 1 � % & % B & - & - & - & - & � � % & % B & - & - & - & Recording started..... Press a button on the remote.
Waiting..any key to exit.. Creating file: outputfile1_000.bin IR Toy said: 11 00 18 00 11 00 2D 00 26 00 18 FF FF writing outputfile1_000.bin
Waiting..any key to exit..
Recording ends..
Thank you for playing with the IRToy. jarrod@study:~/programs/irtoy03$
in the above command output the last prompt is unresponsive.. the file "outputfile1_000.bin" is actually created and contains data
as for [s:]v0.4[/s:] V0.5 not compiling, all occurrences of BOOL should be bool and "uint16_t" should be "unsigned int". the differences may be a windows thing? after fixing these the code compiled successfully but has the same runtime problems as above
It appears that you guys lack linux testers? can I be of help?
My aim here is to compile the code for a 18F2455, as it is so similar to the 2550 i expected this to be 'easy' after installing the latest MPLAB IDE, C18 lite compiler and the sources for USB (from 'Microchip Application Libraries v2010-08-04 Installer.exe') and copying the usb_descriptors.c source to the project directory... The files for USB don't seem to be in the same directory hierarchy as expected.. the compiler looks for files in ./USBStack i found the files it was looking for in J:Microchip Solutions v2010-08-04MicrochipUSB so i renamed the folder to USBStack and moved it into the project directory. now it gets stuck at linking
and yes i did modify the 'library search path' to the correct MCC18 directory