Cortex-M3 (NXP LPC1788) development environment construction

Publisher:幸福时刻Latest update time:2016-05-26 Source: eefocusKeywords:Cortex-M3  NXP  LPC1788 Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere
1. Introduction to the development environment

         Recently, I was fortunate enough to get a development board OM13001 from an NXP agent. This development board uses the NXP LPC1788 processor and has the following main features:

  • Data Memory: 32 MB SDRAM + 96 KB internal
  • Ethernet: 100/10M Ethernet interface based on SMSC LAN8720 Ethernet PHY
  • Clock Crystals: 12.000 MHz crystal for CPU, 32.768 kHz crystal for RTC
  • Connectors: 200 pos expansion connector (SODIMM standard), 0.6 mm pitch
  • Other: 256 Kbit I2C E2PROM for storing
  • Program Flash: 128 MB NAND FLASH + 512 kB internal

         For more information, please refer to the official website http://www.cn.nxp.com/demoboard/OM13001.html

                                                                                                                                 

 2

         As for software, I have a KEIL ULINK2, so I decided to use KeiluVision4 integrated development environment. I used ULINK2 for online debugging.

2. ISP download environment construction

         The development board is powered by a USB cable. According to the user manual, the ISP download test is performed first. First, the USB-to-UART conversion driver is installed. The UART0 on the board is connected to the USB through the conversion chip and connected to a virtual serial port on the PC. The information printed by printf() in the program can be displayed through this virtual serial port.

         Secondly, download FlashMagic burning tool. For LPC1788, during reset, set the P2.10 pin of LPC1788 to low level, which can start the bootloader in ROM and enter ISP download mode to download the program through UART0 of the development board. With FlashMagic software, after the jumper J20 on the development board is connected, USB-to-UART can automatically send a signal to control entering ISP mode. To do this, we need to configure FlashMgaic. The configuration is as follows:

 Flash Magic 1

COMPort parameters installation USB-to-UART parameter settings in device manager

Flash Magic 2                                                                                                   

 Configure the parameters of the serial port RTS and DTR ports to enable the ISP_EN and RESET pins                                                                                                      

 Flash Magic 3

 

 

3. KeiluVision4 + KEIL ULINK2 debugging environment construction

         Use the examples that come with the development board to debug and test. The old version of Keil uVision4 may not support the LPC177X/8X chip, so the MDK is updated. The LPC1788 chip support appears in DEVICE.

As shown below       

  Keil uVision4 Device                                              

 Keil uVision4 Debug                         

         The settings in setting are as follows

 Keil uVision4 Debug-setting                                         

         The software settings only need to be as above. ULINK2 uses the new version of the 10PIN JTAG port for connection, and its schematic diagram is as follows:

     JTAG                                                          

IV. Conclusion

         At this point, the development environment is complete. At first, I couldn't find the jtag device in the debug using keil. The reason was that the software version was too low. After updating MDK, the device could be recognized. Next, I started to learn about the various peripherals on the development board by module.

 

Keywords:Cortex-M3  NXP  LPC1788 Reference address:Cortex-M3 (NXP LPC1788) development environment construction

Previous article:Cortex-M3 (NXP LPC1788) startup code analysis
Next article:A concise manual on using Doxygen based on STM32

Recommended ReadingLatest update time:2024-11-16 23:54

NXP launches secure precision ranging chip to help the next generation of UWB-enabled mobile terminals
News Highlights: ● The world’s first all-in-one solution that combines secure element (SE), near field communication (NFC) and ultra-wideband (UWB) precision ranging technology ● Achieve excellent precision sensing capabilities including 360° positioning ● Leverage NXP’s leading end-to-end security architecture to
[Internet of Things]
NXP launches secure precision ranging chip to help the next generation of UWB-enabled mobile terminals
NXP launches EdgeVerse, a fully secure platform for edge computing
NXP has announced the launch of EdgeVerse, a product portfolio targeting edge computing. The EdgeVerse platform includes the company's scalable embedded processors, security, software and turnkey solutions. NXP has also launched the EdgeLock™ security brand (part of the EdgeVerse platform) to complement its wide ran
[Embedded]
MediaTek filed an application, and the US ITC launched a 337 investigation against 10 companies including NXP
According to the China Trade Relief Information Network, on July 21, the U.S. International Trade Commission (ITC) voted to launch a 337 investigation into certain integrated circuits and their downstream products. It is reported that on June 21, MediaTek Inc. of Taiwan and MediaTek USA Inc. of San Jose, California
[Semiconductor design/manufacturing]
Wind River provides software support for NXP's high-performance vehicle network processors
Wind River®, a leading provider of software for the intelligent edge, today announced software support for the latest NXP® S32G processors, which combine hardware security, ASIL D safety, high-performance processing, and network acceleration for service-oriented gateways, domain controllers, and safety coprocessors.
[Automotive Electronics]
Automotive PEPS system solution based on NXP products
On July 20, 2022, WPG Holdings, a leading semiconductor component distributor dedicated to the Asia Pacific market , announced Its subsidiary, World Peace, has launched a low-cost keyless entry and start (PEPS) solution based on NXP 's PCF7991, S32K144, NCK2910 and NCF29A1 chips. Figure 1- A display board of
[Automotive Electronics]
Automotive PEPS system solution based on NXP products
NXP's new S32K3 MCU addresses cost and complexity of automotive software development
NXP Semiconductors NV (NASDAQ: NXPI) today announced the launch of the S32K3 microcontroller (MCU) family, the latest in the S32K product line. The S32K1 family released in 2017 was an important turning point, emphasizing the central role of software in automotive development. The new S32K3 family is specifically desi
[Automotive Electronics]
NXP's new S32K3 MCU addresses cost and complexity of automotive software development
NXP launches complete radar sensor solution to provide 360-degree safety barrier for cars
According to foreign media reports, automotive radar leader NXP Semiconductors has announced the launch of a complete automotive sensor chipset solution that can wrap the car in a 360-degree safety barrier and enable imaging radar to perform recognition and classification functions. The solution, which includes the
[Automotive Electronics]
NXP launches complete radar sensor solution to provide 360-degree safety barrier for cars
NXP releases third quarter 2024 financial report, automotive continues to exceed expectations
On November 4, 2024, NXP Semiconductors NV (NXPI) today released its third-quarter financial results as of September 29, 2024. Despite the slowdown in the macroeconomic environment and demand in some markets, NXP still demonstrated strong profitability, especially in the communication infrastructure, mobile and auto
[Semiconductor design/manufacturing]
Latest Microcontroller Articles
  • Download from the Internet--ARM Getting Started Notes
    A brief introduction: From today on, the ARM notebook of the rookie is open, and it can be regarded as a place to store these notes. Why publish it? Maybe you are interested in it. In fact, the reason for these notes is ...
  • Learn ARM development(22)
    Turning off and on interrupts Interrupts are an efficient dialogue mechanism, but sometimes you don't want to interrupt the program while it is running. For example, when you are printing something, the program suddenly interrupts and another ...
  • Learn ARM development(21)
    First, declare the task pointer, because it will be used later. Task pointer volatile TASK_TCB* volatile g_pCurrentTask = NULL;volatile TASK_TCB* vol ...
  • Learn ARM development(20)
    With the previous Tick interrupt, the basic task switching conditions are ready. However, this "easterly" is also difficult to understand. Only through continuous practice can we understand it. ...
  • Learn ARM development(19)
    After many days of hard work, I finally got the interrupt working. But in order to allow RTOS to use timer interrupts, what kind of interrupts can be implemented in S3C44B0? There are two methods in S3C44B0. ...
  • Learn ARM development(14)
  • Learn ARM development(15)
  • Learn ARM development(16)
  • Learn ARM development(17)
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号