How can i build S19 file in CodeWarror for HCS12(X) 5.1 Special version?

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

How can i build S19 file in CodeWarror for HCS12(X) 5.1 Special version?

Jump to solution
1,231 Views
kernwang
Contributor II

Due to the code is less than 4K, i do not buy a license for CW.

How can i build S19/Hex file in CodeWarror for HCS12(X) 5.1 Special version?

Or could you please help to show a training document ?

Thanks!

Labels (1)
1 Solution
930 Views
TICS_Fiona
NXP Employee
NXP Employee

The C code and data size is restricted to 32 KB in Special Edition of CW5.1.

An S19 file should automatically be generated if your project includes a file with extension *.bbl that contains instructions to let the burner utility know how to generate this s19 file.  This file is normally located under your project's bin folder.

If you are not seeing this file in your project, please check that you have a *.bbl file. You can generate such a file by doing the following :

1) Press ALT +F7

2) Click on Burner for HC12

3) Click on the "Burner" button

4) Click on the "Content" tab - Make sure the Motorola S Format is selected

5) Switch to the "Command File" tab. Copy  the contents that appear on this window and paste them into a regular text file. Name this file as "burner.bbl" and save it into your project folder. Add this file to your project. 

This should let CodeWarrior generate a .s19 file upon a successful build.

Fiona Kuang

Technical Information & Commercial Support

-----------------------------------------------------------------------------------------------------------------------

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

-----------------------------------------------------------------------------------------------------------------------

View solution in original post

2 Replies
931 Views
TICS_Fiona
NXP Employee
NXP Employee

The C code and data size is restricted to 32 KB in Special Edition of CW5.1.

An S19 file should automatically be generated if your project includes a file with extension *.bbl that contains instructions to let the burner utility know how to generate this s19 file.  This file is normally located under your project's bin folder.

If you are not seeing this file in your project, please check that you have a *.bbl file. You can generate such a file by doing the following :

1) Press ALT +F7

2) Click on Burner for HC12

3) Click on the "Burner" button

4) Click on the "Content" tab - Make sure the Motorola S Format is selected

5) Switch to the "Command File" tab. Copy  the contents that appear on this window and paste them into a regular text file. Name this file as "burner.bbl" and save it into your project folder. Add this file to your project. 

This should let CodeWarrior generate a .s19 file upon a successful build.

Fiona Kuang

Technical Information & Commercial Support

-----------------------------------------------------------------------------------------------------------------------

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

-----------------------------------------------------------------------------------------------------------------------

930 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello Kern,

After you build your project , you can find the  S19 file under the project -> bin .

For example :

..\Project_8\bin\Project.abs.s19

Hope it helps

Alice

0 Kudos
Reply