[Black Gold power community] [bf531 experience board tutorial] Chapter 2 ms531 introduction (II)

Source: Internet
Author: User
ArticleDirectory
    • 1. Engineering Overview
    • Ii. Resource Introduction
    • Iii. SFL downloader

Heijin powerCommunity: Http://www.heijin.org

1. Engineering Overview

Even though bf531 is easy to use, many beginners are discouraged due to its expensive development tools (this chapter can be bypassed by rich people, haha ). The author took over a project last year and found a convenient and cheap bf531 development model. At this time, the project was born.

Ms531 is taken from the mini system bf531, that is, the minimum system of bf531. Although it is the smallest system, the system not only contains power management, large-capacity storage, but also contains a convenient and fast download device. The user only needs a piece of 9 ~ 24 v dc power supply, a USB cable for bf531 development, of course, you have to have a computer. Figure 2-1 is the diagram of the ms531 system.

Figure 2-1 system diagram

Ii. Resource Introduction

The ms531 system is positioned as "experience", so there is no redundant feature. However, to facilitate the experiment, most hardware resources are extended using jumpers. Board features:

    • Compact design, just a little bigger than business cards;
    • Independently designed Download System, USB interface plug-and-play, fast and efficient; provides PC-connected Data WritingProgramThe bf531 is automatically controlled during the burning and writing process, and the processor is automatically reset after the burning and writing is completed. It has USB connectivity and burning Indicator LED;
    • Green Power Supply: wide voltage (9 ~ 24 V) Input Switch Power Supply, high efficiency, no fever;
    • 32 Mbyte SDRAM, 2 m byteflash, with a clock speed of m, it is easy to experience high-speed and large-capacity storage;
    • Reserve 3.3 V power supply and earth extension for convenient experiment;
    • SPI interface extraction;
    • PPI interface extraction;
    • Pf0 ~ 11 interface introduction;
    • Sport0 and sport1 interface;
    • T0 ~ T2 timer pin extraction;
    • UART interface, you can connect to the computer through the conversion board. After uboot or uClinux is installed, it can be used as a terminal.
Iii. SFL downloader

The SFL (serial flash loader) download loader uses the ch341h USB to SPI interface chip as the main controller, and uses simple logic control to achieve the purpose of burning SPI flash. After the program is completed, the program can be executed immediately.

Sfl.exe icon :. It is a command line-based software developed by mingw32, a Windows porting version of GCC. The software supports functions such as full-chip erasure, file burning and writing, and specific sector burning and writing. If it is cumbersome, you can write a batch file to complete a series of operations. Of course, you can also integrate it into visual DSP ++ ide to achieve the goal of burning the file immediately after compilation. The software source code is clear and easy to understand and open-source. You can add supported chips on this basis.

Add the software sfl.exe and copy it to the D: root directory. We can operate it from the command line. Click Start-run and Enter cmd. EXE. The command line window is displayed.

Type D: And find SFL. EXE under drive D.

Enter SFL -- help to get some compilation date information and simple help of the software.

Enter SFL -- version to obtain the software version.

If you want to write a. LDR binary file generated by visual DSP ++, copy it to the D: disk root directory, and then type the following command.

The software prints out the IDs and file sizes of SPI Flash respectively. First, the slice is erased, and then written to the end before verification. The data is burned in three steps. The specific sector to be erased is determined by the starting sector and file size. You do not need to consider this issue.

If you need to download a Chinese character library to 20th sectors for Program Calling, we can use the following method:

If you want to erase all objects, perform this operation. It takes about 10 seconds to erase the entire chip. Of course, the time required for each chip is different.

Appendix:

Ms531 board pictures

Related Article

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.