# F1C200S **Repository Path**: dmcus/F1C200S ## Basic Information - **Project Name**: F1C200S - **Description**: f1c200s ,直接flash 运行 裸机程序。实现的例子: rt-thread 4.1.0 Bootloader GPIO SPI TIME DISPLAY UART I2C(TWI) 软件IO 模拟和硬件模式 LVGL8 LVGL9 SD_CARD FatFs SPI_FLASH(W25Q128) GT911触摸 nes模拟器 infones vnes USB-CDC ... - **Primary Language**: C - **License**: GPL-3.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 12 - **Forks**: 7 - **Created**: 2024-09-11 - **Last Updated**: 2025-09-01 ## Categories & Tags **Categories**: Uncategorized **Tags**: F1C200s ## README #### 1.介绍 --- f1c200s ,烧录到 spinor flash, DRAM 中运行 裸机程序。 编译环境:win11 xfle1.3.2 arm-none-eabi-gcc10.3 `git clone https://gitee.com/dmcus/F1C200S.git` --- #### 2.目录结构 ``` doc ------文档和原理图 使用LCPI F1C200S 开发板 集成CH340E -> UART1 sources ---源码 |bootloader -----SPL 烧录FLASH 0,log 使用 UART1 |drivers---------f1c200s驱动 |fc200s_brom ----sram运行的独立程序 烧录FLASH 0 支持串口 |examples--------peripherals examples 外设样例,裸机程序 使用LCPI F1C200S 开发板 |mksunxi --------.bin文件添加校验头工具 |rtt-------------rt-thread 烧录到FLASH 0X10000 log 使用 UART1 tools -----make 工具 添加到环境变量 ``` --- #### 3.tools 添加到环境变量 arm-none-eabi-gcc 需要带libc_nano.a,有的版本没有这个库 ###### 1\. [xfle_1.3.2](https://github.com/xboot/xfel/releases/download/v1.3.2/xfel-windows-v1.3.2.7z) - drivers子目录 zadig-2.8安装winusb驱动 - 连接usb,按下fel和reset,先松开reset,在松开fel,进入fel烧录模式。 ``` xfel version AWUSBFEX ID=0x00166300(F1C100S/F1C200S/F1C500S) ``` ###### 2\. [arm-none-eabi-gcc-10.3.1](https://developer.arm.com/-/media/Files/downloads/gnu-rm/10.3-2021.10/gcc-arm-none-eabi-10.3-2021.10-win32.exe?rev=29bb46cfa0434fbda93abb33c1d480e6&hash=3C58D05EA5D32EF127B9E4D13B3244D26188713C) ###### 3\. [winhost mingw64 gcc-11.2](http://mirrors.zju.edu.cn/qt/development_releases/prebuilt/mingw_64/MinGW-w64-x86_64-11.2.0-release-posix-seh-rt_v9-rev1.7z) --- #### 4.编译 && 烧录 - 连接usb,按下fel和reset,先松开reset,在松开fel,进入fel烧录模式。 * 首先 bootloader 编译下载到SRAM 用于把FLASH 0X1000内容拷贝到SDRAM中运行 ``` cd sources/bootloader make all make download ``` * rtthread 编译下载 ``` cd sources/rtt make all make download ``` * i2c uart gpio gt911 lvgl ... 编译下载 ``` cd sources/examples/uart make all make download ``` --- #### 5.F1C100S/F1C200S参考集合 * [LC-PI-200S Board CherryPi](http://wiki.lcmaker.com/index.php?title=LC-PI-200S) * [F1C100s_projects 底层库和bootloader](https://github.com/nminaylov/F1C100s_projects.git) * [BROM_SRAM_RUN](https://gitee.com/cai_xl/F1C100S_examples) * [B站介绍](https://www.bilibili.com/read/cv9477324/) * [Whycan](https://whycan.com/) * [wmt_f1c_study](https://github.com/weimingtom/wmt_f1c_study) * [f1c200s_library](https://gitee.com/lhdjply/f1c200s_library) * [sunxi Community](https://linux-sunxi.org/Main_Page) * [CherryUSB](https://github.com/cherry-embedded/CherryUSB) * [FatFs](http://elm-chan.org/fsw/ff/00index_e.html) * [NES with RTT](https://github.com/VeiLiang/BoloRTT.git) ---