mc9s08aw16

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 
691件の閲覧回数
kextdev
Contributor II

Hello everyone

how to decoding program from mc9s08aw16 thank you so much

ラベル(1)
1 解決策
463件の閲覧回数
ZhangJennie
NXP TechSupport
NXP TechSupport

hi Kext

CodeWarrior generates 2 files a Srecord file and an abs file.

The Srecord file contains only the code to be downloaded in the chip whereas the abs will contains the code and debug info.

Generally the abs file is used in development phase in order to debug the application.

Srecord is used for final download and or production.

If you've only the Srecord file we don't have solution to generate the source code. We can  not do that because S19 file is OPTIMIZED code that doesn’t include C source code information.

However with the decoder tool you can have the assembly instruction of your application.

To that you must launch the decoder.exe tool in the \prog folder.

Under Decoder ¦ Option Settings |input tab, you must define the Object file format and set processor. For instance

            -fs: object format is srecord file

            -Proc=HC08: processor is HC08 derivative

The decoder will generate a file containing all assembly instruction for your application.

In case you've the abs file, with the same tool decoder.exe with the same options you will get the source code you will have in your application.

If your application was wrote in C the decoder will generates the C source.

For details please refer to the manual:

            help\pdf\Build_Tools_Utilities.pdf

search this doc with keyword “Decoder”


Have a great day,
Zhang Jun

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

元の投稿で解決策を見る

4 返答(返信)
464件の閲覧回数
ZhangJennie
NXP TechSupport
NXP TechSupport

hi Kext

CodeWarrior generates 2 files a Srecord file and an abs file.

The Srecord file contains only the code to be downloaded in the chip whereas the abs will contains the code and debug info.

Generally the abs file is used in development phase in order to debug the application.

Srecord is used for final download and or production.

If you've only the Srecord file we don't have solution to generate the source code. We can  not do that because S19 file is OPTIMIZED code that doesn’t include C source code information.

However with the decoder tool you can have the assembly instruction of your application.

To that you must launch the decoder.exe tool in the \prog folder.

Under Decoder ¦ Option Settings |input tab, you must define the Object file format and set processor. For instance

            -fs: object format is srecord file

            -Proc=HC08: processor is HC08 derivative

The decoder will generate a file containing all assembly instruction for your application.

In case you've the abs file, with the same tool decoder.exe with the same options you will get the source code you will have in your application.

If your application was wrote in C the decoder will generates the C source.

For details please refer to the manual:

            help\pdf\Build_Tools_Utilities.pdf

search this doc with keyword “Decoder”


Have a great day,
Zhang Jun

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

463件の閲覧回数
kextdev
Contributor II

Thank you so much Zhang Jun

I was puzzled  

What is tool need decoding program

Where to buy the tools for decoding

Best Regard

0 件の賞賛
463件の閲覧回数
ZhangJennie
NXP TechSupport
NXP TechSupport

hi Hext.

the tool decoder.exe is included in CW10 install folder C:\Freescale\CW MCU v10.6\MCU\prog which is free.

I also found a related article that was written by Erich. Hope this can help you either.

Decoding S19 Files | MCU on Eclipse

can this help?


Have a great day,
Zhang Jun

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

463件の閲覧回数
kextdev
Contributor II

Thank you so much

0 件の賞賛