AnsweredAssumed Answered

custom LS1012A Board

Question asked by Mario Bernhard on Apr 11, 2018
Latest reply on Apr 16, 2018 by Mario Bernhard

Hello,

I had the job of a custom LS1012A Board to put it into operation.

 

As a reference, I have a FRDM-LS1012A. As a JTAG interface I use an OLIMEX ARM-USB-OCD-H in conjunction with OpenOCD.

 

When two boards, the JTAG connection directly with the LS1012A.

 

The QSPI on the FRDM-LS1012A can I describe. The other board i do not come to the MEM-AP.

 

To the Test:

write CSYSPWRUPREQ | CDBGPRWUPREQ -> DPACC [ CTRL/STAT ]
read CDBGPWRUPACK | CSYSPWRUPREQ | CSYSPWRUPACK | CDBGPRWUPREQ <- DPACC [ CTRL/STAT ]

write 0 -> DPACC [ SELECT.APSEL ]
read APACC [ CSW ]

 

OpenOCD:
> irscan ls1012a.dap 0xe
> drscan ls1012a.dap 32 0x0
5BA00477
> irscan ls1012a.dap 0xa
> drscan ls1012a.dap 3 0x02 32 0x50000000
02 00000000
> irscan ls1012a.dap 0xa
> drscan ls1012a.dap 3 0x03 32 0x0
02 F0000000
> irscan ls1012a.dap 0xa
> drscan ls1012a.dap 3 0x04 32 0x0
02 F0000000
> irscan ls1012a.dap 0xb
> drscan ls1012a.dap 3 0x01 32 0x0
02 00000000
> irscan ls1012a.dap 0xb
> drscan ls1012a.dap 3 0x01 32 0x0
01 00000000
> irscan ls1012a.dap 0xa
> drscan ls1012a.dap 3 0x03 32 0x0
01 00000000

 

The customer-specific board is made at this point to ACK WAIT. Then communication is not possible any more. Each access such as a reading of the CTRL/STAT register receives as response WAIT. The setting of the ABORT register changes nothing.

 

Since I no longer come at this point, I am grateful for every note.

 

Best regards,
Mario

Outcomes