Raw project with an LPC4337

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Raw project with an LPC4337

435 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by funkyguy4000 on Sat Jul 12 17:10:45 MST 2014
Hello,

I would like to make a project for the LPC4337 using either Keil4 or LPCxpresso, although I just can't figure it out. 
There is so much overhead for the LPCxpresso that I can't even build a simple project once I've included the chip header and there seems to be no help with making a dual core project with Keil.

Does anybody have any help on this or should I just move on to a Vybrid controller from freescale which would be complete overkill for my application.
Labels (1)
0 Kudos
5 Replies

382 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by rocketdawg on Tue Jul 22 10:01:09 MST 2014
I would look at the board vendors web page.
I have use a Bambino 200 and the vendor supplied all the specific files in a project that was easily imported.
perhaps your vendor has done this as well
0 Kudos

382 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by funkyguy4000 on Sun Jul 20 20:29:25 MST 2014
Thanks for your reply

I watched the "Rapid Embedded Development" video although it didn't explain how to create a project from scratch in enough detail for me to be able to do it with the LPC4337.  I've been studying this document here

http://www.lpcware.com/content/faq/what-include-paths-library-paths-and-sources-files-do-i-need-lpco...

Although I can't find the chip layer header files on my computer and since I'm using a board that isn't from an NXP partner, there isn't a package on the LPCopen page.

With the freescale chips I've work with, all I have to include the CMSIS chip header file from Keil, the startup.h and startup.c as well as the system.S files (or something like that).  It was very simple.
I understand that some of the files for LPCxpresso tie into the development environment but I really need this to be explained as simply as possible because I'm just not getting something.
0 Kudos

382 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by lpcxpresso-support on Thu Jul 17 00:52:00 MST 2014
We consider our forums an important part of our customer service from both the LPCXpresso and MCU angles - so thank you for your comments.

Anyway, you should note that the subsiduary files like the chip.h are provided by library projects that you need to import into your workspace. I suggest that you take a look at the LPCXpresso User Guide (on the "Help" menu) which goes through the project creation process, as well as watch the "Rapid Embedded Development" video available from:

http://www.lpcware.com/lpcxpresso

The recommend libraries/example code is provided through our "LPCOpen" product, which can be found at:

http://www.lpcware.com/lpcopen

Also note that the startup files created by LPCXpresso are tailored to both our environment and also the target MCU - they are not Cortex generic files. There is some more info on these at:

http://www.lpcware.com/content/faq/lpcxpresso/startup-code-interrupt-handlers


I cannot comment on your uLINK2 legitimacy. However we do test LPCXpresso with real uLINK2 units. To use uLINk2 though, your unit will need to have had CMSIS-DAP firmware installed in it (by the Keil tools). You should then see the following FAQs for more details on using CMSIS-DAP with LPCXpresso…

http://www.lpcware.com/content/faq/lpcxpresso/cmsis-dap-support

Note in particular the comment about JTAG. You will need to ensure that you switch to SWD for connecting to your LPC43xx part…

http://www.lpcware.com/content/faq/lpcxpresso/cmsis-dap-redlinkapi-unsupported-settings

Regards,
LPCXpresso Support
0 Kudos

382 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by funkyguy4000 on Wed Jul 16 12:13:56 MST 2014
Hello,

Thank you for your response, I'm quite surprised that I received such a full response considering most other semiconductor company forums, there is nobody on.

The overhead I'm referring to is all the files that are created along with the project.  Not the startup and system code files, those are for every ARM processor.  While building a simple project, not only was the chip header file not included for the specified chip, but I also couldn't build the project after I'd included it and renamed it as something else, a problem not present in Keil4.  There was some other file that depended on it being named "chip.h", a file that I don't see as necessary. 

I'm not sure which version specifically but I downloaded it about a little over a month ago.  I'm using a ULINK2 debug probe, although I got it from china for like $30 so I doubt its legitimate, but it enumerated as a LINK2 in keil and keil updated its firmware so hopefully that actually works, but I haven't gotten to that point yet.  My board is also from china, it is this one.  I can post a build log tonight when I get home.
0 Kudos

382 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by lpcxpresso-support on Mon Jul 14 03:38:18 MST 2014

Quote: funkyguy4000

I would like to make a project for the LPC4337 using either Keil4 or LPCxpresso, although I just can't figure it out. 
There is so much overhead for the LPCxpresso that I can't even build a simple project once I've included the chip header



So what overhead are you referring to? If you are getting stuck creating projects, then have you read the user manual (on the LPCXpresso Help menu) and FAQs:

http://www.lpcware.com/content/faq/lpcxpresso/lpc43xx-multicore-apps
http://www.lpcware.com/content/faq/lpcxpresso/lpc18-lpc43-support

If you tell us what exactly you did, what version of LPCxpresso you are using, what debug probe and board you have, and what problems you see - then I'm sure that someone will be able to give you a pointer as to what you have done wrong. [Post the build log if you are getting build errors -  http://www.lpcware.com/content/faq/lpcxpresso/build-console]

And for general LPCXpresso usage, you might also want to make sure you have viewed the "Rapid Embedded Development" video at http://www.lpcware.com/lpcxpresso

Regards,
LPCXpresso Support
0 Kudos