Day 3rd-Solve the problem of missing files in SPI Flash

Source: Internet
Author: User

Board information (mini board)

Processor: STM32F103RCT6 @ 72Mhz

Memory: 48kb ram+256kb ROM

SD Card: Omb/omb

Flash Disk: 1268kb/4896kb

Operating system: UCOS IIV2.91

Graphical interface: Alientek GUI

Hardware platform: Alientek MiniSTM32 V3


Problem description

Font error message on boot, unable to start system


Solution (Linux host +windows virtual machine +USB download)

  1. The method of using virtual machine to allocate USB (note: If the serial port is assigned, there will be stm_writememory error, unable to download normally, the reason is unknown. )

    Configure VBox to identify USB devices, method source: http://xuantan.iteye.com/blog/1130808

    A. Download the VirtualBox 4.0.10 Oracle VM virtualbox Extension Pack package and install it on the Http://www.virtualbox.org/wiki/Downloads website.

    B. sudo/usr/sbin/usermod-g vboxusers-a ' logname ' #将当前用户添加到vboxusers用户组中

    C. cat/etc/group |grep vboxusers #查看vboxusers的ID, the results are similar to Vboxusers:x:108:diefrom, where 108 is the ID

    D. sudo vim/etc/fstab #编辑/etc/fstab file allows vboxusers to read and write permissions to Usbfs

    Add None/proc/bus/usb usbfs devgid=108,devmode=664 0 0 #这里108为第c步中查询的vboxusers ID at the end

  2. Configure the environment under Windows

    Mounting drive (with disc on board, no fatigue)

    Install xcom download software (with CD-ROM, no fatigue)

  3. Brush hex File, method source: http://www.openedv.com/posts/list/33966.htm

    A. Download http://www.openedv.com/posts/downloadAttach/6896.htm;jsessionid= Fa5933a0e10535a66b931d2d36c503f8 file and download it to the board using xcom

    B. Prepare the SD card and copy the files under the "SD Card root folder" in the Board CD to the SD card

    C. Insert the SD card into the board, brush the disc with the Board experiment 38-comprehensive experiment.



Day 3rd-Solve the problem of missing files in SPI Flash

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.