Post Reply

[REF][XMM] Infineon FlashTool & Comneon 7 CDCs Driver

14th April 2014, 01:28 AM   |  #1  
E:V:A's Avatar
OP Recognized Developer
Flag -∇ϕ
Thanks Meter: 1,802
 
1,349 posts
Join Date:Joined: Dec 2011
Infineon FlashTool & Comneon's "7CDCs" Drivers

Having problems finding the "7 CDCs" driver?
Need to update the FW on your XMM Modem?

==> This is the place!


Having problems connecting your phone to your PC?

==> This is NOT the place! ==> Move On Please! ==>



Thanks to the guys at VonDroid, and their updates to their Newman Phone
N2, we now have access to the latest Comneon USB Diagnostic serial
drivers, that are used to communicate directly with the internal
Intel/Infineon Baseband Processor, the MODEM. These devices belong to
the X-Gold/XMM family modems, and this driver is only used for
diagnostic debugging and FW flashing of the BP.

In addition they have provided the Infineon FlashTool that is used to
update and manage the firmware on the Intel XMM line (XG618, XG626,
XG716 etc) of baseband processors (BP). To use this tool, you probably
have to install the "7 CDCs" drivers, first. I say probably, because the
FlashTool seem to default to use the USB VID/PID 058b:0015, which is
part of the later Android USB serial drivers set, whereas the Comneon
drivers are for 058b:0020, only.

The strings "7 CDCs" and "Comneon Suspend" are actually located in the
firmware and not in the drivers themselves. This is probably the main
reason for confusion, when trying to find the correct drivers.


If you have no clue about what USB drivers are used for your device,
you should be able to look in the source code, under the USB driver
section. For example, looking at the sources for the Samsung GT-I9100,
we find the following code in:

{GT-I9100_JB_Opensource}/Kernel/drivers/usb/core/quirks.c
Code:

/* IMC_BOOT - XMM6260, XMM6262 */
{ USB_DEVICE(0x058b, 0x0041), .driver_info = USB_QUIRK_HSIC_TUNE },

/* IMC_MAIN - XMM6260, XMM6262 */
{ USB_DEVICE(0x1519, 0x0020), .driver_info = USB_QUIRK_HSIC_TUNE },
A few things about these companies

Infineon is the original producer of the X-GOLD modems and was bought
by Intel about 2 years ago. Intel have since rebranded these as "XMM",
but still keep the device package labels as "XG6260", for example.
However, Infineon is still alive and have been re-assigned to only
develop the XMM firmware, through their company division "Infineon
Technologies Denmark A/S
", and label their products and function calls
with "IFWD" which seem to imply "Infineon FirmWare Division", AFAICT.
The Comneon drivers seem to have been developed using the Thesycon USB
driver framework from "Thesycon Systemsoftware & Consulting GmbH".
(Why is this interesting? See below.)



WARNING:
Quote:

(1) This can not to be used with Qualcomm based modems!
(2) This can not to be used for normal ADB or modem communication.
(3) These are professional HW developer tools which will permanently brick
your device, if used improperly. There's no room for mistakes here.
(4) If you just want to connect you Android to your PC, then look elsewhere.
(5) Do not post in this thread unless it is directly related to these tools.
(6) I take no responsibility whatsoever, for what happens to you or your
device when using these tools.


Installing the Comneon 7 CDCs Drivers


Download the driver package:
DRIVERS___WMC_comneon_3.33.0.exe

It provides for:
Code:
Driver:         "7 CDCs"
VID/PID:        058b:0020
Type:           USB-serial (XMM diagnostic)
Requirements:   None
Run or extract the verified (NSIS) installer above.
This will install/extract the following driver files (x86, x64):
Code:
cocdcmo2.inf    -- Comneon Mobile Highspeed Modem setup information file
cousbmi2.inf    -- Comneon Mobile Highspeed MI setup information file
cpcdcpo2.inf    -- Comneon Mobile Highspeed Port setup information file
cocdcmo2.cat
cousbmi2.cat
cpcdcpo2.cat
cocdcacm2.sys
cousbmi2.sys
Once installed, and after having set your phone to MODEM, you should see the
following "7" drivers appear. If not, you're doing something wrong (and I connot help you),
or you still have some corrupt drivers left on your PC.







Installing the Infineon FlashTool

You can download the FlashTool from HERE (7-zip).

This archive include the files:
Code:
FlashTool_E2.chm
TraceViewer.ddf
FlashLessDll.dll
IFWD_DownloadDll.dll
FlashTool_E2.exe
IFX_DL.exe
TraceViewer.exe
FlashTool_E2.ini
IFWD_Download_DLL_ReleaseNote.pdf
IFWD_FlashTool_E2_ReleaseNote.pdf
Requirements:

The FlashTool requires you to have installed the
"Intel(R) USB Flash Loader utility" drivers.
This can be found in the "24_flashusbdriver" directory of the
"SAMSUNG_USB_Driver_for_Mobile_Phones_v1.5.33.0" package,
but is probably already on your PC if you have used ADB before.

They are:
Code:
VID/PID         Description
----------------------------
058b:0015       USB driver for Flash Loader utility
058b:0041       USB driver for Flash Loader utility
NOTE: If you already have a "usbser.sys" driver on your PC, it have
to be removed and replaced by FlashUSB.sys before using FlashTool,
since they are not compatible. (According to FlashTool doc's.)

Look for it here:
.../Windows/System32/drivers/usbser.sys





Attached Thumbnails
Click image for larger version

Name:	Comneon1.png
Views:	1228
Size:	60.8 KB
ID:	2684750  
Last edited by E:V:A; 14th April 2014 at 01:50 AM.
14th April 2014, 01:29 AM   |  #2  
E:V:A's Avatar
OP Recognized Developer
Flag -∇ϕ
Thanks Meter: 1,802
 
1,349 posts
Join Date:Joined: Dec 2011
Using the Infineon FlashTool

Most details can be found in the acompanying PDF files, and in the
Windows help file. It is unlikely you will be able to use this, unless
you can find the exact firmware files compatible with your device and AOS.

The XMM FW files can come in many variations, and it is not at all clear
(to me) what is the actual content of all these files. For example, the
FlashTool can accept the following file "types":


Code:
*.fls; *.flb; *.eep; *.dsp; *.dfat; *.dffs; *.cust; *.ffc; *.zip
We'll look more at this later.



General procedure for updating the BP/Modem FW

Please note that most phones have their XMM modem firmwares distributed
as a monlithic binary, whereas the procedure below, require the FW to be in
separate parts.

Code:
1. Download and install Comneon drivers.
2. Make sure you also have the FlashUSB drivers.
3. Remove SIM Card, restart device.
4. Dial-in to the hidden Service Mode menu and Switch USB from PDA to MODEM.
   (There are hundreds of variations how to do this on different devices. Use Google!)
5. Find the correct MODEM Firmware for your device.
6. Run FlashTool
7. Go to "File > Add Download File" and select the four modem files: 

        AENEAS_FW.fls
        psi.fls
        SAM_6260.fls 
        slb.fls

8. Set: 
        a) "Baud Rate" to "921600", 
        b) "#Channels" to "1", 
        c) "Communication Driver" to "Infineon USB Driver" and 
        d) select "Unconditional erase each area before write".
        e) Click "Next".

9. Now, press the "Start USB1" button on the PC, and then press 
   "Download Modem" on the device as quickly as you can.​
* These instructions where based on info for the Newman N2 phone running JB 4.1.










Last edited by E:V:A; 14th April 2014 at 02:01 AM.
14th April 2014, 01:34 AM   |  #3  
E:V:A's Avatar
OP Recognized Developer
Flag -∇ϕ
Thanks Meter: 1,802
 
1,349 posts
Join Date:Joined: Dec 2011
Some more dragooons

http://www.thesycon.de
14th April 2014, 02:03 AM   |  #4  
E:V:A's Avatar
OP Recognized Developer
Flag -∇ϕ
Thanks Meter: 1,802
 
1,349 posts
Join Date:Joined: Dec 2011
Oh, just one more.
Post Reply Subscribe to Thread

Tags
7cdcs, comneon, flash, infineon, xmm/xgold
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes