LPCXpresso 7.8.0 Debug problem

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

LPCXpresso 7.8.0 Debug problem

2,067件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by HCTEK on Fri Jun 05 09:52:44 MST 2015
Hello,

since I installed the LPCXpresso 7.8.0 I am facing an annoying problem about detecting my LPC-Link 2. 

In version 7.7.2 my major problem was program the flash which occasionally failing to initialize or complete. My solution was power reset of LPC-Link2 and a restart of LPCXpresso. In fact, most of the problems that I faced were "fixed" by the previous procedure. This new version 7.8.0 fixed most of the problems however I think that I found another one which is very annoying.

So, the problem is the LPCXpresso that after some debugs connections cannot initialize the redlink server and/or detect aJTAG/SWD connection. The last time that occurred (it happened several times) I lost the debug connection and the driver for LPC-Link2 was installing like it was the first time that I connect to computer. After that I was not able to start a debug connection again, even if I power reset the LPC-Link2, restart the LPCXpresso 7.8.0, use "vector catch" or use the previous version 7.7.2. I also tried to use the CMSIS without bridge in LPCXpresso 7.8.0 without success.

I attatch the error log.

The "solution" to bypass the problem and be able to start a debug connection on LPCXpresso 7.8.0 was uninstall the LPC-Link2 driver from Windows, connect the LPC-Link2 and instal the driver, and start a debug connection on LPCXpresso 7.7.2. If I try the first time after reinstall the driver in version 7.8.0 I found the same problem.

My OS is Windows 8.1.


Best Regards

Original Attachment has been moved to: error_0.txt.zip

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

1,948件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by HCTEK on Mon Jun 08 04:11:19 MST 2015
I am using Windows 8.1 and I am not running in a VM.

In the first time I did not power-cyle the LPC-Link2 but I tried after and the problem stays the same.

Ok, I will run that script when the problem occurs and give feedback ;).


Best Regards
0 件の賞賛
返信

1,948件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by lpcxpresso-support on Mon Jun 08 03:44:00 MST 2015
What is your host OS and version? Are you running in a VM?

After restarted your computer from Resume, did you power-cycle the LPC-Link2?

If you are using Windows, when your problem occurs, can you run the script "listusb.cmd" (in the bin/scripts directory) and post the output
0 件の賞賛
返信

1,947件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by HCTEK on Mon Jun 08 03:38:05 MST 2015
Hello again ;)

The problem emerged again. I resume the computer from suspension and tried to debug without success.  The problem is the same as I previous described. I attach the error log and a print of the error.

I also tried what you propused, enter into ISP and next start a debug connection, but without success. Regarding the wire speed, the LPCXpresso does not allow me to change it because I do not have a supported emulator.

I also tried to uninstall and install the drivers form "/drivers" folder of LPCXpresso and after this I was able to debug.


Best Regards,
0 件の賞賛
返信

1,947件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by HCTEK on Fri Jun 05 10:59:40 MST 2015
Sorry, I forgot to mention my micro. I am using LPC4337.

My setup is the same of the previous version of LPCXpresso and I never faced this problem.

My LPC-Link2 was always programmed with CMSIS-DAP. I used the LPC-Link2 tool even it was not needed in these new versions of LPCXpresso.

Since this problem occurs occasionally and cannot force/replicate the problem, the next time it occurs I will try what you propuse and give feedback.

Thanks,

Best Regards
0 件の賞賛
返信

1,947件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by lpcxpresso-support on Fri Jun 05 10:46:14 MST 2015

You didn't mention which part you're trying to debug, but based solely on the ProbeStatus output, the server has a connection to the LPC-Link2. The state of the target does not look viable, however. What happens if you first boot the part into the ISP before attempting to start the debug session?

We've encountered occasional USB issues with Windows 8 which are under investigation. Every one of these got resolved by uninstalling (and deleting) the drivers, then reinstalling using the driver installation in located in the LPCXpresso '<install>\Drivers' folder. It easier if you configure the Windows 8 Device Installation Settings to let you choose how to install.

Note also, the default probe firmware has changed from Redlink to CMSIS-DAP starting with the LPCXpresso 7.8.0 release. The Redlink firmware is deprecated, but still available when configured by the Preferences setting. If you suspect this change presents a problem with debug behavior, first reduce the wire speed setting (1000000 Hz or lower) in your debug configuration, and retry. Let us know your results.

Regards,
LPCXpresso Support
0 件の賞賛
返信