Software Archive
Read-only legacy content
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
17060 Discussions

Intel System Studio 2015 (Beta) Quark JTAG access to MSR

JBlac9
Novice
1,685 Views

Is it possible to gain access to the Quark's Model-Specific Registers (MSR) via JTAG using the XDB?

If it is possible, in which way can I gain access to these registers?

The Quark Debug Operations Manual suggests this [Direct quote form the Quark Debug Ops Manual, Section 5.6.11]:

MSRs may be accessed (read and written) using the following flow:
1. Write the MSR index value to the ECX register using normal SRAM write operation.
2. Read:
a. Submit an ‘rdmsr’ instruction to the core via WRITEPIR and SUBMITPIR.
b. Bits 31:0 of the MSR data will be in EAX; bits 63:32 of the MSR data will be
EDX.
3. Write:
a. Move bits 31:0 of the data to be written to EAX; move bits 63:32 of the data
to EDX.
b. Submit a ‘wrmsr’ instruction to the core via WRITEPIR and SUBMITPIR.

 If this is the correct method to access the MSRs with XDB, how would I instruct the XDB to do this?

Thank you beforehand for any help you may be able to provide me.

0 Kudos
1 Solution
Paul_F_Intel
Employee
1,685 Views

The debugger has a view option called MSR - Modell Specific Registers.

Does that show the registers you are looking for?

 

 

View solution in original post

0 Kudos
2 Replies
Paul_F_Intel
Employee
1,686 Views

The debugger has a view option called MSR - Modell Specific Registers.

Does that show the registers you are looking for?

 

 

0 Kudos
JBlac9
Novice
1,685 Views

Paul Farquhar

Thank you for the suggestion; I found the suggested item on the menu. It does show the desired registers.

Regards

0 Kudos
Reply