From 4dc6a6b8c5502de901f7f1f9c01ebd6db74d7ab9 Mon Sep 17 00:00:00 2001 From: Martin Loren <37680207+martinloren@users.noreply.github.com> Date: Mon, 6 Dec 2021 16:04:03 +0800 Subject: [PATCH] Update README.md --- README.md | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index 40a1211..d5ac5b2 100644 --- a/README.md +++ b/README.md @@ -8,41 +8,41 @@ Released specifically for the latest [AT32F403A MCU](https://www.arterychip.com/ ![MCU Comparison](Docs/MCU_Comparison.jpg "MCU Comparison") ## Instructions 说明 -1) Copy the folders under .platformio into your .platformio folder (ie: C:\Users\(username)\.platformio) +1) Copy the folders under .platformio into your .platformio folder (ie: C:\Users\(username)\.platformio)
将 .platformio 下的文件夹复制到您的 .platformio 文件夹中(即:C:\Users\(用户名)\.platformio) -3) Open Visual Studio Code, you should see AT32 Platform among the available platforms +3) Open Visual Studio Code, you should see AT32 Platform among the available platforms
打开 Visual Studio Code,在可用平台中应该可以看到 AT32 平台 -4) Open one of the example folder and try to compile / upload +4) Open one of the example folder and try to compile / upload
打开示例文件夹之一并尝试编译代码/上传到 MCU # Upload Firmware on MCU 上传固件 -Available upload methods: serial bootloader (PA9, PA10), dfu +Available upload methods: serial bootloader (PA9, PA10), dfu
可用的上传方法:串行引导加载程序(PA9、PA10)、dfu -1) Set it in the file platformio.ini in the project folder, complete configuration options as in example project *cmsis-blink* +1) Set it in the file platformio.ini in the project folder, complete configuration options as in example project *cmsis-blink*
设置在项目文件夹的platformio.ini文件中,完整的配置选项在示例项目*cmsis-blink*中 -2) Run the Upload +2) Run the Upload
运行上传 Notes 备注: -1) Serial bootloader speed seems to work up to 115200 (at higher speed it often doesn't work) +1) Serial bootloader speed seems to work up to 115200 (at higher speed it often doesn't work)
串行引导加载程序的速度似乎可以达到 115200(在更高的速度下通常不起作用) -2) Serial bootloader works only when USB port is disconnected (otherwise the MCU starts in DFU mode). So, in case you put this MCU on a Bluepill PCB, you need to power the MCU from 5V or 3V3 pin and not with USB cable. +2) Serial bootloader works only when USB port is disconnected (otherwise the MCU starts in DFU mode). So, in case you put this MCU on a Bluepill PCB, you need to power the MCU from 5V or 3V3 pin and not with USB cable.
串行引导加载程序仅在 USB 端口断开连接时工作(否则 MCU 以 DFU 模式启动)。 因此,如果您将此 MCU 放在 Bluepill PCB 上,则需要从 5V 或 3V3 引脚而不是 USB 电缆为 MCU 供电。 # Supported 支持 -- Hardware Floating point unit (FPU) +- Hardware Floating point unit (FPU)
硬件浮点单元 (FPU) -- C/C++ compilation +- C/C++ compilation
C/C++ 编译 # TO-DO List 待办事项清单 -- Add more examples (USB) +- Add more examples (USB)
增加更多示例 (USB) - Provide Bluepill board example? # AT32F403A on Bluepill PCB - 在 Bluepill PCB 上使用 AT32F403A You can replace the MCU on the Bluepill board with the AT32F403A. It is pin fully compatible. -Just need to replace BOOT0 resistor from the present value of 100K with the value of 10K. This will allow the MCU to enter in Bootloader mode and flash it via UART1. +Just need to replace BOOT0 resistor from the present value of 100K with the value of 10K. This will allow the MCU to enter in Bootloader mode and flash it via UART1.
你可以用 AT32F403A 替换 Bluepill 板上的 MCU。 它是引脚完全兼容的。 只需要将BOOT0电阻从现在的100K值换成10K的值即可。 这将允许 MCU 进入引导加载程序模式并通过 UART1 对其进行闪存。