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

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

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

Jump to solution
1,016 Views
minhdang
Contributor I

Need a sample code in C language

Labels (1)
0 Kudos
1 Solution
757 Views
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!
-----------------------------------------------------------------------------------------------------------------------

View solution in original post

0 Kudos
6 Replies
757 Views
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 Kudos
757 Views
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 Kudos
757 Views
minhdang
Contributor I

Hello Jennie,

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

Regards,

Minh Dang

0 Kudos
758 Views
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 Kudos
757 Views
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 Kudos
757 Views
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 Kudos