Confirm whether CodeWarrior Development Tools v11.0 includes emulator functionality

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Confirm whether CodeWarrior Development Tools v11.0 includes emulator functionality

1,330件の閲覧回数
GAO123
Contributor III

Dear NXP Technical Support Team,

I would like to confirm whether CodeWarrior Development Tools v11.0 (specifically for ColdFire/MCF547x series) includes emulator functionality that supports the following workflow:

  1. Import Binary/HEX Files:

    • Directly load compiled *.bin or *.hex files into the emulator.

  2. Disassembly to Assembly Code:

    • Automatically convert the binary/HEX content into  assembly code (ColdFire V4e instruction set).

  3. Debugging Features:

    • If supported, does the emulator allow:

      • Step-through execution (single-step, breakpoints)?

      • Register/memory inspection?

      • Real-time modification of code/data?

0 件の賞賛
返信
7 返答(返信)

1,308件の閲覧回数
ZhangJennie
NXP TechSupport
NXP TechSupport

Hi @GAO123 

CW 11 doesn't have emulator functionality.

The S19 and HEX files contain optimized binary code for burning, not the original assembly code. When loading the image in the debugger, we can view the disassembled code, but stepping through it is limited because it doesn’t match the original source.

 

Thanks,

Jun Zhang

0 件の賞賛
返信

1,221件の閲覧回数
GAO123
Contributor III
Thank you.
Which CodeWarrior version can directly support importing bin/hex files and disassembling them through the built-in disassembly view (debug mode)?
0 件の賞賛
返信

1,217件の閲覧回数
GAO123
Contributor III
Based on MCF5474 microcontroller.
0 件の賞賛
返信

386件の閲覧回数
stanish
NXP Employee
NXP Employee

Hi,

I'm not aware of any way to directly disassemble s-record or binary back into CF disassembly in CodeWarrior.

CF Linker (c:\Freescale\CW MCU v11.1\MCU\ColdFire_Tools\Command_Line_Tools>mwldmcf.exe -help) supports disasembly listing generation only from executable file (.elf)

stanish_0-1755905304168.png

Anyway you can definitely load/import the binary file into the real MCU (sorry ColdFire emulation/simulator is not supported by CodeWarrior) using debug probe and let debugger to interpret the code at the loaded address.

Hope it helps.

Stan

0 件の賞賛
返信

1,156件の閲覧回数
ZhangJennie
NXP TechSupport
NXP TechSupport

Hi @GAO123 

We can use decoder.exe under CW11 to generate disassembly code.  You can search out decoder.exe under CW11 install folder.

Set Options as : -A -Proc=M68k

Drag your S19 file to the decoder, and you will see a *.lst file generated. Then, scroll down and you will see the disassembly generated in the lst file, for example as follows.

ZhangJennie_0-1751013116096.png

Have a nice day,

Jun Zhang

 

0 件の賞賛
返信

1,088件の閲覧回数
GAO123
Contributor III

Thank you for your reply.
The decoder.exe in the CW11 installation directory cannot be set to Options as: - A - Pro=M68k, there is no such option. Additionally,
Does M68k fully include the instruction set of ColdFire V4e core kernel. Can it be simulated and debugged.

1.png2.png3.png4.png

0 件の賞賛
返信

1,083件の閲覧回数
ZhangJennie
NXP TechSupport
NXP TechSupport

Hi GAO123 

Please check setting below:

ZhangJennie_2-1751365381341.png

 

ZhangJennie_1-1751365325204.png

Hope it helps,

Jun Zhang

 

0 件の賞賛
返信