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
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:
COMPort parameters installation USB-to-UART parameter settings in device manager
Configure the parameters of the serial port RTS and DTR ports to enable the ISP_EN and RESET pins
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
The settings in setting are as follows
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:
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.
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
- Popular Resources
- Popular amplifiers
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- Innolux's intelligent steer-by-wire solution makes cars smarter and safer
- 8051 MCU - Parity Check
- How to efficiently balance the sensitivity of tactile sensing interfaces
- What should I do if the servo motor shakes? What causes the servo motor to shake quickly?
- 【Brushless Motor】Analysis of three-phase BLDC motor and sharing of two popular development boards
- Midea Industrial Technology's subsidiaries Clou Electronics and Hekang New Energy jointly appeared at the Munich Battery Energy Storage Exhibition and Solar Energy Exhibition
- Guoxin Sichen | Application of ferroelectric memory PB85RS2MC in power battery management, with a capacity of 2M
- Analysis of common faults of frequency converter
- In a head-on competition with Qualcomm, what kind of cockpit products has Intel come up with?
- Dalian Rongke's all-vanadium liquid flow battery energy storage equipment industrialization project has entered the sprint stage before production
- Allegro MicroSystems Introduces Advanced Magnetic and Inductive Position Sensing Solutions at Electronica 2024
- Car key in the left hand, liveness detection radar in the right hand, UWB is imperative for cars!
- After a decade of rapid development, domestic CIS has entered the market
- Aegis Dagger Battery + Thor EM-i Super Hybrid, Geely New Energy has thrown out two "king bombs"
- A brief discussion on functional safety - fault, error, and failure
- In the smart car 2.0 cycle, these core industry chains are facing major opportunities!
- The United States and Japan are developing new batteries. CATL faces challenges? How should China's new energy battery industry respond?
- Murata launches high-precision 6-axis inertial sensor for automobiles
- Ford patents pre-charge alarm to help save costs and respond to emergencies
- New real-time microcontroller system from Texas Instruments enables smarter processing in automotive and industrial applications
- EEWORLD University - SimpleLink Wi-Fi CC3120 Project Introduction
- How to communicate between ARM and DSP (non-multi-core SOC)
- OC5501-OC5502-LED automotive high and low beam solutions (no diode design, applied to automotive lights, MR16, architectural lighting)
- Share: About the working principle of fast charging
- Xiaomi 22.5W 10000 mAh fast charging power bank disassembly
- I would like to ask you guys, do I need to draw PCB in electronic competitions?
- How to configure random generation of parameters (Get request with parameters) when using jmeter tool for interface stress testing?
- There are BUGs in smart meters. What do you think?
- View circuit - load switch
- stm32f407 driver enc28j60