Serial monitor for 9S12X* processors?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Serial monitor for 9S12X* processors?

993 Views
robswan
Contributor I

I have previously done some work on a 9S12C64 and found the serial monitor a more enjoyable environment than BDM.  I recently got hold of a 9S12XS128 demo board, and would like to develop on it in the same way.  Not that I'm doing anything earth shattering -- it's just a hobby.

 

I tweaked the easy to configure part of the monitor code (HCS12SerialMon2r1) so that clock rates, etc., were right.  This worked, and I can talk to to the board from my client, but if someone else has done the work to support the different memory map, data flash, and other things I haven't thought of yet, I'd really like a copy.

 

I searched the forums already.  There were a couple of promising leads, but they ended in dead links.  I've probably missed something glaringly obvious.

 

Have fun,

 

Rob.

Labels (1)
0 Kudos
Reply
2 Replies

607 Views
mculater
Contributor III

Hi Rob,

 

We have ported over the Serial Monitor to S12XD, S12XE, and S12XS, and created free Windows GUIs to support them.  Unfortunately, CodeWarrior does not (yet) support serial monitors running on S12X chips.  The relevant hardware can be found here:

http://www.technologicalarts.ca/catalog/index.php?cPath=50_154

and the files can be found here:

http://support.technologicalarts.ca/docs/Adapt9S12X/

 

Thanks to David Armstrong for his contributions to the S12(X) community by updating these tools for S12X, and for porting FIG-Forth to S12X:  http://mamoru.tbreesama.googlepages.com/

 

Best regards,

Carl Barnes

www.technologicalarts.com

AMPS:  Adapt Modular Prototyping System for Microcontrollers

Since 1995

EVALUATE * EDUCATE * EMBED

0 Kudos
Reply

607 Views
robswan
Contributor I

Many thanks Carl.  I have downloaded the code and will make the necessary tweaks to suit my board.  I developed my own Linux-based interactive console to talk to the old serial monitor and shouldn't have much bother adjusting it to talk to the

S12X version.

 

One thing I did notice is that the SCIBDL register gets set to #21.  When I used 21, comms were a bit flaky.  Worked better for me when set to #22.  Makes sense -- the ideal 115200 value is about 21.7.

 

Extra thanks for pointing out the FIG-Forth port.  I have always liked Forth and its interactive style will really suit experimenting with the hardware.  My thanks to David Armstrong too.

 

Have fun,

 

Rob.

0 Kudos
Reply