MC9S12DP256B  USB  codearrior version 5.9

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

MC9S12DP256B  USB  codearrior version 5.9

795 Views
wolfgang_b
Contributor II

Hello all.  How does one load to RAM?  I've tried everything.  Thanks.

 

- Wolfgang

Labels (1)
Tags (1)
0 Kudos
4 Replies

522 Views
CrasyCat
Specialist III

Hello

 

What do you want to load in RAM?

 

There is only 12K of non/banked RAM available on the chip.

Which is pretty limited to store data as well as code.

 

CrasyCat

0 Kudos

522 Views
wolfgang_b
Contributor II

I am a begginer to codewarrior.  I would like to load raw assembly programs and then work my way up to C++, but I am not sure how to communicate with my device.  I am just starting out with simple programs that "make" (assemble) just fine.  I have tried the different communication options by the advice of one book (HCS12/9S12 An Introduction to Hardware and Software Interfacing by Han-Wuay Huang) and some guides on the internet.  So far I can only do full chip simulation, which is helpful.  I am used to ASMide and this is quite a bit more involved.   I believe I have narrowed the options down to:  "Set Connection" under component to serial monitor  then "Connect" under Monitor HCS12.  I am stopped right before the "Derivative Selection dialog box" appears.  This may be due to improper baud rate.  I believe I should be using 9600, but I cannot find the place to change this.  Or I may not have a proper system clock set up on my device.  I noticed that the book I am referencing sets up a system clock subroutine to initialize the phase lock loop circuit.  I left this out of my original assembly code because I could not define the label of my subroutine even with XREF, which is another problem all together but it may be relevant.  Thank you for your patience.

 

- Wolfgang

0 Kudos

522 Views
kef
Specialist I

1. Does your Codewarrior version support Serial Monitor connection?

2. Is Serial Monitor firmware really installed on your chip and working?

 

The best would be to get BDM adapter. Either P&E USB-ML-12, or do it yourself TBDML.

0 Kudos

522 Views
wolfgang_b
Contributor II

I found useful information on the website of the developer of my board (www.evbplus.com).  It turns out my chip was shipped with D-Bug12 monitor.  I understand that Codewarrior requires serial monitor and a factory test program.  Is it possible to have D-Bug12 monitor and serial monitor installed simultaniously on a single chip?  If not, does anyone know of a equal or higher end quality development board that is compatible with codewarrior?  I think learning C would be much more fun from a I/O interfacing perspective, as assembly was.  Eventually I would like to learn how to implement and explore computer vision of all kinds.  Thanks.

0 Kudos