FPGA, SoC, And CPLD Boards And Kits
FPGA Evaluation and Development Kits

ScanManager : read IDCode

WabG
Beginner
432 Views

Dear support,

 

On a SoC (Cyclone V) we want to access the JTAG chain from HPS through the ScanManager.

 

The procedure below is extracted from the documentation and is executed on U-Boot but no data is present in the "Read FIFO". Any help appreciated :

 

mw 0xFFF02004 0x80       # Enable scan chain 7 : SCANMGR_OFFSET_EN = 1
mw 0xFFD040A0 0xFF7    # Disable TCK clock
mw 0xFFD08030 1             # Connect FPGA JTAG pins
mw 0xFFD040A0 0xFFF    # Enable TCK clock

mw 0xFFF02000 0x2         # Reset TAP
mw 0xFFF02000 0x0         # Release reset TAP

 

# GOSTATE IDLE : write FIFO4BYTE 0x40404040 (TMS = 1111 1111)
mw 0xFFF0201C 0x40404040
mw 0xFFF0201C 0x40404040

 

# GOSTATE SHIFT_DR : write FIFO4BYTE 0x00400000 (TMS = 0100)
mw 0xFFF0201C 0x00400000

 

# Output IDCODE : write 8x FIFO4BYTE 0x90909090 : 32 x (TMS = 0, TDI = 1)
mw 0xFFF0201C 0x90909090
mw 0xFFF0201C 0x90909090
mw 0xFFF0201C 0x90909090
mw 0xFFF0201C 0x90909090
mw 0xFFF0201C 0x90909090
mw 0xFFF0201C 0x90909090
mw 0xFFF0201C 0x90909090
mw 0xFFF0201C 0x90909090

 

# Read FIFOCNT : bits[26:24] = 0 => FAIL !
md 0xFFF02000 1

 

Regards,

 

WabG

 

Labels (1)
0 Kudos
5 Replies
Farabi
Employee
382 Views

Hello,


May I know what device are you using? Do you know the part number?


regards,

Farabi


0 Kudos
WabG
Beginner
354 Views

Farabi,

 

Yes, this is a Cyclone V 5CSEBA5U23I7.

 

Regards,

 

WabG

0 Kudos
NurAiman_M_Intel
Employee
254 Views

Hi,


Ypu said the above procedure was extracted from documentation, may I know which document? Please provide the link.


Do you also refer to below document?

https://www.intel.com/content/www/us/en/docs/programmable/683126/21-2/hard-processor-system-technical-reference.html


Regards,

Aiman


0 Kudos
WabG
Beginner
236 Views

Hello,

 

Yes this the only document I have found about the Scan Manager. In detail, i'm refering to chapter "Communicating with the JTAG TAP Controller" for the procedure but I have read the whole document.

 

Regards,

 

WabG

0 Kudos
WabG
Beginner
47 Views

Aiman, Farabi,

 

Can you provide me with an example to use the module ScanManager ?

 

You should have this information as it is mandatory for the development and verification teams to test each feature implemented in the silicium of the devices.

Otherwise, is there any other support team I can contact ?

 

Regards,

 

WabG

 

PS : this isn't the first question I see in this forum without any answer. Having a good support is a big concern for the choice of Intel for the future development.

0 Kudos
Reply