Best References

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

Best References

1,196件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by waynosdias on Thu Jun 11 07:44:25 MST 2015
Im new to ARM and LPCXpresso. I am having difficulty integrating personal files w the examples and navigating the file structures despite watching the youtube tutorial videos and reading the quickstart guides. I am looking for more in depth materials that cover these topics. Can anyone recommend a ARM book or other media that is specific to the eclipse IDE?

What Im trying to accomplish is merge the ccan and uart examples into a single project. In the process I have effectively corrupted the filepaths and having difficulty getting back on track.
0 件の賞賛
返信
8 返答(返信)

1,186件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by waynosdias on Sun Jun 14 10:55:28 MST 2015
Thanks R2, may the schwartz be with you :)
0 件の賞賛
返信

1,186件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by R2D2 on Sun Jun 14 00:40:47 MST 2015

Quote: waynosdias
last question, what would you have me upload for you to help trouble shoot?



The projects (project + board library). If possible a simple LPCXpresso board project. They are showing project settings and are easy to flash and debug  :)

That's usually faster than discussing code snippets...
0 件の賞賛
返信

1,186件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by waynosdias on Sat Jun 13 18:05:20 MST 2015

Quote: R2D2
Anyway, without seeing your project it's difficult to guess what's causing your problems...



...and I'm sure my vernacular in trying to describe the issue doesnt help either.

But alas, SUCCESS! I'm not sure if its causal or purely correlative, but snooping around the build properties i noticed that my directory paths were all pointing to LPCXpresso 7.6. This didnt make sense to me as I deleted that folder upon installing 7.8. I didnt realize my directories were pointing to c/nxp/7.6 instead of c/mydocs/7.8. Out of frustration I simply deleted everything off both drives, reinstalled 7.8 and now is working :)

Thanks for you persistance

last question, what would you have me upload for you to help trouble shoot?
0 件の賞賛
返信

1,186件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by R2D2 on Sat Jun 13 13:19:50 MST 2015
I'm not sure what you are doing in detail and what you are trying to achieve...

The easiest way to change projects is just to copy it in Project Explorer and rename the 'main' file...

If you want to add a file to your project, use New->Header file or New->Source file and the new file is included in the project  :)

Anyway, without seeing your project it's difficult to guess what's causing your problems...

0 件の賞賛
返信

1,186件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by waynosdias on Sat Jun 13 13:09:13 MST 2015

Quote: R2D2

  Just use this sample to get CAN working and enable UART in board library...



Thanks for the response, can you please elaborate on how to do this or point to a reference that can?

What I have done

1. I have taken the ccan project, the chip project and the board project put them in a workspace and successfully compiled the ccan project. the ccan project will not compile wo the chip or board project. I still dont understand this as I #include the correct file directory for the dependant files.
At this point everything compiles and debugs

2. I have created a main.c that contains the main{} function and removed the main{} from ccan and adjusted the .h files to correct the definitions. This is where the project fails to compile;
ERROR = make: *** [nxp_lpcxpresso_11c24_periph_ccan_rom.axf] Error 1
WARNING = Invalid project path: Include path not found (nxp_lpcxpresso_11c24_periph_ccan_rom\inc).

Thanks
Wayne
0 件の賞賛
返信

1,186件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by R2D2 on Sat Jun 13 09:25:10 MST 2015

Quote: waynosdias

2 Using the LPCOpen examples, specifically the ccan example project, I am unable to compile the project...



That's usually a good point to start  :)  Just use this sample to get CAN working and enable UART in board library...
0 件の賞賛
返信

1,186件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by waynosdias on Sat Jun 13 08:51:40 MST 2015

Quote: 1234567890

Create a new project with the wizard. Then just copy the files you need into the src folder of your new project. Then refresh the project (I think it is 'F5') and the files are accessible.
One advantage is that you keep original example files.



Thank you for the response, still confused and directory problems persist. My goal is to merge the ccan and uart projects along w user defined functions. I am using the LCPXpresso 7.8 and 11C24 xpresso board. I have re-reviewed the lpcxpresso quick start guide, lpcxpresso help html and three youtube lpcxpresso video tutorials.

My background in in embedded is simple C for freescales HCS12 and Microchips p24 and p18. By no means am I an accomplished coder and new to using apis so any and all advice, particularly to a thorough resource I can study would be greatly appreciated. My problems;

1 Though I am able to copy files to the project directory and compile I am unable to "drag n drop" as shown in the videos

2 Using the LPCOpen examples, specifically the ccan example project, I am unable to compile the project despite by copying over the dependent  source files. The ccan project is dependent on having the LPCOpen board and chip projects built within the same workspace. To me this is the real head scratcher. Shouldnt I be able to simply; #include <correct file>. Ive tried this many ways but it appears some compiled object from the chip/board projects is need by the ccan project.


Thanks
Wayne
0 件の賞賛
返信

1,186件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by 1234567890 on Thu Jun 11 09:00:00 MST 2015

Quote: waynosdias
What Im trying to accomplish is merge the ccan and uart examples into a single project. In the process I have effectively corrupted the filepaths and having difficulty getting back on track.



Create a new project with the wizard. Then just copy the files you need into the src folder of your new project. Then refresh the project (I think it is 'F5') and the files are accessible.
One advantage is that you keep original example files.
0 件の賞賛
返信