How to read Internal Registers of KL25Z Freedom

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How to read Internal Registers of KL25Z Freedom

936件の閲覧回数
nidhinvarghese
Contributor I

How can the Internal Registers of Freedom KL25Z be read ?

My aim is to read the MCG and SIM internal registers and print the value through a putty terminal on PC screen. Through which the internal status of Controller is understood.

ラベル(1)
0 件の賞賛
返信
1 返信

688件の閲覧回数
mjbcswitzerland
Specialist V

Hi

Load the binary at
http://www.utasker.com/kinetis/FRDM-KL25Z.html

Then you can read all internal registers out over the UART.

Just find the register address and size - eg. SIM block is at 0x40047000
"md 4004700 l 100" (in the I/O menu) will print out 100 long word contents from the start of the block.

If you need the code to do it just get it from the uTasker project.

Regards

Mark
Kinetis for professionals: http://www.utasker.com/kinetis.html

0 件の賞賛
返信