Debugging the LPC1837 Xplorer board project

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Debugging the LPC1837 Xplorer board project

1,120 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by tvink on Fri Jan 09 10:53:03 MST 2015
Hi,

I have compiled the source for the LPC1837 Xplorer board and want to go through the exercise of loading the code onto the target board and to debug with it.

This makes me realize that I know even less than I thought I did. 

How are the three projects combined into one debug image?   ...and how do you debug?  Everything I have tried ends up with "Launch failed.  Binary not found".

I have been trying procedures similar to what worked with the Binkey example, but it looks like something different needs to be done here.

Tips and perhaps a link to pertinent documentation would be appreciated.


Thanks
标签 (1)
0 项奖励
回复
3 回复数

1,080 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by tvink on Fri Jan 09 13:05:22 MST 2015
I think I have it.

I debugged the one with main() in it.  Finally found the binary way down in the directory where the stuff was imported from.  Huh?  Why there? But it was.  Was able to step and then run.  The USB resource appeared on my PC when the code initialized it.

So I think it is working.

Now if I can figure out how to put the binarys in my project directory.

And to get them to show up in project explorer...
0 项奖励
回复

1,080 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by tvink on Fri Jan 09 12:22:47 MST 2015
Hi,

It is the example that came with the Xplorer board.  It has 3 projects that get loaded to the board.
Yes I am using LPCXpreso.

Here is a link to the example...
http://www.lpcware.com/system/files/MicroSD%20card.zip



Thanks
0 项奖励
回复

1,080 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by mc on Fri Jan 09 11:53:30 MST 2015
Hi tvink,
Looks like you are using LPCxpresso,but can you please confirm?

Can also let forum know which s/w example are you trying?
0 项奖励
回复