Help needed with a missing header file 6812dp256b.h

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

Help needed with a missing header file 6812dp256b.h

1,748 Views
Hagar
Contributor I

I was recently assigned with a task that involves recovering an existing project that uses a microprocessor from FreeScale, the MC9S12A128BCFU. The problem is that this was a third part project and the guys that first developed the firmware are no longer available (at all). I tried to dig in what they left but I could not even compile the source code they left behind (yes, I am using the correct CodeWarrior version for this part). Apparently the missing link is that their code is calling for a header named 6812dp256b.h that I do not have available and I was wondering if this is a standard header that is available from an evaluation board or something else (I could not find it on FreeScale site, but perhaps I am looking for in the wrong places). I strongly believe that if I get this file, I will be able to fully compile the code I have here and understand what it does.

So I would really appreciate if somebody could give me some light regarding this particular file, what is the contents of it.

 

Rgds,

 

Hagar

Labels (1)
0 Kudos
3 Replies

470 Views
J2MEJediMaster
Specialist I
CodeWarrior header files for each processor usually have take this form:
mc9s12c32.h

I poked around with Google, and dredged up some information in a code file that indicates its a very old header, that might be found in some demo files somewhere:

/
/* Output compare program toggles the port T pin and demonstrates precision timing of task */
/* Allows a scope to be connected to PT0 to observe the time slice of 1 msec */
/* In main bits 6 and 7 alternated on. When program returns to main () from interrupt
, code in main doesn't alter LED status established in interrupt */
#include <hidef.h> /* common defines and macros */
/* Please note that the port addresses you have been defining in previous labs are defined in the
include file 6812dp256b.h */

#include <mc9s12c32.h>     /* derivative information */
#pragma LINK_INFO DERIVATIVE "mc9s12c32"

However, I don't have any more information than this. Sorry.
0 Kudos

470 Views
CompilerGuru
NXP Employee
NXP Employee
I see this file in the HC12 V4.7 installation:

C:\Program Files\Freescale\CodeWarrior for HCS12 V4.7\lib\hc12c\old\v2.0\6812dp256.h
(there is also an accompanying cpp file).

Which version of the tools do you have?
Can you search your CW lib folder for it?
In case you do not find this header, HC12 V4.7 special edition can be downloaded for free from the freescale.com web site.

Daniel
0 Kudos

470 Views
Hagar
Contributor I
Bingo!
It is there!
 
CompilerGuru, thank you very much for solving my problem.
 
Rgds,
 
Hagar
0 Kudos