Trouble viewing registers

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

Trouble viewing registers

889件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by rlund on Thu Jul 17 11:54:20 MST 2014
I loaded the peripheral blinky routine into an LPC1837 Xplorer board (NGX) using an LPC-Link2 debugger and the LPCXpresso IDE.  The program runs fine, but I wanted to explore some of the register values, and am having some trouble.

When I click on a register, it opens the register view.  Some of the registers work, such as the clock generation unit.  However, many of the registers do not work.  When I click on them the new window comes up and says something to the effect of "peripheral/memory disabled", and the register name is highlighted in red.  I was specifically interested in looking at the CCU registers, and the SPIFI registers, neither of which works.

Is this expected?  How can I get a look at these registers?  I have changed the project properties for both the board, chip, and blinky projects to work on the 1837 instead of the 1830.

I am using the free version of LPCXpresso, version 7.2.  I am running windows 7.

Thanks for the help!
ラベル(1)
0 件の賞賛
返信
2 返答(返信)

862件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by rlund on Fri Jul 18 09:45:07 MST 2014
The register(s) I'm interested in right now are primarily the CCU (clock control unit) registers.  I have read the manual back and forth on this chapter and haven't found anything that implies that the CCU would be able to be enabled/disabled.

It does seem I am able to access the registers by reading them through the code, but it would greatly speed up debugging time to be able to view the registers through the IDE as designed.
0 件の賞賛
返信

862件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by lpcxpresso-support on Thu Jul 17 14:42:28 MST 2014
The most likely cause is that the peripheral is disabled (powered down). Many peripherals are n this state after power up or reset. You have to enable them before you can access their registers. How to do this for each peripheral is described in the user manual for the chip.
0 件の賞賛
返信