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
Kubuntu 7.10 c_source example compile problem
Goto page Previous  1, 2
 
Post new topic   Reply to topic    Forum Index -> ZBasic Native Mode
Author Message
ndudman



Joined: 25 Dec 2008
Posts: 79

Posted: 09 January 2009, 22:38 PM    Post subject: Reply with quote

Wow that was quick

I have normal serial on desktop, and usb only on laptop... also a serial->usb cable but it dosnt say what chipset it has inside. So will try both and report back or ask questions when the zx24n arrives.

Thanks again running direct on Linux is really great for me.

Neil
Back to top
dlh



Joined: 15 Dec 2006
Posts: 285
Location: ~Cincinnati

Posted: 09 January 2009, 22:40 PM    Post subject: Reply with quote

I have tested two of the least expensive solutions to the no serial port problems. ByteRunner has a $9 USB-serial adapter...and an $18 dual serial port PCI card...Both work fine under all of my Linux systems.

Im haven't tested downloading under Linux but can toggle DTR to reset the ZX. Downloading under Windows is fine with the USB adapter. I haven't tested the PCI card for downloading.
Back to top
ndudman



Joined: 25 Dec 2008
Posts: 79

Posted: 12 January 2009, 14:17 PM    Post subject: Reply with quote

Hi

Good news... it works Smile I get hello worrld, and red/green flashing lights....

The zx24n came this morning and Ive just finished connecting everything up... Im using an uknown usb -> serial and then a serials cable with one end removed and plugged directly into bread board... and it works... I had to execute the following line to make com2 accessable for zbasic
Code:
ln -s /dev/ttyUSB0 ~/.wine/dosdevices/com2


But am, to say the least very pleased...Is there anything else i can confirm before I try and write another program to the device ?

Regards
Neil
Back to top
ndudman



Joined: 25 Dec 2008
Posts: 79

Posted: 12 January 2009, 20:36 PM    Post subject: Reply with quote

Perhaps I was just luck having it working with the usb cable on the laptop... as its now NOT working, although I can reset the device via the zbasic IDE it wont identify the device or print debug logs... I thought it was a hardware problem... so installed everything on the desktop... with normal serial port, and it worked straight away.

Im confused, but will keep trying with both, but rely upon the normal serial cable. Im guessing its a speed issure... i.e the usb isnt fast enough or relyable enough perhaps ?

Neil
Back to top
dlh



Joined: 15 Dec 2006
Posts: 285
Location: ~Cincinnati

Posted: 12 January 2009, 21:45 PM    Post subject: Reply with quote

Despite the higher speed of the USB bus, USB-serial is slower than RS232 because of the need for translations on both ends.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Forum Index -> ZBasic Native Mode Time synchro. with the server - Timezone/DST with your computer
Goto page Previous  1, 2
Page 2 of 2

 


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