MCF52210 USB Question

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

MCF52210 USB Question

1,330 次查看
junkers13
Contributor I
Hi I just have a quick question.  Is it possible to communicate through USB from a PC to the microprocessor.  Say I wanted to send text through hyper terminal using USB, is it possible?


Thanks,
标签 (1)
0 项奖励
回复
2 回复数

442 次查看
RichTestardi
Senior Contributor II
> Say I wanted to send text through hyper terminal using USB, is it possible?
 
I have a driver that does just that -- it emulates a USB FTDI serial port, and the PC drivers automatically load from microsoft.com so you can talk to the MCU.  It also has terminal line editing and a small history buffer.  You can see the source code here:
 
 
You'll need the low level usb driver and the upper level ftdi driver.  I'm eventually going to post a full project with dual-mode (host/device) USB functionality, but for now the individual files are there.  I'm happy to help you get the sources running if you want to e-mail rich@testardi.com.
 
-- Rich
0 项奖励
回复

442 次查看
RichTestardi
Senior Contributor II
And just to follow up, I posted an example skeleton project (skeleton.zip) on the webpage above which runs an FTDI serial port and simple command line interface on the M52221DEMO board, along with built-in administrative commands to perform flash cloning over ezport to a target board as well as S19 file firmware upgrading over the USB.  If you run it and connect with HyperTerminal and press <Enter>, you'll see:
 
Welcome to XXX v0.9!
Copyright (c) 2008; all rights reserved.
> help
commands:
  clone [run]
  help
  reset
  upgrade
  uptime
for more information:
  help about
  help clone
> _
0 项奖励
回复