Do I need any special software to program that? Codewarrior has ISP support, right?
Posted: Mon Dec 26, 2005 9:59 am
The schematics i sent is a little bit sofisticated! But very functional.
You do not need additional software. Simply choose the ICD target from PE when you create a project. Then choose Class 1 ICS .... (Power controlled via DTR). Select a serial port and 9600 baud.
You have to set the right jumpers (see the pdf i sent) for the micro choosen!
Attention switch OFF the FIFO's for the serial port you want to use, otherwise the bock transfers will not work!
Sorry for the german doc (pdf), ti is unfinished so there are the jumper settings for the AB32 only.
Saluti
If you search for "Mario Becroft" on the web you will find his web site that has a very simple programmer on it. Its based on the Freescale programmer in the HC908 data sheets.
Use software from the P&E Micro site www.pemicro.com
glenn
Hello,
On the internet site : www.68hc08.net , you will finds a complete description (including PCBs, schematics, ..) of 4 HC908 programmers :
- The most simple and cheap one (?) (+/- 15 usd including QY4)
- A class III / class I with 2A current capability
- A pure class I programmer
- A small class III in cms components programmer.
thierry
Hello,
a Class I programmer can handle the power cycle. The programming circuit mentioned in the datasheet is the Class III programmer. You can find a Class I Programmer on www.68hc08.net.
http://www.68hc08.net/modules/smartsection/item.php?itemid=8
The Site is in french, but maybe Alban can help a little with translation if needed.
Eckhard
Class 1: means you can program without having to bother about power supply
Class 3: you can program the device but have to handle power cycles.
These two modes allow you to debug the HC08 and know its activities in real time.
This programmer can supply up to 2A to the programmed board, providing you put power dissipator on the voltage regulators, of course.
About the signals, only one MAX232 is used. C1 C2 C4 and C5 capacitors could be replaced by 1µF or 100nF, it will still work as nicely.
LED D5 allow you to see if there is traffic between the PC and the HC08
Class 1 is handled by relays which can cut IRQ and VDD. It is also used to ground VDD on the board and discharge capacitors instantaneously (Alban's note: means you are certain to get a real Power On Reset=POR ).
Reset pin is not handled as it is compulsorily handled on the HC08 board. Please note that 2 oscillators are present, but you can still use the HC08 onboard oscillator. In that case, make sure to recalculate the bus speed and baud rate accordingly to match the baud rate advised in the datasheet.
Power supply of this programmer and the board should be 9V minimum.
It's better to use a 2A power supply straight away, rather than having to change later.
Note that you could increase the current the programmer can supply to the board. You would need to use a transistor as described in the 7805 datasheet. Relays are handling up to 10A.
The delay T to enter in CodeWarrior is 500ms.
Cost: about 15€ with the power supply.
PCB size: 57mm x 70mm
The PCB is single sided. connector can be replaced with a cable.
thm59 wrote:
Hello,
On the internet site : www.68hc08.net , you will finds a complete description (including PCBs, schematics, ..) of 4 HC908 programmers :
- The most simple and cheap one (?) (+/- 15 usd including QY4)
- A class III / class I with 2A current capability
- A pure class I programmer
- A small class III in cms components programmer.
thierry
Hello, I built one HC08 classIII programmer/debugger about year ago; it works, I've worked with a few devices, but there is a problem with cheap programmer (or better say programmer I can build at my own) for HCS08 chips, not HC08 (HC908) chips.
If you know about something useful, please let me know.
Thanks
Hey Jarin,
I know some people were working on trying to port the TDBDML (Turbo Debugger Background Debug Mode Light) which was created by Daniel on Freegeeks.net but only works on S12.
As far as I know, it is a frequency limitation on the HC08JB8 that prevents the TB... from working on S08. Even if both S12 and S08 have a BDM interface.
May be coming soon....
Cheers,
Alvin.
Hi Guys,
Seems like few small mistakes in the documentation is pushing the release for just now.
If I had say nothing, it would have been through without trouble.Never sell the bear skin before having hunted it.Alvin.