How to write new program in HCS12?

Started by lenux22 May 27, 2003
Hello!
I had a new question about Motorola HCS12.
We had virgin chip without any evalution boards, programming units and other devices. We suppose that we can make our's own programming device for HCS12. I think chip has bootrom, which contains code for loading flash by serial port (SCI). Where to find documentation about message format for load HCS12?

WBR,
lenux



check out www.allactivex.com

lenux22 <> wrote:Hello!
I had a new question about Motorola HCS12.
We had virgin chip without any evalution boards, programming units and other devices. We suppose that we can make our's own programming device for HCS12. I think chip has bootrom, which contains code for loading flash by serial port (SCI). Where to find documentation about message format for load HCS12?

WBR,
lenux --------------------

---------------------------------


check out www.allactivex.com

lenux22 <> wrote: Hello!
I had a new question about Motorola HCS12.
We had virgin chip without any evalution boards, programming units and other devices. We suppose that we can make our's own programming device for HCS12. I think chip has bootrom, which contains code for loading flash by serial port (SCI). Where to find documentation about message format for load HCS12?

WBR,
lenux -------------------- ---------------------------------



Hello!

Thansks! Info from with site is very usefull! But it all about BDM.
I also had read AN2104 document (Using Background Debug Mode for the M68HC12 Family Application Note). It contains some info about BDM commands. In particular there is table with commnad description, which looks like (for example) COMMAND_NAME ITS_HEX_CODE. It seems very simply to send via BDM commands READ_BD_WORD/WRITE_BD_WORD... But there is special BDM cable which is connect to host via lpt or com port. This cable contain a box with microctroller. Now a question:
What microcontroller do? Is it need to convert these commands to anothers? Why i can't send this commnads right to HCS12?

WBR,
lenux --- In , Javier Gorgas <jgorg60@y...> wrote:
> check out www.allactivex.com



Lenux

The BDM handshake pin on the HC12 and HCS12 is a bi-directional timed
interface. If you try to use a pin on a PC to talk to the BDM, you will
not be able to control the timing and directionality with sufficient
accuracy. This iss why most interfaces between a PC and the BDM use
either a small microcontroller or a smart timed logical device.

Regards
Dave Perreault lenux22 wrote:

>Hello!
>
>Thansks! Info from with site is very usefull! But it all about BDM.
>I also had read AN2104 document (Using Background Debug Mode for the M68HC12 Family Application Note). It contains some info about BDM commands. In particular there is table with commnad description, which looks like (for example) COMMAND_NAME ITS_HEX_CODE. It seems very simply to send via BDM commands READ_BD_WORD/WRITE_BD_WORD... But there is special BDM cable which is connect to host via lpt or com port. This cable contain a box with microctroller. Now a question:
>What microcontroller do? Is it need to convert these commands to anothers? Why i can't send this commnads right to HCS12?
>
>WBR,
> lenux >--- In , Javier Gorgas <jgorg60@y...> wrote: >>check out www.allactivex.com
>>
> >-------------------- >
>">http://docs.yahoo.com/info/terms/