Development tools for S9S12G240F0CLF

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

Development tools for S9S12G240F0CLF

2,296 Views
paulung
Contributor I

Hi there,

What tools do I need to develop firmware for the S9S12G240F0CLF?

Many thanks.

Paul.

Labels (1)
0 Kudos
6 Replies

1,827 Views
lama
NXP TechSupport
NXP TechSupport

Hi,

I am glad Ivan has answered you.

I am not sure all examples I am attaching are presented in G examples package presented at community. So I am sending you my examples I did "a few" days ago. They are not for G240 but for G devices with smaller memory size. I am sorry I do not understand a question What is the best way to implementing CAN communication module for this micro?

Best regards, Ladislav

0 Kudos

1,827 Views
paulung
Contributor I

Thanks Ladislav.

0 Kudos

1,827 Views
lama
NXP TechSupport
NXP TechSupport

We presented a lot of SW examples for this family at our community: https://community.nxp.com/docs/DOC-93792

 

The board you can use for development is http://tinyurl.com/h7kfea8

 

If you do not want to use onboard BDM connection interface you can also order USBBDM interface at pemicro.com. (USB Multilink Universal)

As a standalone programmer which can be used also for debugging you can use Cyclone PRO. (for standalone programming there is necesay to use log2phy (can be found atr pemicro pages )

 

For development you can use CodeWarrior IDE standard edition. Here is the procedure https://community.nxp.com/videos/5109

 

 

I would like anly to add an answer I provide in a past for programming in field:

 

Each S12 family MCU contains BDM interface which can be used for programming or debugging. The BDM connector can be standard 2*3 pinhead. The MCU has to have MODB pin and MODA pin connected to 0 for programming. MODC pin is tied down by BDM interface circuit automatically.

 

If you have CodeWarrior and also USB BDM Multilink (http://tinyurl.com/j5pwyqf) from P&E Micro (http://www.pemicro.com/products/product_processor.cfm) then you are able to program device in your app board as described in item B)

  1. A)

- We support only our products – CodeWarrior + MCU. However, there is a possibility to use CYCLONE PRO, www.pemicro.com  for production.

 

  1. B)

- Also, I have suggested few customers to use solution:

 

> Download free version of the CW (standard edition for S12X MCUs) if you do not have any.

You can download free version of the CW –Special edition– CWX-H12-SE from our pages.

http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=CW-SUITE-SPECIAL&fpsp=1&tab=Design_To...

 

 

It contains some limitations related to source code files.

 

> Use only Hiwave.exe from installation directory to load S19 record to the MCU through BDM interface.

1) (CW installation directory\Prog\ hiwave.exe)

2) Component->Set Connection (select connection)

3) File->LoadApplication ----> Select S19 record ----> press load Code

> There is no limitation for program download using hiwave.exe

 

  1. C)

- Also www.pemicro.com  provides its own programmer IDE – PROG12Z. http://tinyurl.com/l6zrps

(CodeWarrior is free)

 

For upgrade of the SW in the field I would like to direct you to the:

1) Serial Bootloader for S12 Microcontrollers Based on 250 nm Technology

http://www.freescale.com/files/microcontrollers/doc/app_note/AN3275.pdf

SW files:

http://www.freescale.com/webapp/sps/download/license.jsp?colCode=AN3275SW&location=null&Parent_n...=

 

2) Serial Bootloader for S12(X) Microcontrollers Based on 180 nm Technology ( S12G, S12XE, S12P)

http://cache.freescale.com/files/microcontrollers/doc/app_note/AN4258.pdf

 

SW files:

http://cache.freescale.com/files/microcontrollers/doc/app_note/AN4258SW.zip

 

However, each boot-loader requires compatibility with SW to do not occupy the same memory space. Reading application note will explain more.

 

 

If this does not answer your question(s), or I have forgotten something, or if you need more assistance, please contact me again.

 

Best Regards, Ladislav

0 Kudos

1,827 Views
paulung
Contributor I

Hi Ladislav,

Many thanks for your quick reply. It answers all of my questions.

The serial boot loader is very helpful. But is there sample code or

application note on CAN boot loader for the S9S12G240F0CLF?

Many thanks.

Paul.

On Tue, Oct 25, 2016 at 12:49 AM, lama <admin@community.freescale.com>

0 Kudos

1,827 Views
iggi
NXP Employee
NXP Employee

Unfortunately, there is not CAN bootloader developed for S12(X) family which S12G is part of.

There is CAN bootloader for MagniV family based on S12Z core which is improved as successor of S12X CPU.

AN4723, S12Z MagniV Bootloader - Application Notes

AN4723SW.zip

Also, you can check thisUseful documents for building own CAN bootloader 

On the other hand you may want to check Vector's Flash Bootloader 

Hope it helps.


Have a great day,
iggi

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

1,827 Views
paulung
Contributor I

Hi Iggi

Thanks for the pointers.

Is there sample code or application note implementing CAN for the S9S12G240F0CLF? What is the best way to implementing CAN communication module for this micro?

Many thanks.

Paul.

0 Kudos