LPC1114FN28 problem

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

LPC1114FN28 problem

806件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Gastonio on Sat Nov 10 09:32:49 MST 2012
Hello, I am having problem programming LPC1114FN28 MCU. For this, I am using LPCXpresso LPC1769 board, disconected target side.  The LPCXpresso shows, that program was downloaded, however - nothing happens, port is still high, when the program was to make it low.
[SIZE=2][/SIZE]
[SIZE=2][SIZE=2]LPC_GPIO0->[COLOR=#0000c0]DIR[/COLOR][SIZE=2]|=(1<<7);[/SIZE]
[/SIZE][SIZE=2]

LPC_GPIO0->[COLOR=#0000c0]DATA[/COLOR][SIZE=2]&=~(1<<7);[/SIZE][SIZE=2][/SIZE]
[/SIZE][SIZE=2][/SIZE]
[SIZE=2][/SIZE][/SIZE]
0 件の賞賛
返信
5 返答(返信)

790件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Gastonio on Sat Nov 10 15:15:05 MST 2012

Quote: Gastonio
Yeah, I know, however I can't do steps or switch ports using Peripherals View.



The problem was in selecting the clock source, the default was external clock source. Now I am able to debug. Guess it's a good reason to drink a beer for that after all, thanks anyway.
0 件の賞賛
返信

790件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Gastonio on Sat Nov 10 11:59:09 MST 2012
Yeah, I know, however I can't do steps or switch ports using Peripherals View.


Quote: Zero
:confused:

Do you know what a debugger is :confused:

So is it running? Stepping? Drinking a beer?

What's it's Perihherals view telling you about your GPIO?

What's it's Perihherals view telling you about your IOCON?

Did you try to switch your GPIO via Peripherals View?

0 件の賞賛
返信

790件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Ex-Zero on Sat Nov 10 11:48:24 MST 2012

Quote: Gastonio
...however nothing happens.



:confused:

Do you know what a debugger is :confused:

So is it running? Stepping? Drinking a beer?

What's it's Perihherals view telling you about your GPIO?

What's it's Perihherals view telling you about your IOCON?

Did you try to switch your GPIO via Peripherals View?
0 件の賞賛
返信

790件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Gastonio on Sat Nov 10 11:21:08 MST 2012

Quote: Zero
Congratulation, now start your debugger :)


Thanks for the reply. I did start debugger when downloading the program, however nothing happens.
0 件の賞賛
返信

790件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Ex-Zero on Sat Nov 10 09:54:03 MST 2012

Quote: Gastonio
The LPCXpresso shows, that program was downloaded...



Congratulation, now start your debugger :)
0 件の賞賛
返信