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.
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
a. Move bits 31:0 of the data to be written to EAX; move bits 63:32 of the data
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.