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,500 次查看
minhdang
Contributor I

Need a sample code in C language

标签 (1)
0 项奖励
回复
1 解答
1,241 次查看
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 回复数
1,241 次查看
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 项奖励
回复
1,241 次查看
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 项奖励
回复
1,241 次查看
minhdang
Contributor I

Hello Jennie,

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

Regards,

Minh Dang

0 项奖励
回复
1,242 次查看
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 项奖励
回复
1,241 次查看
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 项奖励
回复
1,241 次查看
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 项奖励
回复