Author Archive
DLP-RFID1 library for Linux
by matt on Feb.08, 2010, under Informational
I bought a DLP-RFID1 USB RFID tag reader/writer from Digikey (Cat # 813-1013-ND). However, I was unable to locate sufficient libraries to develop software that uses it under Linux. So I have written a C++ library to do this. Read on for more information and to download it.
(continue reading…)
Building Microchip’s C30 Compiler v3.20 on Ubuntu 9.10
by matt on Jan.03, 2010, under How To
This an update to my previous tutorial for building Microchip’s C Compiler for PIC24 MCUs and dsPIC DSCs (herein referred to as C30). This update covers building v3.20 of the compiler (as opposed to v3.12) under Ubuntu 9.10. Again, this is mostly gleaned from http://embeddedfreak.wordpress.com/2008/10/10/compiling-mplab-c30-v311b-under-linux, but adapted for the latest version of C30.
These instructions also work for v3.22 and are reported to work with v3.23.
Control 16 Firmware Replacement
by matt on Oct.21, 2009, under Hacks
As I have mentioned in my previous posts about the Ensoniq Control 16, it is a DAW control surface designed to interface to proprietary DAW software via a proprietary PCI card. As I have the C16, but not the PCI card, I have been working on reverse engineering the interface so that I can build a USB adaptor for it and use it with my PC.
I have previously written about how I built an RS-232 adaptor for the Control 16, but this alone did not allow me to communicate with the Control 16 as I did not know its communication protocol. As I did not have the PCI card to act as a master and provide something for the C16 to communicate with, I was not able to sniff the communications and reverse engineer them. My solution instead was to replace the firmware running on the C16’s microcontroller with one that I custom wrote, and which used my own communication protocol.
Ensoniq Control 16 RJ-45 Connector Pinout
by matt on Sep.16, 2009, under Informational
As I stated in my first Control 16 post, the C16 is meant to connect to a proprietary Ensoniq PCI card (which I don’t have.) So instead I have been reverse engineering the C16 interface so that I can convert it for use with my PC. The C16 has two connectors on the back a 1/4″ jack, which is used to connect an optional footswitch; and an RJ-45 connector, which is proprietary. Both connectors are mounted on a board called PWR/SER_I/F.
Using a Xilinx DLC5 Parallel Cable to program an AT89S52
by matt on Sep.16, 2009, under How To
While working on my control 16 project I realised I would need to replace the firware of the onboard microcontroller, an AT89C52. Unfortunately, the AT89C52 is a mission to program (as it is parallel programmable only) so I have replaced it with an AT89S52, which supports in-circuit serial programming. What I still lacked was an ISP programmer; however, instead of building one I made use of an old Xilinx DLC5 parallel port JTAG cable (schematic). This was fairly straight forward under Ubuntu 9.04, using UISP AVR and AT89S programming software. The following instructions assume the target is self powered and has an oscillator/crystal connected if required. NB these instructions are written from memory, so if you find a mistake please post a comment.
Using C30 with Piklab
by matt on Aug.31, 2009, under How To
This post follows on from my previous post on building Microchip’s C compiler for PIC24 and dsPIC (C30) onUbuntu. Piklab is a great IDE for PIC development, and IMHO much nicer to use than MPLAB. Piklab has support for the dsPIC30 series of PICs using the C30 toolchain. However, I found the default settings need a little bit of tweaking to make the the toolchain that I built work. The following post details how I setup Piklab to make use of this toolchain.
Optrex DMF-50573NB-FW Datasheet
by matt on Aug.23, 2009, under Informational
I scored a few DMF-50573NB-FW 480×80 pixel graphic LCDs off trademe for $NZ5 each. However, the documentation around on the internets for this particular variant of the Optrex DMF family seems to be sparse. So here is the information that I have gleaned from the looking at the devices themselves, datasheets for other LCDs in the family, probing with a multimeter and general experimentation. No guarantees as to the accuracy of this data, but so far it has worked for me. If anyone has a datasheet please link in the comments
.
Ensoniq Control 16 Undressed
by matt on Aug.16, 2009, under Hardware Pr0n
I bought an Ensoniq Control 16 off Trademe cause it was going for fairly cheap relative to new control surfaces. The problem with the Control 16 is that it is designed to only work with a proprietary PCI card from PARIS. So I am planning on reverse engineering it and building a USB adaptor. First things first, though, it needed to be disassembled so I can reverse engineer the circuit. Here are some pix for those who are interested.
Installing Microchip’s C Compiler for PIC24 MCUs and dsPIC DSCs (C30) on Ubuntu 9.04
by matt on Aug.16, 2009, under How To
Microchip’s C Compiler for PIC24 MCUs and dsPIC DSCs (herein referred to as C30) is a GCC derivative and therefore the sources are freely available to build it on any platform. However, the documentation for getting a working setup seems to be sparse. This blog entry details the steps I followed to install it under Ubuntu 9.04, mostly gleaned from http://embeddedfreak.wordpress.com/2008/10/10/compiling-mplab-c30-v311b-under-linux. There are some small changes from the embeddedfreak version, I am using v3.12 of the compiler (the most recent version at the time of writing) and I will provide details of how to setup the non-free part.
EDIT: An updated version of the compilation instructions, for C30 v3.20 can be found here: http://www.electricrock.co.nz/blog/2010/01/building-c30-v32/.