CW5.7 and CW10 with WIN7 64Bit no possible to connect target

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

CW5.7 and CW10 with WIN7 64Bit no possible to connect target

2,836 次查看
Pablos
Contributor I

I am not jet able to have a CW working on Win 7-

I have moved a project made with CW5.7 and XP  to the new PC with Win 7,same project

same CW, new driver for P&E programmer. No way to connect the target board to program

micro.

Thinking of problems of compatibility I have installed the New CW10 and I made a new

project with the same code of before. All Ok up to the connection with the target board

 

This is the connection setting:
Connection: P&E HCS08 Multilink\cyclone Pro
interface: USB HCS08/HCS12/CFV1 Multilink - USB Port
Port: USB-ML-12 REF :smileyvery-happy:EMO9S08QG8(PE5013642)

 

Tis is the log of the connection:

GDI: DiGdiOpen()=> DI_OK
GDI: DiGdiGetFeatures()=> DI_OK
GDI: DiGdiAddCallBack(4000)=> DI_OK
GDI: DiGdiInitIO()
GDI: Mtwks Callback(MTWKS_CB_PROJECTACCESS, Section : , Entry : CWDBG_Simulator, Value : , R) => DI_OK
GDI: Mtwks Callback(MTWKS_CB_SETMEEID, 1) => DI_OK
GDI: Mtwks Callback(MTWKS_CB_PROJECTACCESS, Section : PEDEBUG, Entry : DO_DEBUG_OUTPUT, Value : , R) => DI_OK
GDI: Mtwks Callback(MTWKS_CB_PROJECTACCESS, Section : PEDEBUG, Entry : DEPENDENCY_CHECK, Value : , R) => DI_OK
GDI: Mtwks Callback(MTWKS_CB_PROJECTACCESS, Section : PEDEBUG, Entry : CURRENTDEVICE, Value : MC9S08AW32, R) => DI_OK
GDI: Mtwks Callback(MTWKS_CB_PROJECTACCESS, Section : PEDEBUG, Entry : ERASE_PROGRAM_WITHOUT_ASKING, Value : , R) => DI_OK
GDI: Mtwks Callback(MTWKS_CB_PROJECTACCESS, Section : PEDEBUG, Entry : AUTO_SYNC, Value : , R) => DI_OK
GDI: Mtwks Callback(MTWKS_CB_PROJECTACCESS, Section : 9S08AW32, Entry : TRIM_VALUE, Value : , R) => DI_OK
Info: Windows NT detected.
GDI: Mtwks Callback(MTWKS_CB_PROJECTACCESS, Section : STARTUP, Entry : IO_DELAY_CNT, Value : , R) => DI_OK
GDI: Mtwks Callback(MTWKS_CB_PROJECTACCESS, Section : STARTUP12, Entry : show_hstep_assembly_details, Value : , R) => DI_OK
GDI: Mtwks Callback(MTWKS_CB_PROJECTACCESS, Section : CWDBG, Entry : Connect, Value : 0, R) => DI_OK
GDI: Mtwks Callback(MTWKS_CB_PROJECTACCESS, Section : STARTUP, Entry : eclipse_show_connection_assistant, Value : , R) => DI_OK
GDI: Mtwks Callback(MTWKS_CB_PROJECTACCESS, Section : STARTUP, Entry : PCI_DELAY, Value : , R) => DI_OK
GDI: Mtwks Callback(MTWKS_CB_PROJECTACCESS, Section : STARTUP, Entry : RESET_DELAY, Value : , R) => DI_OK
GDI: Mtwks Callback(MTWKS_CB_PROJECTACCESS, Section : STARTUP, Entry : PORT, Value : 21, R) => DI_OK
GDI: Mtwks Callback(MTWKS_CB_PROJECTACCESS, Section : STARTUP, Entry : interface_selection, Value : 1, R) => DI_OK
GDI: Mtwks Callback(MTWKS_CB_PROJECTACCESS, Section : PORT, Entry : IP, Value : , R) => DI_OK
GDI: Mtwks Callback(MTWKS_CB_PROJECTACCESS, Section : STARTUP, Entry : IO_DELAY_SET, Value : , R) => DI_OK
GDI: Mtwks Callback(MTWKS_CB_PROJECTACCESS, Section : STARTUP, Entry : USE_CYCLONEPRO_RELAYS, Value : 1, R) => DI_OK
GDI: Mtwks Callback(MTWKS_CB_PROJECTACCESS, Section : STARTUP, Entry : CyclonePro_poweroffonexit, Value : 1, R) => DI_OK
GDI: Mtwks Callback(MTWKS_CB_PROJECTACCESS, Section : STARTUP, Entry : CyclonePro_currentvoltage, Value : 255, R) => DI_OK
GDI: Mtwks Callback(MTWKS_CB_PROJECTACCESS, Section : STARTUP, Entry : CyclonePro_PowerDownDelay, Value : 250, R) => DI_OK
GDI: Mtwks Callback(MTWKS_CB_PROJECTACCESS, Section : STARTUP, Entry : CyclonePro_PowerUpDelay, Value : 250, R) => DI_OK
GDI: Mtwks Callback(MTWKS_CB_PROJECTACCESS, Section : STARTUP, Entry : CPUTARGETTYPE, Value : , R) => DI_OK
Info: USB HCS08/HCS12 MULTILINK detected - Flash Version 5.72
Info: Frequency change to ~3768472hz.
Error: Can not enter background mode.
Info: Device is 9S08AW32.
Info: Mode is In-Circuit Debug.
=> DI_ERR_NONFATAL
GDI: DiErrorGetMessage()
Error : The Debugger can not connect to the P&E device
GDI: DiMeeConnect(1) => DI_OK
GDI: DiMeeSelect(1)=> DI_ERR_FATAL
GDI: DiErrorGetMessage()
GDI: DiGdiClose(true)=> DI_OK

 

Again the same problem no connection with programmer .

There is anyone able to give me some ideas ?

Thanks

标签 (1)
标记 (1)
0 项奖励
回复
4 回复数

1,320 次查看
J2MEJediMaster
Specialist I

Have you taken a look at this https://community.freescale.com/message/52899#52899?

 

---Tom

 

 

0 项奖励
回复

1,320 次查看
Pablos
Contributor I

Hi All
Thank for the answer that was an unknown problem but I presume it is not my case. Let me start again to explain what make me mad.
End last year my laptop stopped to work so I was obliged to buy a new one and this is with WIN 7 64 Bit for the well known reason.
Then I was able to make the old PC alive so now I have two PC the OLD with XP the NEW with WIN 7.
On the OLD is installed a CW 5.7.0.
In the NEW  CW5.7.0  and CW10 are installed plus Pemicro driver_10  (file16.0.0.400)
The programmer is a Multilink DEMO9S08QG8(PE5013642) connected to USB PORT supplied by USB.
The HW (my box) is already programmed and working properly. Job has done with the OLD and I never faced the problem of not being able to enter the background mode.
The project is the same Just copied from the OLD to the NEW  for CW5.7.0. Instead for CW10, to avoid any difficulties,  has been remade, not imported,  with the old soft to be, let me say, in the same condition.

 

First case HW to Multilink to OLD no problem at all since ever.

 

Second case HW to Multilink to NEW with CW5.7.0. running. (It means to unplug USB cable from the OLD and to plug in the NEW) trying to connect multilink.
No way to recognize the multilink, like to be without drivers or having wrong drivers, all the time I have the message
"Port undetected Disconnect/connect cable Click Refresh list" or, time by time, "error starting external debugger processor Error code 87 (0x57) followed by a second warning and the crash of system "Code warrior encountered an unhandled exception 0xc0000005............".

 

At this time I was thinking to have same kind of unknown compatibility with WIN7 (also is it is running in emulation of XP SP2 ) so I installed CW10

 

Case 3 is as case 2 but working with CW10. In such a case CW10 is able to detect the port correctly but when you start the debug I have the log of my previous message where my opinion about the line "Error: Can not enter background mode." is just because the PC it not able to connect properly with the Multilink.

 

Plugging again  the cable on the OLD everything is working. For sure the easiest solution is to use the OLD one but this is not a solution and I have no any more ideas. 

 

Pablos

 

0 项奖励
回复

1,320 次查看
J2MEJediMaster
Specialist I

Time to get the experts looking at this problem. Please file a service request by clicking here. For Category choose Technical Request, and for Topic choose CodeWarrior.

 

---Tom

0 项奖励
回复

1,320 次查看
Pablos
Contributor I

I report the official answer because some interesting points and the explanation

of the reason why that demo is not working also with CW6.2 and  CW6:3

 

 

Let me give you some explanation/answer on your issue.
First, Officially all our current CWs are not designed for 64bit windows
7 or Vista (except CW10, this CodeWarrior version is still in Beta 3
test phase, so, we don't suggest to use it for a formal development).
CW 10.0 will support 64bit windows7/Vista but the officially release may
be in next year. We still don't have a schedule, it depend on the test
process.

So, your CodeWarrior (IDE version is 5.7.0, the main version maybe CW
v6.0 or CW v5.x) will encounter problem in your NEW PC.

Now, let's turn to CW10.0 issue on your side. As you mentioned, you are
using DEMO9S08QG8 as the Multilink programmer.
Since programmer Multilink is from third company (P&E Micro), as you
know, some of DEMO boards with Multilink are also from that company.
Due to some commercial reason, P&E does not allow later version than CW
v6.0 to support programming other MCU by using DEMO board. A DEMO board
can only program the silicon on it.
If you want to program other MCU, you have to buy another tool P&E
Multilink.

0 项奖励
回复