如何通过USB端口发送C程序 [英] how to send a C program through usb port

查看:98
本文介绍了如何通过USB端口发送C程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的任务是用C编写程序,然后我必须通过USB端口将它发送到微控制器。我用C完成了一个程序,问题是我不知道如何通过USB端口将它发送到微控制器。

有些人可以帮助我。

这是紧急的,因为我必须在本周末交付

谢谢

My assignment is to write a program in C, then i have to send it to a microcontroller through usb port. I have finished a program in C, the problem is that i don''t know how to send it to microcontroller through USB port.
Can some of you please help me.
It is urgent coz i have to hand it at the end of this week
thanks

推荐答案

什么样的微控制器?



什么样的微控制器?
what kind of microcontroler?



pic18f4550

pic18f4550



pic18f4550
pic18f4550



除非您的目标板有一个板载编程器,否则您将需要一个编程器,如Microchip的ICD2

http://www.microchip.com/stellent/idcplg?IdcService = SS_GET_PAGE& nodeId = 1406& dDocName = en010046& part = DV164005

如果您使用的是Microchip的MPLAB开发环境

http:// www .microchip.com / stellent / idcplg?IdcService = SS_GET_PAGE& nodeId = 1406& dDocName = en019469& part = SW007002


单击主菜单上的Programmer,然后选择Programmer,然后编程(例如MPLAB ICD 2) - MPLAB应连接到编程器并检查器件ID,如果确定,可以通过单击Program

unless your target board has an onboard programmer you will need a programmer such as Microchip''s ICD2
http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&nodeId=1406&dDocName =en010046&part=DV164005

If you are using Microchip''s MPLAB development environment
http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&nodeId=1406&dDocName =en019469&part=SW007002

click Programmer on the main menu, then Select Programmer, then your programmer (such as MPLAB ICD 2) - MPLAB should connect to the programmer and check the device ID, if OK you can program the device by clicking Program

这篇关于如何通过USB端口发送C程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆