QORIQ B4860QDS Debug gets stuck at ___crt0_start: and not able to resume at main()

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

QORIQ B4860QDS Debug gets stuck at ___crt0_start: and not able to resume at main()

1,093 Views
nikunjtapodhan
Contributor I

Hi

I am using starcore 3900 and B4860 SOC for dsp code development .

I am trying to bring up my B4860QDS EVM , in process I am facing some issue related to debugger(using on board ecwtap)

QORIQ B4860QDS Debug gets stuck at ___crt0_start: and not able to resume at main() .

Also  when i Debug step the code from ___crt0_start , it does not step at all.

Attaching the screenshot for the issue I am facing.

Guys please see if you can help me to resolve this.

nikunj.

0 Kudos
Reply
3 Replies

977 Views
lunminliang
NXP Employee
NXP Employee

Hello NIKUNJ TAPODHAN,

So you have updated the firmware of eCWTAP? Have you tried an external TAP? Are you using the latest CodeWarrior version for SC3900?

Regards

Lunmin

0 Kudos
Reply

977 Views
nikunjtapodhan
Contributor I

Hi lunminliang,

Thanks for the reply.

So you have updated the firmware of eCWTAP?

ANS: Yes I have updated the firmware using CCS Commands:

config cc cwtap: FSL038A81

updatecwtap FSL038A81

Have you tried an external TAP?

ANS: No. I do not have an external TAP available.

Are you using the latest CodeWarrior version for SC3900?

ANS:

Installed Products:

- CodeWarrior for StarCore

  Version: 10.8.3

  Build Id:430

Also as you can see below, I am able to detect the embedded codewarrior tap:

pastedImage_4.png

regards

nikunj.

0 Kudos
Reply

977 Views
nikunjtapodhan
Contributor I

Hi lunminliang,

Good news.When I used ecwtap as ethernet tap and speficic IP  192.168.2.197(obtained using DHCP)  it works absolutely fine.

So now  I am able to connect to debugger and code halts at main() now.

Problem was that Code warrior tap was configured in USB Mode(still not able to understand why this connection mode did not work).

Do you have any answers for this as I believe we should be able to connect the ecwtap debugger  using USB configuration also??

If so request to please send me the screen shot of how to use this connection.

regards

nikunj

0 Kudos
Reply