LPC4088 Developer's Kit w/ LPCXpresso - BSP

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

LPC4088 Developer's Kit w/ LPCXpresso - BSP

1,410 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by paul.rcom-software.com on Sat May 24 07:10:40 MST 2014
What is the right BSP for LPC4088 Developers' kit  board and LPCXpresso and where can it be found ?

0 Kudos
Reply
7 Replies

1,354 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by lpcxpresso-support on Tue May 27 09:15:31 MST 2014
No. LPCOpen is a *library*. You link it with your application. Nothing is downloaded.

0 Kudos
Reply

1,354 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by paul.rcom-software.com on Tue May 27 08:17:50 MST 2014
Thank you for the code fix.

I read the quickstart guide and found nothing relating to a BSP.
It suggests, but does not clearly state, that building examples
and libraries automatically downloads the necessary BSP
infrastructure--even for projects which are not examples.

Is this correct ?

Best Regards,

Paul R.
0 Kudos
Reply

1,354 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by lpcxpresso-support on Tue May 27 00:24:33 MST 2014
The procedure for using LPCOpen with the supported toolchains (including LPCXpresso) is described in the LPCOpen Quickstart Guides:
http://www.lpcware.com/content/project/lpcopen-platform-nxp-lpc-microcontrollers/lpcopen-v200-quicks...



Quote:
../example/src/webserver_freertos.c:49:36: fatal error: arch\lpc17xx_40xx_emac.h: No such file or directory
#include "arch\lpc17xx_40xx_emac.h"
^
compilation terminated.
make: *** [example/src/webserver_freertos.o] Error 1



This is a typo in the source (since fixed). Change the directory separator from Windows to generic. i.e. replace "\" with a "/"
0 Kudos
Reply

1,354 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by paul.rcom-software.com on Mon May 26 15:32:31 MST 2014
I am little confused about the BSP scenario--especially the terminology.
My understanding is that a BSP provides a bootloader and OS compatible drivers
for the basic peripherals. I have previously downloaded, imported, and
built, all the projects from the following LPCOpen package:
(i.e. It looks like both Windows and Linux use the same package.)

http://www.lpcware.com/system/files/lpcopen_2_10_lpcxpresso_ea_devkit_4088.zip

Please excuse the redundancy but I think it is important to be clear
about my environment.

Board: LPC4088-32 Developer's Kit
Debug Module: LPC-Link2

LPCXpresso Software
-------------------
Linux: https://s3.amazonaws.com/LPCXpresso7/Installer_LPCXpresso_7.1.1_125_Linux-x86.tar.gz
Windows: https://s3.amazonaws.com/LPCXpresso7/LPCXpresso_7.2.0_153.exe

NOTE: FreeRtos_Blinky works in both environments.

The instructions in the LPCXpresso V7 users guide are far from clear.
However, the contain clues which enabled me to devise the following
partial BSP installation procedure.

These are the locations of the downloaded BSP packages on Linux and Windows
respectively--I think.

LINUX
------
/usr/local/lpcxpresso_7.1.1_125/lpcxpresso/Examples/NXP/LPC4000/LPC407x_8x/LPC407x_8x_Libraries.zip

WINDOWS
-------
C:\nxp\LPCXpresso_7.2.0_153\lpcxpresso\Examples\NXP\LPC4000\LPC407x_8x\LPC407x_8x_Libraries.zip

This is the procedure--as far as I know, for installing the BSP packages within
LPCXpresso.

* Start LPCXpresso

* Select "Import projects" and navigate to the BSP package.  At that point select
  OK to open the package and just use defaults as the GUI guides you through
  the import process.

* Rebuild all projects--optimally in debug mode.

At this point point the BSP package in LPCXpresso and configured correctly.
It is assumed one more step is needed to download the BSP package to
the board.

Is this correct ?


Also, the following is the only package that does not compile correctly
under Linux. I previously reported this problem and would like
to know how to correct it.

make all
Building file: ../example/src/webserver_freertos.c
Invoking: MCU C Compiler
...
../example/src/webserver_freertos.c:49:36: fatal error: arch\lpc17xx_40xx_emac.h: No such file or directory
#include "arch\lpc17xx_40xx_emac.h"
                                    ^
compilation terminated.
make: *** [example/src/webserver_freertos.o] Error 1

0 Kudos
Reply

1,354 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by lpcxpresso-support on Sat May 24 12:44:59 MST 2014
Download it and see. Also read the docs on what lpcopen is. I am certain it is what you are looking for, it is just not called a bsp.
0 Kudos
Reply

1,354 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by paul.rcom-software.com on Sat May 24 11:44:14 MST 2014
I don't see any BSP(s) or related information at the specified link.
Could you please clarify ?

Best Regards,

Paul R
0 Kudos
Reply

1,354 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by lpcxpresso-support on Sat May 24 08:57:31 MST 2014
LPCOpen:
http://www.lpcware.com/content/nxpfile/lpcopen-software-development-platform-lpc40xx-packages
0 Kudos
Reply