LS1028ARDB CodeWarrior TAP connects but will not return Connection Diagnostics

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

LS1028ARDB CodeWarrior TAP connects but will not return Connection Diagnostics

2,692 次查看
JBKauffman
Contributor I

Hi Everyone,

I'm using an LS1028AARB development board and can connect using a TAP connected via USB and step through bare board samples like the hello_world.c  so the TAP is clearly working.   I am not however able to get the "Connection Diagnostics" to run.   It starts and will go for hours without returning any results.   How do I go about debugging this?

The only change I have made is to the configuration to set "USE_SAFE_RCW = True"

Here is a screen shot of CodeWarrior connected and stepping through the hello_world.c bare machine example:

 

JBKauffman_0-1693243358634.pngJBKauffman_0-1693243358634.png

 

But when I disconnect and try running Diagnose Connection - or if I start from scratch and run diagnose connection I get the same results - it hangs with the progress bar going on for hours without showing any test being run - here is a screen shot:

 

JBKauffman_1-1693243696959.pngJBKauffman_1-1693243696959.png

 

Looking at the error log I do see a stack overflow - perhaps related?   

!ENTRY org.eclipse.ui 4 0 2023-08-28 13:23:50.623
!MESSAGE Unhandled event loop exception
!STACK 0
java.lang.StackOverflowError
	at org.eclipse.swt.internal.win32.OS.CallWindowProc(Native Method)
...

Maybe related I'm also not able to bring up the CCS command window - if I navigate to:

C:\Freescale\CW4NET_v2020.06\Common\CCS\bin>ccs.exe

It just returns without any errors but I don't have the CCS icon in the IDE unless I am missing it someplace.

Looking for advice.

 

Thanks!

 

Jeff

0 项奖励
回复
6 回复数

2,625 次查看
SebastianG
NXP TechSupport
NXP TechSupport

Hello @JBKauffman,

In order to verify that everything is set as expected, could you please tell me the steps that you use to run the bareboard project in Codewarrior?

Regards,

Sebastian

0 项奖励
回复

2,603 次查看
JBKauffman
Contributor I

Hi Sebastian,

After installing CodeWarrior and applying the latest update (as shown above) I did the following:

1. From Window->show view->other->Target Connections Duplicated the LS1028A RDB configuration and performed the probe discovery to connect my TAP via USB

2. Edited the target initialization and changed USE_SAFE_RCW = False to USE_SAFE_RCW = True

3. Created a new project: File->new->codewarrior_stationary and selected a bare board project:

JBKauffman_0-1693580704944.pngJBKauffman_0-1693580704944.png

4. Run->debug configurations and can step through the code run etc... everything works as expected

5. Try to do a Diagnose Connection as shown before and it never returns anything

 

 

0 项奖励
回复

2,519 次查看
SebastianG
NXP TechSupport
NXP TechSupport

Hi @JBKauffman,

Apologies for the delayed response,

In order to avoid any kind of confusion:

Could you please provide your Codewarrior version?

Could you please provide your Tap Codewarrior  version?

Could you please provide your Codewarrior TAP Firmware boot loader version? (Please see in the reference the attached log from Tera Term)

0 项奖励
回复

2,574 次查看
SebastianG
NXP TechSupport
NXP TechSupport

Hello @JBKauffman,

I would like to inform you that I keep working to replicate your last reply from my side.

I would let you know as soon as I have an update.

Thank you so much for patience

Regards,

Sebastian

0 项奖励
回复

2,638 次查看
SebastianG
NXP TechSupport
NXP TechSupport

hello @JBKauffman,

I would like to inform you that I'm working on your question, I will let you know as soon as I have an update.

Thank you so much for your patience

Regards,

Sebastian

0 项奖励
回复

2,689 次查看
JBKauffman
Contributor I

Forgot to include the version:

JBKauffman_0-1693245759678.pngJBKauffman_0-1693245759678.png

 

0 项奖励
回复