Debug port not working on LS1021A-IOT

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

Debug port not working on LS1021A-IOT

2,705 Views
bordeaujean-pas
Contributor I

Dear all,

I have purchase an LS1021A-IOT reference design from mouser and make basic tests without issue... And now, my serial debug port doesn't seems working any more!!!

Have you some idea?

Best regards.

Before my issue, the Uboot trace was the following :

U-Boot 2015.01+ls1+g3281947 (Aug 31 2015 - 15:06:00)

CPU:   Freescale LayerScape LS1021E, Version: 2.0, (0x87081120)
Clock Configuration:
       CPU0(ARMV7):1000 MHz,
       Bus:300  MHz, DDR:800  MHz (1600 MT/s data rate),
Reset Configuration Word (RCW):
       00000000: 0608000a 00000000 00000000 00000000
       00000010: 20000000 08407900 60025a00 21046000
       00000020: 00000000 00000000 00000000 20038000
       00000030: 20024800 881b1340 00000000 00000000
Board: LS1021AIOT
CPLD:  V2.8
I2C:   ready
DRAM:  1 GiB
Using SERDES1 Protocol: 32 (0x20)
MMC:   FSL_SDHC: 0
EEPROM: wait_for_sr_state: Arbitration lost sr=92 cr=0 state=2020
i2c_init_transfer: failed for chip 0x51 retry=0
wait_for_sr_state: Arbitration lost sr=92 cr=0 state=2020
i2c_init_transfer: failed for chip 0x51 retry=1
wait_for_sr_state: Arbitration lost sr=92 cr=0 state=2020
i2c_init_transfer: failed for chip 0x51 retry=2
i2c_init_transfer: give up i2c_regs=02180000
Read failed.
PCIe1: Root Complex no link, regs @ 0x3400000
PCIe2: Root Complex no link, regs @ 0x3500000
In:    serial
Out:   serial
Err:   serial
SEC0: RNG instantiated
SATA link 0 timeout.
AHCI 0001.0300 1 slots 1 ports ? Gbps 0x1 impl SATA mode
flags: 64bit ncq pm clo only pmp fbss pio slum part ccc
scanning bus for devices...
Found 0 device(s).
SCSI:  Net:   eTSEC1 is in sgmii mode.
eTSEC2 is in sgmii mode.
Phy 1 not found
PHY reset timed out
Phy 3 not found
PHY reset timed out
Phy 4 not found
PHY reset timed out
eTSEC1, eTSEC2 [PRIME], eTSEC3
Hit any key to stop autoboot:  0

Tags (1)
0 Kudos
Reply
12 Replies

2,459 Views
ufedor
NXP Employee
NXP Employee

Please refer to the following Community question concerning the MBED misbehaviour when connected to Windows 10:

https://community.nxp.com/message/1054604?commentID=1054604#comment-1054604 

The LS1021A-IOT also has K22 microcontroller running the CMSIS -DAP firmware.

0 Kudos
Reply

2,459 Views
bordeaujean-pas
Contributor I

I have follow the instruction and copying the k22fx512_if_mbed.bin.zip (or the k22fx512_if_mbed.bin) on the mapped volume labelled ‘MBED’,

after the volume’s remap, a file fail.txt appear containing “SWD ERROR”!!!

No change.

Any other idea?

Thank for your help.

De : ufedor

Envoyé : lundi 2 septembre 2019 18:10

À : BORDEAU Jean-Pascal

Objet : Re: - Re: Debug port not working on LS1021A-IOT

NXP Community <https://community.freescale.com/resources/statics/1000/35400-NXP-Community-Email-banner-600x75.jpg>

Re: Debug port not working on LS1021A-IOT

reply from ufedor<https://community.nxp.com/people/ufedor?et=watches.email.thread> in Layerscape - View the full discussion<https://community.nxp.com/message/1200077?commentID=1200077&et=watches.email.thread#comment-1200077>

0 Kudos
Reply

2,459 Views
ufedor
NXP Employee
NXP Employee

Have you performed firmware upgrade/programming operation(s) before the failure?

0 Kudos
Reply

2,459 Views
bordeaujean-pas
Contributor I

First, I have made another sdcard to keep the reference one…

I have perform nothing around upgrade/programming operation(s) before the failure, except toggling sdcard an reboot…

De : ufedor

Envoyé : mardi 3 septembre 2019 09:29

À : BORDEAU Jean-Pascal

Objet : Re: - Re: Debug port not working on LS1021A-IOT

NXP Community <https://community.freescale.com/resources/statics/1000/35400-NXP-Community-Email-banner-600x75.jpg>

Re: Debug port not working on LS1021A-IOT

reply from ufedor<https://community.nxp.com/people/ufedor?et=watches.email.thread> in Layerscape - View the full discussion<https://community.nxp.com/message/1200463?commentID=1200463&et=watches.email.thread#comment-1200463>

0 Kudos
Reply

2,459 Views
ufedor
NXP Employee
NXP Employee

Could you toggle the SD card again (insert the original one)?

0 Kudos
Reply

2,459 Views
bordeaujean-pas
Contributor I

This is what I have already perform several times before posting this trouble…

De : ufedor

Envoyé : mardi 3 septembre 2019 10:47

À : BORDEAU Jean-Pascal

Objet : Re: - Re: Debug port not working on LS1021A-IOT

NXP Community <https://community.freescale.com/resources/statics/1000/35400-NXP-Community-Email-banner-600x75.jpg>

Re: Debug port not working on LS1021A-IOT

reply from ufedor<https://community.nxp.com/people/ufedor?et=watches.email.thread> in Layerscape - View the full discussion<https://community.nxp.com/message/1200593?commentID=1200593&et=watches.email.thread#comment-1200593>

0 Kudos
Reply

2,459 Views
ufedor
NXP Employee
NXP Employee

Ensure that all configuration switches are in default positions.

What is the LED D5 behaviour? - refer to the QorIQ LS1021A-IOT Gateway Reference Design Getting Started Guide, Table 2. LED operations.

Do you have CodeWarrior IDE and CodeWarrior TAP to debug the board?

0 Kudos
Reply

2,459 Views
bordeaujean-pas
Contributor I

- Configuration switch are : SW2[1 :8] OFF OFF OFF OFF ON ON ON OFF compare to OFF OFF OFF OFF OFF ON ON OFF (reference manual)

=> S2.5 “0 : SerDes Lane 2 – SATA”

- LED D5 (K22) behaviour :

- off when booting without USB cable

- on when booting with USB cable

- blinking when sending character from the computer

I don’t have any CodeWarrior tools…

De : ufedor

Envoyé : mardi 3 septembre 2019 17:33

À : BORDEAU Jean-Pascal

Objet : Re: - Re: Debug port not working on LS1021A-IOT

NXP Community <https://community.freescale.com/resources/statics/1000/35400-NXP-Community-Email-banner-600x75.jpg>

Re: Debug port not working on LS1021A-IOT

reply from ufedor<https://community.nxp.com/people/ufedor?et=watches.email.thread> in Layerscape - View the full discussion<https://community.nxp.com/message/1200731?commentID=1200731&et=watches.email.thread#comment-1200731>

0 Kudos
Reply

2,459 Views
ufedor
NXP Employee
NXP Employee

Is your host a PC running Windows 10?

0 Kudos
Reply

2,459 Views
bordeaujean-pas
Contributor I

My host is an Ubuntu-16.04.

De : ufedor

Envoyé : mardi 3 septembre 2019 17:55

À : BORDEAU Jean-Pascal

Objet : Re: - Re: Debug port not working on LS1021A-IOT

NXP Community <https://community.freescale.com/resources/statics/1000/35400-NXP-Community-Email-banner-600x75.jpg>

Re: Debug port not working on LS1021A-IOT

reply from ufedor<https://community.nxp.com/people/ufedor?et=watches.email.thread> in Layerscape - View the full discussion<https://community.nxp.com/message/1200734?commentID=1200734&et=watches.email.thread#comment-1200734>

0 Kudos
Reply

2,458 Views
ufedor
NXP Employee
NXP Employee

Try to uninstall and re-install USB MBED driver on the host PC.

0 Kudos
Reply

2,458 Views
bordeaujean-pas
Contributor I

I don’t have installed any USB MBED driver… My machine is an Ubuntu (Linux) and I just use minicom…

De : ufedor

Envoyé : mercredi 4 septembre 2019 07:35

À : BORDEAU Jean-Pascal

Objet : Re: - Re: Debug port not working on LS1021A-IOT

NXP Community <https://community.freescale.com/resources/statics/1000/35400-NXP-Community-Email-banner-600x75.jpg>

Re: Debug port not working on LS1021A-IOT

reply from ufedor<https://community.nxp.com/people/ufedor?et=watches.email.thread> in Layerscape - View the full discussion<https://community.nxp.com/message/1201069?commentID=1201069&et=watches.email.thread#comment-1201069>

0 Kudos
Reply