Compiling OSBDM firmware under CW 6.1

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

Compiling OSBDM firmware under CW 6.1

3,293件の閲覧回数
welpa
Contributor I
I've tried to compile the OSBDM firmware under CW 6.1 (I need to change some output pins)
and I've encountered several problems.
- I have changed the mc68hc908jb16.h an .c files for the new ones from CW6.1
- I have changed the UCR0_T0SEQ_MASK/UCR0_TOSEQ_MASK error

Now there are 17 errors all related to inline assembler in bdm.c.
It seems that when the assembler wants to use "ROL i" the compiler gives me an
error about the "i" static variable:

"C18700: Unknown Opcode Operand Combination:smileysurprised:pc.:ROL/Dest.:Ext/Source:No0p"
and
"C18701: Unknown Opcode 19"

When I tried to use the same ROL with a different local variable it works ok (but that is not a solution - I need to access this static variable).

Did anyone encountered the same problem or if you have any advice, please reply.

Pawel Plesnar
Wroclaw, Poland
ラベル(2)
タグ(2)
0 件の賞賛
3 返答(返信)

450件の閲覧回数
bobbyAIR
Contributor I
I'm tring to compile tbdml firmware under CW 5.7 (osbdm firmware comes from tbdml's) aand i have the samee problem but i heven't found solution yet.
0 件の賞賛

450件の閲覧回数
peg
Senior Contributor IV
Hi bobbyAIR,

I think you are confusing the IDE version number with the whole package version.
There is no CW 5.7!
Help | About | Installed products, then look in top window
Possibly its 5.1 you are talking about.

0 件の賞賛

450件の閲覧回数
bobbyAIR
Contributor I
You are right. It was 5.1 ( now I have reinstalled it to newest version ). The best way to compile firmware it to get one from http://www.witztronics.com/ (it compiles under new CW) and work with this source
0 件の賞賛