Decode s.19 files with Code Warrior 5.2.1149

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

Decode s.19 files with Code Warrior 5.2.1149

Jump to solution
4,998 Views
lelrh
Contributor I
Well I have a s.19 file that i need to decode for disassemble the files to i can modifie the program to rewrite in a hc908gp32 mcu. I´m working in assembly absolutly. I lost the file .asm so i need to use the decoder. In the online manuals in CW IDE version 5.2.1149 appear the following information:


"...This document describes the ELF/HIWARE Decoder. It disassembles object files, absolute files and libraries in the HIWARE object file format or ELF/DWARF format and Motorola S-Record files. Various output formats are available. "

"The decoder has:

Graphical User Interface (GUI)
On-line Help
Message Management
32-bit Functionality
Decodes HIWARE object file format
Decodes ELF/Dwarf 1.1 and 2.0 object file format
Decoder Motorola S-Record files ......"

But I cant find where i can use this decoder. In menu of CW don´t appear, in options dont show.

Could you please help me and explain me how disassembly this files .s19.

Thanks a lot
Labels (1)
Tags (1)
0 Kudos
1 Solution
2,232 Views
CrasyCat
Specialist III

Hello

Decoder tool cannot be directly opened from the IDE.

You have to start it separately.
You can start it from the explorer (decoder is called decoder.exe and is located in {Install}\prog directory).
Once you have started it:

  - Select "Decode" -> "Options"
  - Switch to "Input" tab
  - Check the "Set Processor" check box and specify HC08 in the edit box on the bottom of the dialog.
    This will tell the decoder you want to disassemble HC08 code.
  - Close the dialog clicking the OK button.
  - then select "File" -> "Decode"
  - Change "Files of Type" to "SRecords (*.s*) and browse for your .s19 file.
  - Then click on open. The decoder will disassemble the file.

Alternatively you can add a menu entry starting the decoder in the IDE.
Just select "Edit" -> "Commands and Key bindings" and add a command wherever you want.

Please check IDE User guide for instruction on how to add a new command in the IDE. There is a Chapter "Customizing the IDE", where this is explained. 

I hope this helps.

CrasyCat

View solution in original post

1 Reply
2,233 Views
CrasyCat
Specialist III

Hello

Decoder tool cannot be directly opened from the IDE.

You have to start it separately.
You can start it from the explorer (decoder is called decoder.exe and is located in {Install}\prog directory).
Once you have started it:

  - Select "Decode" -> "Options"
  - Switch to "Input" tab
  - Check the "Set Processor" check box and specify HC08 in the edit box on the bottom of the dialog.
    This will tell the decoder you want to disassemble HC08 code.
  - Close the dialog clicking the OK button.
  - then select "File" -> "Decode"
  - Change "Files of Type" to "SRecords (*.s*) and browse for your .s19 file.
  - Then click on open. The decoder will disassemble the file.

Alternatively you can add a menu entry starting the decoder in the IDE.
Just select "Edit" -> "Commands and Key bindings" and add a command wherever you want.

Please check IDE User guide for instruction on how to add a new command in the IDE. There is a Chapter "Customizing the IDE", where this is explained. 

I hope this helps.

CrasyCat