wiki:TBR/BSP/Lpc176x

Version 4 (modified by Martin.boretto, on 06/04/14 at 18:33:10) (diff)

/* Test Reports */

Lpc176x

{{Infobox BSP |BSP_name = LPC1768 |Manufacturer = NXP |image = Lpc176x.png |caption = LPC1768 board |Board_URL = https://mbed.org/platforms/mbed-LPC1768/ |Dimensions = 44 x 26 mm |Architecture = ARM Cortex-M3 |CPU_model = NXP's Cortex-M0 LPC1768 microcontroller |Power = Powered by USB or 4.5v - 9.0v appiled to VIN |Aliases = Various |RAM = 32 Kb SDRAM + 32 KB internal |NVMEM = 512Kb Flash |Serial = 3 x I2C, 2 x I2S, 4 x UARTs, 2 x SPI/SSP, 6 x PWM, 10 x I/O pins |NICs = 10/100 Ethernet |Other = USB 2.0 full-speed OTG/Device/ OHCI plus PHY and DMA }}

Overview

The mbed Microcontrollers are a series of ARM microcontroller development boards designed for rapid prototyping. The mbed NXP LPC1768 Microcontroller in particular is designed for prototyping all sorts of devices, especially those including Ethernet, USB, and the flexibility of lots of peripheral interfaces and FLASH memory. It is packaged as a small DIP form-factor for prototyping with through-hole PCBs, stripboard and breadboard, and includes a built-in USB FLASH programmer.

It is based on the NXP LPC1768, with a 32-bit ARM Cortex-M3 core running at 96MHz. It includes 512KB FLASH, 32KB RAM and lots of interfaces including built-in Ethernet, USB Host and Device, CAN, SPI, I2C, ADC, DAC, PWM and other I/O interfaces. The pinout above shows the commonly used interfaces and their locations. Note that all the numbered pins (p5-p30) can also be used as DigitalIn? and DigitalOut? interfaces.

The mbed Microcontrollers provide experienced embedded developers a powerful and productive platform for building proof-of-concepts. For developers new to 32-bit microcontrollers, mbed provides an accessible prototyping solution to get projects built with the backing of libraries, resources and support shared in the mbed community.

center?

Features

  • NXP LPC1768 MCU:
  • High performance ARM® Cortex™-M3 Core.
  • 96MHz, 32KB RAM, 512KB FLASH.
  • Ethernet, USB Host/Device?, 2xSPI, 2xI2C, 3xUART, CAN, 6xPWM, 6xADC, GPIO.
  • Prototyping form-factor:
  • 40-pin 0.1" pitch DIP package, 54x26mm.
  • 5V USB or 4.5-9V supply.
  • Built-in USB drag 'n' drop FLASH programmer.
  • mbed.org Developer Website:
  • Lightweight Online Compiler.
  • High level C/C++ SDK.
  • Cookbook of published libraries and projects.

The mbed NXP LPC1768 is one of a range of mbed Microcontrollers packaged as a small 40-pin DIP, 0.1-inch pitch form-factor making it convenient for prototyping with solderless breadboard, stripboard, and through-hole PCBs. It includes a built-in USB programming interface that is as simple as using a USB Flash Drive. Plug it in, drop on an ARM program binary, and its up and running!

center?

Execution

Use the obj-copy command to generate the binary needed to run the application in the board. For example (consider the hello example):

user@user:~/LPCDIR/arm-rtems4.11/c/lpc1768_mbed/testsuites/samples/hello$ arm-rtems4.11-objcopy -O binary hello.exe yourname.bin

The "yourname.bin" file will be copy and paste into the board to run the application.

Debugging

Debugging from GDB using pyOCD.

Test Reports

File:Timing-tests.txt?

References