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
Natvie Mode Start

 
Post new topic   Reply to topic    Forum Index -> ZBasic Native Mode
Author Message
pdubinsky



Joined: 25 Nov 2005
Posts: 66
Location: South Carolina

Posted: 19 December 2009, 16:42 PM    Post subject: Natvie Mode Start Reply with quote

I have no experience using the ZX24N so here goes:

I've written a simple "hello world" program which compiles, loads and runs fine. However, when I power off and then power on the 24N, the program will not run until I press the reset key on the breakout board. I know this must be something obvious but it's got me stumped.

Code:


Public Sub Main()
dim m as integer

   m = 1
   while m > 0
      debug.print "hello world!"
   wend

end sub


Tia,
Paul
Back to top
dkinzer
Site Admin


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

Posted: 19 December 2009, 18:07 PM    Post subject: Re: Natvie Mode Start Reply with quote

pdubinsky wrote:
[W]hen I power off and then power on the 24N, the program will not run until I press the reset key on the breakout board.
I've never seen similar behavior. Does the same issue occur with a ZX-24a or ZX-24p?

I suppose that it could be an issue with slowly rising power. Is the ZX-24n being powered with 5 volts directly or using the on-board regulator? Whichever it is, you might try the other method of powering it.

Also, you might try adding a capacitor to the reset line, perhaps 47uF or 100uF. This capacitor will be charged via the on-board 10K pullup resistor, keeping the device in reset a while longer after power up.
Back to top
pdubinsky



Joined: 25 Nov 2005
Posts: 66
Location: South Carolina

Posted: 19 December 2009, 18:22 PM    Post subject: Reply with quote

I tried the same code on 2 other 24N's and they execute properly. I'll try your suggestions on this one and get back to you.

Happy Holidays,
P
Back to top
dkinzer
Site Admin


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

Posted: 20 December 2009, 0:15 AM    Post subject: Reply with quote

pdubinsky wrote:
I tried the same code on 2 other 24N's and they execute properly.
If the one behaves differently under identical circumstances it is likely that there is something wrong with it. If that is the case we'll replace it, of course.
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
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