CodeWarrior V7.0 (IDE 5.9.0) MCF54450 device initialization

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

CodeWarrior V7.0 (IDE 5.9.0) MCF54450 device initialization

3,389件の閲覧回数
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.
ラベル(1)
タグ(1)
0 件の賞賛
返信
1 返信

1,351件の閲覧回数
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 件の賞賛
返信