Posted: Sun Apr 17, 2005 1:17 pm
By the way this thing http://www.omega-research.co.uk/prototyping_adapter_qfp144sa.html looks great. The only thing to watch out for would be the crystal circuitry which neeads careful layout. It may be tricky with this but the alternative would be to drive with a can osc.
Posted: Tue Apr 19, 2005 7:49 am
One more thing you must have is a hardware interface to connect the HCS12 device to the PC running CodeWarrior. This last one is the Metrowerks IDE free of charge but limited to 32k of C code that will permit you to edit, compile and debug code for HC(S)12 devices.
SofTec Microsystems offers for just $99 PK-HCS12E128 a Starter Kit for Freescale MC9S12E128 (same thing is available for MC9S12C32). This kit consists on a board with a target device already soldered and a USB2BDM interface for programming and debugging features. Use the following link to get more info:
http://www.softecmicro.com/products.html?type=detail&title=PK-HCS12E128
Regards,
Posted: Wed Apr 20, 2005 3:25 am
can i use a MAX232 connected to the SCI thing and then a serial cable to the MAX232? I've only used a hc11 before so i'm not sure how different this is.
Posted: Wed Apr 20, 2005 8:24 am
No, debugging on the S12 is totally different and much better, you debug via a special 1 pin interface at high speed called the BDM (background debug mode) interface. The downside is you need a special tool, that normally costs about $100 (it is built into the softec tools for $50). However you can also build the i/f for sub $10. We have designed one and the schematics are available on this site and we have aPCB for sale if you want one. It is called TBDML.
Posted: Fri Apr 22, 2005 5:47 am
so the FDE tool is for debuging, but can i use the hcs12 without it? I want to keep the cost down as much as possible. Can i use the hcs12 like a hc11 and use the debugging feature in the future?
Posted: Fri Apr 22, 2005 9:45 am
Well actually it's the TBDML which is the debugging part, which is really cheap to build, the only part you need to buy is the PCB since you can get the other components for free (plus some cheap descretes).
To do debugging on an S12 the way it is done on an HC11 is possible, you can get a monitor program which when programmed into the S12 alows debugging. But the problem is, how do you get the monitor program into the S12 if you don't have a programmer.
So in summary, the cheapest, simplest and by far the best way is to debug/prog using the BDM, so bite the bullit and build a TBDML.