資源簡介
USB在FPGA上的實現源碼 USB在FPGA上的實現源碼

代碼片段和文件信息
#!?/usr/bin/python
#?-*-?coding:?ISO-8859-1?-*-
##########################################################################
#?LPC?Dongle?programming?software?
#
#?Copyright?(C)?2008?Artec?Design
#?
#?This?library?is?free?software;?you?can?redistribute?it?and/or
#?modify?it?under?the?terms?of?the?GNU?Lesser?General?Public
#?License?as?published?by?the?Free?Software?Foundation;?either
#?version?2.1?of?the?License?or?(at?your?option)?any?later?version.
#?
#?This?software?is?distributed?in?the?hope?that?it?will?be?useful
#?but?WITHOUT?ANY?WARRANTY;?without?even?the?implied?warranty?of
#?MERCHANTABILITY?or?FITNESS?FOR?A?PARTICULAR?PURPOSE.??See?the?GNU
#?Lesser?General?Public?License?for?more?details.
#?You?should?have?received?a?copy?of?the?GNU?Lesser?General?Public
#?License?along?with?this?library;?if?not?write?to?the?Free?Software
#?Foundation?Inc.?51?Franklin?St?Fifth?Floor?Boston?MA??02110-1301??USA
##########################################################################
#-------------------------------------------------------------------------
#?Project:???LPC?Dongle?programming?software?
#?Name:??????dongle.py
#?Purpose:???Executable?command?line?tool?
#
#?Author:????J黵i?Toomessoo?
#?Copyright:?(c)?2008?by?Artec?Design
#?Licence:???LGPL
#
#?Created:???06?Oct.?2006
#?History:???12?oct.?2006??Version?1.0?released
#????????????22?Feb.?2007??Test?options?added?to?test?PCB?board
#????????????10?Nov.?2007??Added?open?retry?code?to?dongle
#????????????14?Nov.?2007??Moved?dongle?spesific?code?to?class?Dongle?from?USPP
#??????????????????????????USPP?is?allmost?standard?now?(standard?USPP?would?work)
#??????????????????????????Artec?USPP?has?serial?open?retry
#????????????14?Nov.?2007??Improved?help.?
#????????????10?Mar.?2008??Forced?code?to?hw?flow?control?settings?made?linux?1?byte?read?to?2?bytes
#??????????????????????????as?dongle?never?reads?1?byte?at?the?time
#????????????18?Apr.?2008??Added?file?size?boundary?check?on?write?to?see?if?remaining?size?from
#??????????????????????????given?offset?fits?the?file?size
#????????????24?Apr.?2008??Mac?OS?X?support?by?Stefan?Reinauer?
#-------------------------------------------------------------------------
import?os
import?sys
import?string
import?time
import?struct
from?sets?import?*
from?struct?import?*
####?inline?of?artec?FTDI?spesific?Uspp?code?###################################################
##########################################################################
#?USPP?Library?(Universal?Serial?Port?Python?Library)
#
#?Copyright?(C)?2006?Isaac?Barona?
#?
#?This?library?is?free?software;?you?can?redistribute?it?and/or
#?modify?it?under?the?terms?of?the?GNU?Lesser?General?Public
#?License?as?published?by?the?Free?Software?Foundation;?either
#?version?2.1?of?the?License?or?(at?your?option)?any?later?version.
#?
#?This?library?is?distributed?in?the
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件????????380??2008-06-14?13:20??usb_dongle_fpga\usb_dongle_fpga\altera_quartus_proj\CVS\Entries
?????文件????????167??2008-06-14?13:20??usb_dongle_fpga\usb_dongle_fpga\altera_quartus_proj\CVS\Entries.Extra
?????文件??????????0??2008-06-14?13:19??usb_dongle_fpga\usb_dongle_fpga\altera_quartus_proj\CVS\Entries.Extra.Old
?????文件??????????0??2008-06-14?13:19??usb_dongle_fpga\usb_dongle_fpga\altera_quartus_proj\CVS\Entries.Old
?????文件?????????37??2008-06-14?13:19??usb_dongle_fpga\usb_dongle_fpga\altera_quartus_proj\CVS\Repository
?????文件?????????51??2008-06-14?13:19??usb_dongle_fpga\usb_dongle_fpga\altera_quartus_proj\CVS\Root
?????文件??????????0??2008-06-14?13:19??usb_dongle_fpga\usb_dongle_fpga\altera_quartus_proj\CVS\Template
?????文件????????314??2007-02-22?19:33??usb_dongle_fpga\usb_dongle_fpga\altera_quartus_proj\dongle_syn.cdf
?????文件??????19686??2008-03-14?17:28??usb_dongle_fpga\usb_dongle_fpga\altera_quartus_proj\dongle_syn.pin
?????文件?????131272??2008-03-14?17:28??usb_dongle_fpga\usb_dongle_fpga\altera_quartus_proj\dongle_syn.pof
?????文件????????907??2006-12-07?18:46??usb_dongle_fpga\usb_dongle_fpga\altera_quartus_proj\dongle_syn.qpf
?????文件???????8929??2008-03-10?21:56??usb_dongle_fpga\usb_dongle_fpga\altera_quartus_proj\dongle_syn.qsf
?????文件???????3742??2008-03-10?21:56??usb_dongle_fpga\usb_dongle_fpga\altera_quartus_proj\dongle_syn.qws
?????文件??????27091??2006-12-07?18:46??usb_dongle_fpga\usb_dongle_fpga\altera_quartus_proj\dongle_syn_assignment_defaults.qdf
?????文件????????168??2008-06-14?13:20??usb_dongle_fpga\usb_dongle_fpga\beh\CVS\Entries
?????文件?????????75??2008-06-14?13:20??usb_dongle_fpga\usb_dongle_fpga\beh\CVS\Entries.Extra
?????文件??????????0??2008-06-14?13:20??usb_dongle_fpga\usb_dongle_fpga\beh\CVS\Entries.Extra.Old
?????文件??????????0??2008-06-14?13:20??usb_dongle_fpga\usb_dongle_fpga\beh\CVS\Entries.Old
?????文件?????????21??2008-06-14?13:20??usb_dongle_fpga\usb_dongle_fpga\beh\CVS\Repository
?????文件?????????51??2008-06-14?13:20??usb_dongle_fpga\usb_dongle_fpga\beh\CVS\Root
?????文件??????????0??2008-06-14?13:20??usb_dongle_fpga\usb_dongle_fpga\beh\CVS\Template
?????文件???????6371??2008-02-26?18:56??usb_dongle_fpga\usb_dongle_fpga\beh\lpc_byte_test.vhd
?????文件???????9473??2006-12-07?18:46??usb_dongle_fpga\usb_dongle_fpga\beh\toplevel_usb_test.vhd
?????文件???????8010??2006-12-07?18:46??usb_dongle_fpga\usb_dongle_fpga\beh\usb_mem_test.vhd
?????文件??????????3??2008-06-14?13:19??usb_dongle_fpga\usb_dongle_fpga\CVS\Entries
?????文件??????????0??2008-06-14?13:19??usb_dongle_fpga\usb_dongle_fpga\CVS\Entries.Extra
?????文件??????????0??2008-06-14?13:19??usb_dongle_fpga\usb_dongle_fpga\CVS\Entries.Extra.Old
?????文件????????113??2008-06-14?13:58??usb_dongle_fpga\usb_dongle_fpga\CVS\Entries.Log
?????文件??????????0??2008-06-14?13:19??usb_dongle_fpga\usb_dongle_fpga\CVS\Entries.Old
?????文件?????????17??2008-06-14?13:19??usb_dongle_fpga\usb_dongle_fpga\CVS\Repository
............此處省略134個文件信息
評論
共有 條評論