我们刚刚使用 anatmega1280
和 a制作了自定义板,FT232RL
以便与raspberry pi 2
. 该板运行良好,引导加载程序:好的,arduino 草图上传:好的,串行通信到 1Mb:好的。
正如我之前已经使用 USB 集线器测试过的那样:覆盆子只能通过 USB 端口连接,可以启动和启动。没问题。
我们想象一个具有相同功能的电路板,but nope
...
使用默认配置FT232RL
,当我通过 USB 连接电路板时,电压为 5V,覆盆子无法启动。如果我用一根电线将电路板的 +5V 连接到 raspi GPIO,raspi 就会启动。如果我拆下这根电线,覆盆子就会继续亮着……所以 USB 电源就可以了!
我在想 ftdi eeprom 的配置可能有问题?这是我用于的最后一个配置ftdi_eeprom.conf
:
# Identify the device to write.
vendor_id=0x0403 # Vendor ID
product_id=0x6001 # Product ID
max_power=0 # Max. power consumption: value * 2 mA. Use 0 if self_powered = true.
# Strings
manufacturer="FTDI" # Manufacturer
product="EB_BOARD" # Product
serial="EB_BOARD_V2_0" # Serial Number
# Options
self_powered=true # Turn this off for bus powered
remote_wakeup=true # Turn this on for remote wakeup feature
use_serial=true # Use the serial number string
# Normally out don't have to change one of these flags
#BM_type_chip=true # Newer chips are all BM type
in_is_isochronous=false # In Endpoint is Isochronous
out_is_isochronous=false # Out Endpoint is Isochronous
suspend_pull_downs=false # Enable suspend pull downs for lower power
change_usb_version=false # Change USB Version
usb_version=0x0200 # Only used when change_usb_version is enabled
# Dump to file
filename=ftdi_eeprom.dump
请帮助我们 !我们做了一个漂亮的电路板设计,但现在我们有一根导线穿过两块电路板……太伤心了:)
谢谢!
编辑:usb 端口为树莓提供 5v/3A。