2181 views|1 replies

1662

Posts

0

Resources
The OP
 

Share: [Zhongke Blue News] AB32VG1 Review SDIO (File System) [Copy link]

 

The purpose of this example is to use this board to implement a file system, which will record everything from new construction to testing.

1. Create a new project
Based on the BSP of the AB32 Jiaolong development board, create a project. Before that, you need to download the latest source code of the development board SDK and RTT from the SDK manager.

2. RTT Studio configuration
2.1 Double-click the setting in the project manager and click More settings.

2.2 Under Hardware Options, enable sdcard.

3. Compile and download
3.1 Compile and configure
according to the above operations, save the configuration, rtt studio automatically configures and generates a new project, click Compile, _ an error will be reported at this time, which is mentioned in the precautions. _

3.2 Download
3.2.1 Download via Bluetrum's download tool, the download link is as follows:
(https://gitee.com/bluetrum/Downloader/blob/main/Downloader_v1.9.7.zip)

3.2.2 Download process

4. Test
Press the reset button, the SD card information will be displayed, enter help in msh to view the instructions, and the next step requires some file operation instructions.


Execute common file system instructions through msh to test whether the file system is mounted successfully. The file system is automatically mounted in the mnt.c file. The engineers of Bluexun have worked hard to do such details.

5. Notes
The compiler will report an error message about missing us delay. Comment it out at this time. The best way is to implement this delay function yourself.

The cp2102 driver needs to use the driver provided by the download tool.
The hardware needs to connect the jumper cap near the TF card and remove the jumper cap of the LED.

You don't need to write a lot of code to configure a file system using RTT Studio. Of course, the BSP engineers of Bluexun have already implemented the code for mounting the file system in the mnt.c file of the application. This mechanism is conducive to reducing the development time of developers and facilitating faster product launch. In addition, RTThread is a real-time operating system. In an environment with high real-time requirements, using RTThread has good advantages in development efficiency and real-time performance.

This post is from Domestic Chip Exchange

Latest reply

Thanks for sharing, looking forward to the follow-up!   Details Published on 2021-8-27 10:59
 
 

7422

Posts

2

Resources
2
 

Thanks for sharing, looking forward to the follow-up!

This post is from Domestic Chip Exchange
Personal signature

默认摸鱼,再摸鱼。2022、9、28

 
 
 

Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list