Using the Nucleo-F401 as an example to develop an mbed Environment

Source: Internet
Author: User

The world's leading semiconductor supplier and the world's leading arm? Cortex? -STMicroelectronics (ST), a m microcontroller manufacturer, further strengthens the ease-of-use and design flexibility of the stm32 series microcontroller, and releases a cost-effective and easy-to-expand prototype development board for all stm32 products. Stm32 nucleus o perfectly integrates ease of use, flexibility, connection functions, and compatibility with mainstream tool resources. It is an ideal development platform for embedded developers today.

St has successively launched 12 nucleus o mbed kits, as shown in



The nulceo series Development Board suite is a new learning suite developed by St this year. Nucleus o is another style series board after Italian FA semiconductor joins the arm embed project. It has two distinctive features:

1. compatible with the Arduino uno R3 shield expansion board,

2. Support for ARM embed projects.

Some people may have questions about what is the arm embed project? Mbed is a prototype development platform for ARM cortex-M series Processors. It is mainly used to cultivate collaborative projects for IOT, including free software libraries (sdks ), the hardware reference design (hdk) and online tool (Web) provide users with simple, convenient, and convenient operations such as mcu development and debugging based on ARM cortex-M processor.

What is mbed?

Mbed is a prototype development platform for ARM processors. It includes three parts: free software library (SDK), hardware reference design (hdk), and online tool (Web, the specific sections are described as follows:

SDK: mbed designs a hardware abstraction layer to shield the differences between different MCU manufacturers in providing microservices. for users, he only needs to deal with this hardware abstraction layer, that is, applications developed based on mbed can easily replace the ARM microprocessor of different manufacturers, thus leaving users with more choices.

Hdk: hdk is a hardware reference design provided by mbed. It is designed for user development. Therefore, hdk provides a unified program upload interface, single-step debugging interface, and serial debugging interface, you can start software development without buying other hardware.

Web: to save the trouble of installing the development environment for users, mbed provides a complete browser-based software development environment, including coding, program compilation, version control, and other functions, developers can develop online, and download and save the compilation results to the mbed Development Board, which is very convenient.


Through the above instructions, we probably know about mbed.

Taking Nulceo-F401 as an example, to show you how to develop:

Development Environment:

Mbed,

Nulceo-F401 USB to mini Wire

Connect Nulceo-F401 mbed Development Board and PC via USB to Mini, install ST-LINK2 driver

ST-LINK2 driver click open link

After the driver is installed, win7 is used as an example.



At the same time, the PC will have an extra drive letter

Why is it like this? Sell a token.

After the hardware is ready, the next step is the software environment. We have been talking about mbed, so let's start developing the mbed environment.

Click to go to The mbed official website and click the open link.



Click

Register a new user. After the registration is complete, select login.



If this is the first time we enter the website, we need to select our target hardware and click platforms to see a lot of development boards. As shown in:


How can we find what we need? Select



We can see that all of them are St. Our target device is f401. Select st nulceo f401rb To Go To The following interface:


Arduino-compatible Headers

Morpho headers-giving access to all stm32 pins



The information on this page is all the information about the Nucleo-F401 Development Board. An intuitive graph.

Select Add your mbed Compiler




The following page is displayed:


Click Open mbed Compiler


After loading, enter the compiler interface, as shown in figure

Select instance

Click OK to edit the automatic import routine:


Select compile-"complie all


After compilation


After selecting the drive letter of the nucleus o, click Select folder as shown in, and then click OK. After completion, the compilation file will be automatically downloaded to the target board, which is amazing.

After the download is complete, the target board will be restarted automatically. Check the effect.

So far, wait for the next time to write other things.


If you like this development board, click:

Click Open Link

Using the Nucleo-F401 as an example to develop an mbed Environment

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.