CodeWarrior V7.0 (IDE 5.9.0) MCF54450 device initialization

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

CodeWarrior V7.0 (IDE 5.9.0) MCF54450 device initialization

2,591 Views
M_H_
Contributor I
I'm trying to initialize the MCF54450 using the Device Initialization option. The code it generates (C) has the values written to the registers in decimal. I'm sure I came across a way to set this to default to hexadecimal but now I can't find it. Does anybody know how to make hexadecimal the default with Device Initialization? It is much easier to see what is going on if these values are hexadecimal. Thanks.
Labels (1)
0 Kudos
Reply
1 Reply

553 Views
M_H_
Contributor I
Found it.
 
It may not be the correct way of doing it but it worked. I opened my project's .iPE file and found the following
 
HighNumberFormat=DEC
AsmAddrFormat=DEC
AsmDataFormat=DEC
AsmBitsFormat=DEC
 

and changed it to

 

HighNumberFormat=HEX
AsmAddrFormat=HEX
AsmDataFormat=HEX
AsmBitsFormat=HEX

 

and now it generates hex numbers. With Processor Expert open I could find these under options but I couldn't find an equivalent when using Device Initialization. I'm sure there must be a better way than editting the .iPE file so if anyone knows it I'm still interested to find out.



Message Edited by M.H. on 2008-02-15 02:11 PM
0 Kudos
Reply