progettazione nell'ambiente lpcxpresso -...
TRANSCRIPT
Progettazione nell'ambiente LPCXpresso
Introduzione alla progettazione di sistemi embedded a microcontrollore
S. Salvatori - Microelettronica – febbraio 2016 – (1 di 80)
L'ambiente LPCXpresso
Ambiente per lo sviluppo dei progetti
2/80S. Salvatori - Microelettronica - febbraio 2016
Sommario
NXP
LPCware
LPCXpresso IDE
LPCXpresso evaluation boards
Consigli per gli acquisti
3/80S. Salvatori - Microelettronica - febbraio 2016
Longevity: NXP (già Philips)
http://www.nxp.com/techzones/microcontrollers-techzone/longevity.html
4/80S. Salvatori - Microelettronica - febbraio 2016
Longevity: Freescale (già Motorola)
http://www.freescale.com/webapp/sps/site/overview.jsp?code=PRDCT_LONGEVITY_HM
5/80S. Salvatori - Microelettronica - febbraio 2016
Parliamo di NXP
6/80S. Salvatori - Microelettronica - febbraio 2016
NXP
7/80S. Salvatori - Microelettronica - febbraio 2016
8/80S. Salvatori - Microelettronica - febbraio 2016
9/80S. Salvatori - Microelettronica - febbraio 2016
Leader per i microcontrollori basati su ARM
Stategia chiara: focalizzata su ARMStato dell'arte: tecnologia e architetturaFlessibilità nella progettazione con compatibilità sia pin-to-pin che nel software
memoria scalabileampia scelta di periferiche
Scelta su famiglie basate su diversi processori
10/80S. Salvatori - Microelettronica - febbraio 2016
Le soluzioni NXP
11/80S. Salvatori - Microelettronica - febbraio 2016
LPC portfolio
12/80S. Salvatori - Microelettronica - febbraio 2016
LPCware
13/80S. Salvatori - Microelettronica - febbraio 2016
LPCware: Forum
14/80S. Salvatori - Microelettronica - febbraio 2016
LPCware: Blogs
15/80S. Salvatori - Microelettronica - febbraio 2016
Sistemi di sviluppo
sezione software
16/80S. Salvatori - Microelettronica - febbraio 2016
Soluzioni per lo sviluppo
Toolchain di NXP (basso costo)
Toolchain on-line(sviluppo rapido)
Toolchain tradizionali(assistenza)
17/80S. Salvatori - Microelettronica - febbraio 2016
LPCXpresso IDE
Basato su Eclipse singola prospettiva per semplificare la stesurasupporta tutti i prodotti di NXPlimite di codice 256k (attuale)interfaccia per il debug basata su LPC3154
18/80S. Salvatori - Microelettronica - febbraio 2016
LPCXpresso IDE
Overview
The LPCXpresso IDE is a comprehensive, highly-integrated Eclipse-based IDE software development toolchain for NXP LPC microcontrollers based on Cortex-M, ARM7, and ARM9 cores. It features the industry-standard GNU toolchain with a proprietary, optimized C library based on the standard Newlib library, plus many enhancements to simplify development with NXP LPC microcontrollers. NXP is continually updating the LPCXpresso IDE to make sure the latest advances from ARM’s compiler development team and the Eclipse Foundation are available for your LPC projects. The LPCXpresso IDE also integrates an ever-growing set of specialist tools for developers to reduce development time, such as pin mux configuration and state configurable time (SCT) design tools.
19/80S. Salvatori - Microelettronica - febbraio 2016
What's New on LPCXpresso 7.9.0
● Initial support for Windows 10
● Upgraded GNU tools to ARM launchpad GCC 4.9 update 2
● New Generic SPIFI flash driver mechanism, which will autoconfigure based on SPIFI device detected in target system
● Enhanced managed linker script template mechanism
● Support for generating LPC MCU vector table checksums directly in the image, using the startup file and linker script
● "Active Config" is now the default for the indexer
● Fixes to Multicore projects
● Fixed an issue that was preventing MTB trace with LPC82x parts
● Extended CMSIS-DAP JTAG support (for Cortex-M parts) to include Keil ULINK2/ULINK-ME probes
20/80S. Salvatori - Microelettronica - febbraio 2016
Features
21/80S. Salvatori - Microelettronica - febbraio 2016
Features: Red Trace
22/80S. Salvatori - Microelettronica - febbraio 2016
e...
23/80S. Salvatori - Microelettronica - febbraio 2016
Versioni disponibili
24/80S. Salvatori - Microelettronica - febbraio 2016
https://www.lpcware.com/lpcxpresso
25/80S. Salvatori - Microelettronica - febbraio 2016
https://www.lpcware.com/lpcxpresso/download
26/80S. Salvatori - Microelettronica - febbraio 2016
https://www.lpcware.com/lpcxpresso/download
27/80S. Salvatori - Microelettronica - febbraio 2016
IDE: Integrated Development Interface
28/80S. Salvatori - Microelettronica - febbraio 2016
Peripheral Window
29/80S. Salvatori - Microelettronica - febbraio 2016
Ambiente di sviluppo:
Sezione hardware
30/80S. Salvatori - Microelettronica - febbraio 2016
Schede di sviluppo
31/80S. Salvatori - Microelettronica - febbraio 2016
Caratteristiche
32/80S. Salvatori - Microelettronica - febbraio 2016
NXP LPCXpresso Development boards
33/80S. Salvatori - Microelettronica - febbraio 2016
NXP LPCXpresso Development boards
34/80S. Salvatori - Microelettronica - febbraio 2016
NXP LPCXpresso Development boards
35/80S. Salvatori - Microelettronica - febbraio 2016
LPCXpresso board
36/80S. Salvatori - Microelettronica - febbraio 2016
Sviluppo di un progetto
Stadi di sviluppo con LPCXpresso:
37/80S. Salvatori - Microelettronica - febbraio 2016
NXP LPCXpresso Development boards
The latest generation of LPCXpresso boards are an evolution of the V2 version, maintaining the Arduino UNO compatible shield connectors on the board top side, and adding additional rows of expansion connectors adjacent to them. As with V2 boards, they include an onboard LPC-Link2 based debug probe, compatible with the LPCXpresso IDE out-of-the-box, and with other toolchains via optional firmware, including ARM CMSIS-DAP. These boards can also be configured to act as a standalone probe to allowing debugging of an external board, and the 10-pin debug connector also allows debugging of target MCU via an external probe.
38/80S. Salvatori - Microelettronica - febbraio 2016
NXP LPCXpresso Development boards
LPCXpresso V2 boards build upon the original and highly successful V1 design. These boards provide "Arduino UNO" compatible shield connectors on the board top side, as well as a ‘standard LPCXpresso/mbed’ expansion connector (board bottom side). They also include an onboard LPC-Link2 based debug probe, compatible with the LPCXpresso IDE out-of-the-box, and with other toolchains via optional firmware, including ARM CMSIS-DAP. These boards can also be configured to act as a standalone probe to allowing debugging of an external board, and the 10-pin debug connector also allows debugging of target MCU via an external probe.
39/80S. Salvatori - Microelettronica - febbraio 2016
NXP LPCXpresso Development boards
Designed to provide a flexible hardware platform for low-end LPC MCUs, the LPCXpresso MAX boards comes pre-programmed for mbed compatibility. They also include an onboard CMSIS-DAP based debug probe for compatibility with a wide range of toolchains, and can also be used with an external probe. These boards provide "Arduino UNO" compatible shield connectors on the board top side, as well as a ‘standard LPCXpresso/mbed’ expansion connector (board bottom side).
40/80S. Salvatori - Microelettronica - febbraio 2016
NXP LPCXpresso Development boards
Designed to replace the original LPCXpresso board, this CMSIS-DAP (or CD) version replaces the original on-board debug probe called "LPC-Link" with a CMSIS-DAP probe implemented using an LPC11U3x MCU. The board still seamlessly connects the LPCXpresso IDE (version 7.9 onwards required) to the target MCU via full speed USB. The target includes a small prototyping area and easily accessible connections for expansion. An RGB LED is fitted as standard, as are reset and ISP buttons for easier operation. Other features (such as peripheral connectors) are dependent on the variant used.
41/80S. Salvatori - Microelettronica - febbraio 2016
NXP LPCXpresso Development boards
Due to the debug probe (MCU) no longer being available, most original LPCXpresso boards featuring the LPC-Link debug probe are being replaced with LPCXpresso CD, LPCXpresso MAX type boards (with CMSIS-DAP debug probes). For other MCUs alternative boards are recommended
Since first introduced in 2009, the original LPCXpresso family of boards, along with the associated LPCXpresso IDE, has reenergised the whole MCU evaluation board market. Each LPCXpresso board includes an on-board debug probe called "LPC-Link" and a target MCU. LPC-Link seamlessly connects the LPCXpresso IDE to the target MCU via USB, and can also be modified to allow debugging of an external board. The target includes a small prototyping area and easily accessible connections for expansion. An LED is also fitted as standard, with some board variants having additional fittings such as an RGB LED, potentiometer or USB device connector.
42/80S. Salvatori - Microelettronica - febbraio 2016
NXP LPCXpresso Development boards
LPC-Link 2 is an extensible, stand-alone debug probe that is compatible out of the box with the LPCXpresso IDE. It can also be configured to support various development tools and IDEs using a number of different downloadable firmware images, include CMSIS-DAP and Seggar J-Link. It can also be used as an evaluation board in its own right for the NXP LPC4370 triple core MCU.
43/80S. Salvatori - Microelettronica - febbraio 2016
NXP LPCXpresso Development boards
LPCXpresso MAX, V2 and V3 boards feature Arduino UNO R3 compatible expansion connectors, so can be used with a range of third party Arduino shield (check individual LPCXpresso boards for compatibility). V3 boards have extended expansion sites that add several more signals for interfaces such as Ethernet, CAN and SDIO, along with extra UART, I2C and SPI connectivity.
Current products:
LPC General Purpose Shield (OM13082)
Sensor Shield Board (only available as part of the LPC54102 Sensor Processing/Motion Solution OM13078)
44/80S. Salvatori - Microelettronica - febbraio 2016
NXP LPCXpresso Development boards
Example Code - LPCOpen
An integral part of the LPCXpresso platform is the driver and example code that we provide => LPCOpen. Packages for the various LPCXpresso boards can be downloaded, suitable for use out of the box with Keil, IAR and our own LPCXpresso IDE.
http://www.lpcware.com/lpcopen
45/80S. Salvatori - Microelettronica - febbraio 2016
Social-media per uC LPC
46/80S. Salvatori - Microelettronica - febbraio 2016
Panoramica per
cominciare a lavorare
47/80S. Salvatori - Microelettronica - febbraio 2016
Dove cominciare
Microcontrollori con ARM
LPC Zone
LPCXpresso
48/80S. Salvatori - Microelettronica - febbraio 2016
LPCXpresso
Video dipresentazione
http://www.nxp.com/techzones/microcontrollers-techzone/tools-ecosystem/lpcxpresso.html
49/80S. Salvatori - Microelettronica - febbraio 2016
LPCXpresso download
http://www.lpcware.com/lpcxpresso/download
50/80S. Salvatori - Microelettronica - febbraio 2016
LPCXpresso User Guide
http://www.lpcware.com/lpcxpresso/download
51/80S. Salvatori - Microelettronica - febbraio 2016
“Consigli per gli acquisti”
52/80S. Salvatori - Microelettronica - febbraio 2016
LPCXpresso: LPC1769 (Cortex-M3)
http://www.lpcware.com/LPCXpressoCDBoards
53/80S. Salvatori - Microelettronica - febbraio 2016
LPCXpresso: LPC1769 (Cortex-M3)
54/80S. Salvatori - Microelettronica - febbraio 2016
LPCXpresso: LPC1769 (Cortex-M3)
55/80S. Salvatori - Microelettronica - febbraio 2016
LPCXpresso: LPC1769 (Cortex-M3)
56/80S. Salvatori - Microelettronica - febbraio 2016
LPCXpresso: LPC1769 (Cortex-M3)
57/80S. Salvatori - Microelettronica - febbraio 2016
LPCXpresso: LPC1769 (Cortex-M3)
58/80S. Salvatori - Microelettronica - febbraio 2016
LPCXpresso: LPC1769 (Cortex-M3)
59/80S. Salvatori - Microelettronica - febbraio 2016
Altro materiale necessario (dettaglio più avanti)
Cavo USB (alimentazione e JTAG)basetta sperimentaleconnettore da saldare sulla board3x1.5 V + “case”componenti vari ...
60/80S. Salvatori - Microelettronica - febbraio 2016
LPCXpresso: Experiment Kit
61/80S. Salvatori - Microelettronica - febbraio 2016
LPCXpresso: Experiment Kit
62/80S. Salvatori - Microelettronica - febbraio 2016
Materiale per le esercitazioni
63/80S. Salvatori - Microelettronica - febbraio 2016
Materiale per le esercitazioni
LPC1769 LPCXpresso / LPCXpresso1769 with CMSIS-DAP
+ 2 strip 27 pin
5 V ?
64/80S. Salvatori - Microelettronica - febbraio 2016
Materiale per le esercitazioni
LPC1769 LPCXpresso
saldare
65/80S. Salvatori - Microelettronica - febbraio 2016
Materiale per le esercitazioni
Cavo USB: spina USB 2.0 A, spina USB Mini B
Sia per alimentazione che debug
66/80S. Salvatori - Microelettronica - febbraio 2016
Materiale per le esercitazioni
Basetta per connessioni senza saldatura
più comoda
67/80S. Salvatori - Microelettronica - febbraio 2016
Materiale per le esercitazioni
Assortimento cavi
Assortimento jumperper breadboard
68/80S. Salvatori - Microelettronica - febbraio 2016
Materiale per le esercitazioni
Display a cristalli liquidi(2x16 caratteri)
Compatib. HD44780
+ strip per connessione
69/80S. Salvatori - Microelettronica - febbraio 2016
Materiale per le esercitazioni
LED
Switch comodi per breadboard
70/80S. Salvatori - Microelettronica - febbraio 2016
Materiale per le esercitazioni
Trimmer:
10 kΩ (per LCD)
2x 50 kΩ (per ing. ADC)
più comodo
scomodo
71/80S. Salvatori - Microelettronica - febbraio 2016
Materiale per le esercitazioni
Resistori vari:
1 kΩ (per LED)10 kΩ (pull up)
Condensatori:
100 nF
72/80S. Salvatori - Microelettronica - febbraio 2016
Materiale per le esercitazioni
Trasduttore di temperatura
LM35
Fotoresistore
73/80S. Salvatori - Microelettronica - febbraio 2016
Altro materiale
74/80S. Salvatori - Microelettronica - febbraio 2016
LPCXpresso: Experiment Kit (futuro)
75/80S. Salvatori - Microelettronica - febbraio 2016
LPC1114 (Cortex-M0) (futuro)
76/80S. Salvatori - Microelettronica - febbraio 2016
LPC810 (Cortex-M0) (futuro)
77/80S. Salvatori - Microelettronica - febbraio 2016
Compiti per casa
78/80S. Salvatori - Microelettronica - febbraio 2016
Per il prossimo futuro
Scaricare l'IDE LPCXpresso
Scaricare la User Guide
Installare LPCXpresso sul proprio PC e attivare la licenza
fare almeno una prova di compilazionedi un progetto d'esempio
http://www.lpcware.com/lpcxpresso/download
S. Salvatori - Microelettronica - febbraio 201679/80
Riferimenti
http://www.nxp.com/techzones/microcontrollers-techzone/ longevity.html
http://www.nxp.com/techzones/microcontrollers-techzone/tools- ecosystem/lpcxpresso.html
www.mbed.org
http://www.lpcnow.com/articles/343528/lpc812-max-experiment- overview/
...
S. Salvatori - Microelettronica - febbraio 201680/80
Grazie per l'attenzione …
All text and image content in this document is licensed under the Creative Commons Attribution-Share Alike 3.0 License (unless otherwise specified).
… domande?