I cannot access the VREF_SC register in KDS 3.20. When I select EmbSys Register => VREF => VREF => SC, I get the message "WARNING: Failed to read memory @ address 0x40074001"
My environment:
In KDS, in the EmbSys Registers tile, it shows
Arch: SVD(CMSIS) Vendor: Freescale Chip: MLK27Z4 Board: --- none ---
... I believe this is correct. When I select Register VREF => VREF=> SC, in the console it prints:
WARNING: Failed to read memory @ address 0x40074001
... and the result is blank.
Note that it IS capable of printing other registers, e.g. ADC control registers, etc.
Any idea why this is failing, or how I can read the state of VREF_SC[VREFEN]?
Solved! Go to Solution.
You need to enable the clock gate for Vref Module.
SiM_SGCG4 (VREF) bit.
You need to enable the clock gate for Vref Module.
SiM_SGCG4 (VREF) bit.
Hi Robert Poor
Could you share an screenshot of your EmbSys Registers? I noticed that you have:
Arch: SVD(CMSIS) Vendor: Freescale Chip: MK207Z4
But you should have selected in Freescale Chip: MKL27Z4
So, I not sure if you have selected the correct chip, could you check it please.
Best Regards
Jorge Alcala
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Jorge:
That was a typo on my part: I get this error when the chip is set to MKL27Z4. Screenshot attached.