Hi lonut.
the 6pin connector is for BDM multilink emulator:
http://www.pemicro.com/products/product_viewDetails.cfm?product_id=33
this tool can work with CW5.1
CW-HCS12X: CodeWarrior Development Studio for HCS12(X) Microcontrollers (Classic IDE)
The code that written in chip is an optimized binary code but not your originally written assembly. The chip never records your original assembly code. So it is not possible to get your original assembly code from chip.
Your can use the SAVE command to save a specified block of memory to a specified file in Freescale S-record format. Reload the memory block later using the load S-record (SREC) command. SAVE command is used in debugger command window.
Eg.
in>SAVE 0x1000..0x2000 DUMP.S19 ;A
This way can can read binary opcode from flash to s19 file. Appends the memory range 0x1000..0x2000 to the DUMP.S19 file.
Hope this helps!
=============================================
this answer is for you. if it helps, please click on "correct answer " button. thanks!
Best Regards,
ZhangJun