I use the M68DEMO908GB60 board. Need a sample code in C language to start. Could you share the link for the software and what CodeWarrior version should I use that support the NXP MC9S08GB60?  thanks

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

I use the M68DEMO908GB60 board. Need a sample code in C language to start. Could you share the link for the software and what CodeWarrior version should I use that support the NXP MC9S08GB60?  thanks

ソリューションへジャンプ
1,191件の閲覧回数
minhdang
Contributor I

Need a sample code in C language

ラベル(1)
0 件の賞賛
返信
1 解決策
932件の閲覧回数
ZhangJennie
NXP TechSupport
NXP TechSupport

Hi.

GB60 is ARCHIVED product which is no longer for new design recommendation.

both classic CW6.3 and eclipse CW10.7 can support GB60. but please note:

- CW6.3 doesn't support 64bit win7 platform but 10.7 does.

- because GB60 is very old product, nearly all the existing demo codes are based on CW6.3 but not CW10.7.

here is the link of CW6.3

CodeWarrior for Microcontrollers-Classic IDE|NXP 

here is the link of CW10.7

CodeWarrior for Microcontrollers-Eclipse IDE|NXP 

here is demo code of GB60 demo board

M68DEMO908GB60 Software Files 

GB60 modules demo code is attached.

Have a great day,
Jennie Zhang
 
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

元の投稿で解決策を見る

0 件の賞賛
返信
6 返答(返信)
932件の閲覧回数
minhdang
Contributor I

Thanks Jennie and Alice,

The M68DEMO908GB60.zip sample code is in assembly language. I am looking for the sample code in C language.

Appreciate if you could point to the link with the sample code in C language.

Thanks 

0 件の賞賛
返信
932件の閲覧回数
ZhangJennie
NXP TechSupport
NXP TechSupport

HI Dang,

unfortunately we don't have the same C demo code M68DEMO908GB60.zip

However I found we have

http://cache.nxp.com/files/microcontrollers/doc/user_guide/HCS08QRUG.pdf

GB60 modules demo code is attached. I suggest you look it though, this will help you better understand HCS08 peripheral usage.

Best Regards.

Jennie

0 件の賞賛
返信
932件の閲覧回数
minhdang
Contributor I

Hello Jennie,

Thank for the info and the sample code. That what is looking for.

Regards,

Minh Dang

0 件の賞賛
返信
933件の閲覧回数
ZhangJennie
NXP TechSupport
NXP TechSupport

Hi.

GB60 is ARCHIVED product which is no longer for new design recommendation.

both classic CW6.3 and eclipse CW10.7 can support GB60. but please note:

- CW6.3 doesn't support 64bit win7 platform but 10.7 does.

- because GB60 is very old product, nearly all the existing demo codes are based on CW6.3 but not CW10.7.

here is the link of CW6.3

CodeWarrior for Microcontrollers-Classic IDE|NXP 

here is the link of CW10.7

CodeWarrior for Microcontrollers-Eclipse IDE|NXP 

here is demo code of GB60 demo board

M68DEMO908GB60 Software Files 

GB60 modules demo code is attached.

Have a great day,
Jennie Zhang
 
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
返信
932件の閲覧回数
minhdang
Contributor I

Hello Jennie

The <https://community.nxp.com/servlet/JiveServlet/download/2028-438392-849405-395441/M68DEMO908GB60.zip> M68DEMO908GB60.zip sample code is in assembly language. I am looking for the sample code in C language.

Appreciate if you could point to the link with the sample code in C language.

Thanks

0 件の賞賛
返信
932件の閲覧回数
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello minh,

You can use the lasted version of CWv10.7:

CodeWarrior for Microcontrollers-Eclipse IDE|NXP 
it supports this chip.

In CW , create one project with Processor Expert , there will be demo :

when create project select "Processor Expert":

pastedImage_3.png

For example the AsynchroSerial  demo :

pastedImage_4.png

Hope it helps

Alice

0 件の賞賛
返信