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 - jamz

1
USB Infrared Toy / Multiplatform Rec & Play app (Windows, Linux, MAC OS)
Here's a working source code  that works with Windows, Linux (debian 5) and Mac OS leopard.
The code compiles without complain on CodeBlocks 10.05 (http://www.codeblocks.org)
The 'irtoy.cbp' is the main project file to load and select build target for your platform before compiling.

The serial.c need to be tweek for both linux and MAC OS because its really slow,
and the screen output is not formated nicely :)

I used  the device devtty.usbmodem00000001 under MAC (no driver needed)
and devttyACM0 under Debian 5

This will eventually move to svn after some tweeking.
2
Bus Blaster JTAG debugger / Compiling urjtag on windows
I was trying to compile urjtag from http://sourceforge.net/projects/urjtag/files/urjtag/0.10/urjtag-0.10.tar.gz/download using codeblocks but still having problems with it. And thinking that I can compile it using a makefile but the source still need to generate that makefile.
I have tried compiling source in a debian environment, and just following the sequence as per documentation for compiling urjtag:
Code: [Select]
tar xzvf urjtag-0.10.tar.gz
cd urjtag-0.10
./configure
make
make install

and I was able to compile and run it successfully

Since the objective is to run it in a windows environment I decided to download cygwin and install it using the default setting and a full install of mingw (I guess this was not used)
Then  I copied urjtag-0.10.tar.gz in the c: cygwinhomeusername   directory and then run the Cygwin.bat located in that cygwin directory. And followed the same sequence as above and make a successful compile and run.

Then I download the cdm20808.zip from ftdi website and unzip in the the cygwin home folder and run above command sequence again, but this time the ./configure command have additional parameter as instructed in http://urjtag.sourceforge.net/book/_com ... html  section #2.4.6:

./configure --with-ftd2xx="/cdm20808"
And the result was:
Code: [Select]
jtag is now configured for

  Detected libusb      : yes
  Detected libftdi     : no
  Detected libftd2xx   : yes    <---- ftd2XX drivers
  Detected inpout32    : no
  Build SVF player     : yes
  Build BSDL subsystem : yes
  Bus drivers          : au1500 avr32 bcm1250 bf526_ezkit bf527_ezkit bf533_stamp bf533_ezkit bf537_stamp bf537_ezkit bf538f_ezkit bf548_ezkit bf561_ezkit bscoach ejtag ejtag_dma fjmem ixp425 jopcyc h7202 lh7a400 mpc5200 mpc824x ppc405ep ppc440gx_ebc8 prototype pxa2x0 pxa27x s3c4510 sa1110 sh7727 sh7750r sh7751r sharc_21065L slsup3 tx4925 zefant_xs3
  Cable drivers        : arcom byteblaster dlc5 ea253 ei012 ft2232 igloo jlink keithkoep lattice mpcbdm triton usbblaster wiggler xpc
  Lowlevel drivers     : direct ftd2xx

I should be happy using  notepad++ as my editor,  But it still nice if I can use a good IDE such as codeblocks or VS2010.

The ./configure command has created a makefile and a new  config.h for use in codeblocks. But codeblocks complain about mssing rule when I use the customize makefile.


I'll investigate next how this makefile is made of and will try to add those missing variables in the project settings.

I am currently on win7-64bit machine and so far so good, I was able to compile and  run urjtag.
 
Quote
To run autogen.sh, you need autoconf and automake, bison, and a recent flex.

Haven't use autogen.sh yet so I don't need those files yet.

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