查看“讨论:STM32 Core: Module Specifications”的源代码
←
讨论:STM32 Core: Module Specifications
跳转至:
导航
、
搜索
因为以下原因,您没有权限编辑本页:
您所请求的操作仅限于该用户组的用户使用:
用户
您可以查看与复制此页面的源代码。
== What I've found out so far == * It uses the STM32F103CBT6 chip, as used on the Maple Mini (http://leaflabs.com/docs/hardware/maple-mini.html) * There are two buttons and an LED. The button on the board edge is a reset, the other button (between the reset button and the USB micro connector) is used to start the STM32's built-in ROM bootloader. * Normally, there's also Maple bootloader in the flash which lets you load programs using the USB DFU protocol. The Maple IDE will expect to use this. * The IDE can't automatically reset the Core to upload new sketches. You need to do the following: ** In the IDE, hit the 'upload' button, and watch the messages ** It will compile the sketch, then will wait on 'searching for DFU device' ** As soon as you see this, hit the reset button ** Hopefully, the IDE will see the USB DFU device when the bootloader runs briefly after reset. * If things get really screwed, you may need to reload the Maple bootloader. To do this: ** Plug a Microduino FT232 board onto the bottom of the core module ** Plug the FT232 board into your USB host, so it powers both boards and appears as a regular (FTDI) serial port e.g. COM6 ** Hold down the "ROM bootloader" button, press & release the reset button, then release the bootloader button. ** The STM32's ROM bootloader should now be running and awaiting instructions from the serial port. ** Get & install ST's Flash Loader app (http://www.st.com/web/en/catalog/tools/PF257525) to read and write the core's flash. * As far as I can tell, the Microduino Core's STM32F103 '''isn't wired up the same as the STM32F103 on Maple or Maple Mini''', meaning the D0-D13 pins (etc) won't work as intended in sketches if you've selected Maple or Maple Mini in the IDE 'Boards' menu. ** For instance, the on-board LED is wired to the Core's PA8 line - this comes out as digital pin 6 when using "Maple R3" settings, and pin 25 when using "Maple Mini" settings. ** Presumably there's a board support package somewhere with a '''boards.txt''' and settings for pin numbers which gets this working. I don't know where this is at the minute. Cheers IH 04:14, 28 November 2014 (CST) == Pinout table == This table was worked out by tracing out the STM32 pins using a multimeter, and is ''not'' based on any official schematic. It may, therefore, contain errors, so use at your own risk! Cheers IH
返回至
讨论:STM32 Core: Module Specifications
。
导航菜单
个人工具
创建账户
登录
名字空间
页面
讨论
变种
视图
阅读
查看源代码
查看历史
更多
搜索
Welcome
首页
创客大赛
大赛详情
3D打印
安装月球车
图形化编程
操控月球车
升级月球车
编程工具下载
软件下载
Arduino
Processing
Mixly
Scratch
模块套件
Microduino 102
mCookie 102
mCookie 202
mCookie 302
IBC
其他
应用套件
四轴飞行器
平衡车
小车CUBE
音乐播放器
刷卡音乐播放器
wifi气象站
彩虹音乐触摸灯
分贝检测仪
迎门汇报
LED点阵时钟
LED点阵屏幕
硬件
mCookie
Sensor
Microduino
MicroWrt
MicroNux
MicroRobot-Core
MicroRobot-CoreESP
ideaBoard
ideaBox
MicroMV
MicroAI
帮助
常见问题
帮助
工具
链入页面
相关更改
特殊页面
页面信息