LOGIN   :::   RECOVER PASS   :::   GET ACCOUNT    
Browse
  • Projects
  • Code (CVS)
  • Forums
  • News
  • Articles
  • Polls
  •  
    OpenCores
  • FAQ
  • CVS HowTo
  • Mission
  • Media
  • Tools
  • Advertise
  • Mirrors
  • Logos
  • Contact us
  • Find Resources
  • Job Opportunity
  •  
    Tools
  • Search
      
  • Download Cores (CVSGet)
  •  
    More
  • Wishbone
  • Perlilog
  • EDA tools
  • OpenTech CD
  •  
    Navigation: All forums > Cvs-checkins > Message List > Message Post

    Message

    Reply | Reply all
    Date Prev | Date Next | Thread Prev | Thread Next Date Index | Thread Index

    From: cvs at opencores.org<cvs@o...>
    Date: Mon Feb 26 17:54:47 CET 2007
    Subject: [cvs-checkins] MODIFIED: usb_dongle_fpga ...
    Top
    Date: 00/07/02 26:17:54

    Modified: usb_dongle_fpga/sw dongle.py
    Log:
    Added windows py bindings check with nice info print with link to installer


    Revision Changes Path
    1.4 usb_dongle_fpga/sw/dongle.py

    http://www.opencores.org/cvsweb.shtml/usb_dongle_fpga/sw/dongle.py.diff?r1=1.3&r2=1.4

    (In the diff below, changes in quantity of whitespace are not shown.)

    Index: dongle.py
    ===================================================================
    RCS file: /cvsroot/nuubik/usb_dongle_fpga/sw/dongle.py,v
    retrieving revision 1.3
    retrieving revision 1.4
    diff -u -b -r1.3 -r1.4
    --- dongle.py 22 Feb 2007 19:01:13 -0000 1.3
    +++ dongle.py 26 Feb 2007 16:54:47 -0000 1.4
    @@ -46,7 +46,7 @@

    #### global funcs ####
    def usage(s):
    - print "Artec USB Dongle programming utility"
    + print "Artec USB Dongle programming utility ver. 1.1"
    print "Usage: ",s," -c comport [-fvdq] filename address"
    print " ",s," [-fvdqr] offset length filename"
    print ""
    @@ -379,9 +379,6 @@
    if mode.q == 1: # perform a query from dongle

    buf=don.read_data(4,0x0) # word count and word address
    - print 'Data: 0x%02x 0x%02x 0x%02x 0x%02x 0x%02x 0x%02x 0x%02x 0x%02x '%(ord(buf[1]),ord(buf[0]),ord(buf[3]),ord(buf[2]),ord(buf[5]),ord(buf[4]),ord(buf[7]),ord(buf[6]) )
    -
    -
    don.write_command(0x0050) # 0x0098
    don.write_command(0x0098) # 0x0098
    buf=don.read_data(3,0x000010) # word count and word address



     
    Copyright (c) 1999 OPENCORES.ORG. All rights reserved.