gnupic@linuxhacker.org

gnupic@linuxhacker.org


Subject: In-Circuit debugger and linux... ?
From: Jesse Lackey
Date: Sat, 17 May 2003 04:20:40 -0400

Hello all,

After doin several projects of moderate scale using the linux CCS C18 
compiler with "printf" style debugging, I'm very ready to take the leap 
to a toolchain where I can set breakpoints, single step, and examine 
variables (at source level) while running on the target hardware.  The 
microchip ICD2 is $159; can this be used in any fashion with linux? 
What exactly does this do?

The CCS C18 produces .COD and .SYM files and can be integrated into 
MPLAB (er, the windows version of C18 anyway) so I think I can get the 
symbol data I need.

I could set up an old laptop with windows for debug, but I want to do it 
all in linux if at all practical.  $300 for VMWare is not possible; Wine 
(have never used it) would be.

My previous projects (well, almost done, they are in wrap-up phase) 
include a wirelessly controllable mp3 player (reading clips from FAT12 
smartmedia) and some rs485 / PWM lighting controllers.  My next ones 
involve networking, compact flash, maybe 802.11b, and fancier lighting 
stuff.

I find that while one can eventually do it with printf/toggle LED type 
debugging, I have to take much smaller steps to getting everything 
working.  I'd rather get back to the VC++ grade tools, whereby I can 
write a pile of code and single step it, watching everything, and find 
most of the problems in one swoop.

Is anybody doing this kind of stuff in linux?

Any advice appreciated!

Thanks everyone
Jesse


gnupic@linuxhacker.org