Forum Index
HomeZBasic Home   Forum RulesForum Rules   Forum FAQForum FAQ   MemberlistMemberlist   UsergroupsUsergroups   RSS FeedRSS Feed
Site SearchSite Search   LinksLinks   DownloadDownload   Digests and SubscriptionsDigests and Subscriptions
ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in   RegisterRegister
Downloading without a Com Port

 
Post new topic   Reply to topic    Forum Index -> ZBasic IDE
Author Message
Don_Kirby



Joined: 15 Oct 2006
Posts: 329
Location: Long Island, New York

Posted: 07 November 2006, 10:49 AM    Post subject: Downloading without a Com Port Reply with quote

As I mentioned in an earlier post, I have a VB application for downloading software/firmware to my ZX using the ZLoad dll. My project uses an FTDI chip for this purpose. The application, as it stands right now, uses a virtual com port, which works well enough.

Since I can't ever seem to stop 'tweaking', I am looking into the possibility of not using the VCP driver, and going the D2XX dll route. This would allow the user to plug in the USB cable, and not have to configure anything at all.

I don't see, however, any way to configure Zload.dll to not try to use a com port. Any suggestions?

-Don
Back to top
dkinzer
Site Admin


Joined: 03 Sep 2005
Posts: 2499
Location: Portland, OR

Posted: 07 November 2006, 16:36 PM    Post subject: Reply with quote

Use of a serial port is a fundamental assumption of the downloader code and the API. To use another method of communicating with the device (e.g. via the D2xx DLL) the API would need to be substantially modified or completely redesigned.
Back to top
Don_Kirby



Joined: 15 Oct 2006
Posts: 329
Location: Long Island, New York

Posted: 07 November 2006, 22:21 PM    Post subject: Reply with quote

dkinzer wrote:
... the API would need to be substantially modified or completely redesigned.


Looking through the code, I see that the com port routines are embedded everywhere. I'll do a little experimenting and see if I can't roll my own 'ZLoadUSB.dll'.

-Don
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Forum Index -> ZBasic IDE Time synchro. with the server - Timezone/DST with your computer
Page 1 of 1

 


All content Copyright © 2005-2012 Elba Corp. All Rights Reserved.
Opinions expressed in posts are those of the author and not necessarily those of Elba Corp.
Powered by phpBB © 2001, 2005 phpBB Group