Unable to see any registers in MCUXpresso IDE (with mk64)

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

Unable to see any registers in MCUXpresso IDE (with mk64)

ソリューションへジャンプ
1,971件の閲覧回数
stdcerr
Contributor IV

HI,

 

I'm new to MCUXpresso and just realized that I cannot see any of the registers under the "Registers" tab.

I'm using MCUXpresso 11.2.1 and am connected to my Kinetis MCU and can step through the code nicely, "Heap ands Stack Usage" for example get updated nicely but the Registers tab is just empty, no matter if "Show modified registers only" is checked or not.

How can I get the controller's registers to show?

0 件の賞賛
返信
1 解決策
1,950件の閲覧回数
ErichStyger
Specialist I

Hi @stdcerr ,

>>no matter if "Show modified registers only" is checked or not.

Not really sure which setting is this? Can you provide details?

 

In general: The core registers only get updated/displayed in the debugger if the target is halted:

ErichS_0-1605250921144.png

The reason is that on the ARM Cortex M it is only possible to read the core register if the processor is halted.

Just in case if you are interested in the peripheral registers, they are shown in the Peripheral+ (plus Memory view):

ErichS_1-1605251095339.png

 

I hope this helps,

Erich

元の投稿で解決策を見る

3 返答(返信)
1,951件の閲覧回数
ErichStyger
Specialist I

Hi @stdcerr ,

>>no matter if "Show modified registers only" is checked or not.

Not really sure which setting is this? Can you provide details?

 

In general: The core registers only get updated/displayed in the debugger if the target is halted:

ErichS_0-1605250921144.png

The reason is that on the ARM Cortex M it is only possible to read the core register if the processor is halted.

Just in case if you are interested in the peripheral registers, they are shown in the Peripheral+ (plus Memory view):

ErichS_1-1605251095339.png

 

I hope this helps,

Erich

1,927件の閲覧回数
stdcerr
Contributor IV

Awesome, so turns out that there apparently is two registers cards for Registers, and I was initially looking at the wrong one but once I pulled up the other one along with the Peripherals+ from  Window -> Show View -> Peripherals+ I can see the register values as I expected! Awesome! Thank you!

1,962件の閲覧回数
danielchen
NXP TechSupport
NXP TechSupport

Hi

Please note : when operating in LinkerServer None Stop mode, registers cannot  be read or written when the target is executing and the register display may appear blank.

danielchen_0-1605234963198.png

 

 

Please refer to MCUXpresso_IDE_User_Guide.pdf   , 11.6 Registers for more details.

 

Regards

Daniel

 

 

0 件の賞賛
返信