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
first time flashing

 
Post new topic   Reply to topic    Forum Index -> ZX-24
Author Message
servostep



Joined: 18 Apr 2010
Posts: 2

Posted: 19 April 2010, 9:33 AM    Post subject: first time flashing Reply with quote

I tried to program the ZX-24 by opening port then I clicked Project, Compile. Then Project, Go. Now all I get is:
ZX-24 says: Hello World again and again.
Is there a detailed instruction or tutorial for first time users?

Thanks,

Anthony
Back to top
dkinzer
Site Admin


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

Posted: 19 April 2010, 14:44 PM    Post subject: Re: first time flashing Reply with quote

servostep wrote:
I tried to program the ZX-24 by opening port then I clicked Project, Compile. Then Project, Go.
Which ZX-24 model are you using? It may be that you're compiling the project for a different device. The IDE generally will not download code to one ZX device type that was compiled for a different ZX device type. By default, the IDE assumes that the target device is a ZX-24. If, as is likely, you have a different ZX device, you must specify which one (see Project|Device Options...).

Here is a step-by-step procedure for a first project:
  • Launch the IDE.
  • Select "Serial Port Options..." from the Options menu. On the resulting dialog, select the COM port that is connected to the ZX. The other options on the dialog can be left in their default states.
  • Select "Device Options..." from the Options menu. On the resulting dialog, select the particular ZX device you have and click OK. If your device does not appear in the combobox, click on the "Edit Target List..." button in the upper right corner. The new dialog box shows two lists of devices; those in the lefthand listbox will appear in the combobox of the previous dialog while those on the right will not. You can move one or more entries from one listbox to the other by selecting (multi-select is allowed) and then clicking one of the arrow buttons between the listboxes. When finished, click OK and then select the target device on the previous dialog and click OK.
  • If you do not already have a project, create a new test project by selecting "New..." from the Project menu. Modify the controls on the dialog to get the project located where you want it and to get the name you want. Note that a .bas file will be created for the new project by default containing an empty Main() subroutine.
  • Modify the new .bas file for your project, making it look like the code below.
    Code:
    Sub Main()
      Debug.Print "I'm alive!"
    End Sub
  • Compile the project by pressing the F7 key (or select Compile from the Project menu).
  • If errors were reported, fix them and repeat the compilation process.
  • Download the compiled program to the target by pressing the F5 key (or select Go from the Project menu). After downloading, the Debug.Print message should appear in the Debug window of the IDE.
Back to top
servostep



Joined: 18 Apr 2010
Posts: 2

Posted: 25 April 2010, 12:46 PM    Post subject: Reply with quote

Thanks. I will soon give it another try.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Forum Index -> ZX-24 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