Forum Index
What does this error message mean?

 
Author Message
pjc30943



Joined: 02 Dec 2005

Posted: 04 July 2008, 4:11 AM    Post subject: What does this error message mean?

Often, once or twice per compilation (1280n) I recieve an error message in a pop-up dialog, roughly along the lines of:

"Some commands are still waiting to be executed. Continue anyway?

Why does this appear?

It doesn't happen for VM devices, only native mode devices.
Back to top
dkinzer
Site Admin


Joined: 03 Sep 2005
Location: Portland, OR

Posted: 04 July 2008, 18:03 PM    Post subject: Re: What does this error message mean?

pjc30943 wrote:
Why does this appear? It doesn't happen for VM devices, only native mode devices.
The back-end compiler for native mode adds quite a bit of time to the compilation process. With the compile-and-download command (F5), the download has to wait for the compilation to complete before the download can begin. The IDE has a loop that waits for completion but it has a timeout on it just in case something causes the compile to never complete. It's when the completion wait timeout occurs that you get the message box.

If this is the cause of what you're seeing, you can avoid it by first pressing F7 to compile and, when that is complete, pressing F5 to download. Alternately, you can increase the wait time by adding an entry to your User Options file like the one below which specifies a wait time of 20,000mS. The default value is 5,000.
Code:
command.go.wait=20000

You can edit the User Options file in the IDE by selecting "Open User Options file" on the Options menu. In most cases, you need to exit the IDE and restart for the change to take effect.

Note: the current version of the IDE displays a different message than the one that you indicated but I think that the discussion above still applies. The method for increasing the wait time was implemented as far back as v1.3.3. What version of the IDE are you using?
Back to top
pjc30943



Joined: 02 Dec 2005

Posted: 04 July 2008, 20:12 PM    Post subject:

Thanks Don.
Yes, you are right, this seems to be the cause (the IDE is the latest version).

I added the entry suggested, resulting in no change. Which is okay, since I'll just use F7 followed by F5, instead of just compile-download-run F5.
F7-F5 works fine, and the message no longer appears.
Back to top
twesthoff



Joined: 17 Mar 2006
Location: Virginia, USA

Posted: 04 July 2008, 20:38 PM    Post subject: What does this error message mean?

FYI,
I am using the newest version, and I still get the error. The newest version sometimes works OK, but the previous version always gave the error.
I also get the error (or a similar one) if I use "Go" and the Com port is already open with another program like Hyperterminal.
With the VM devices I get an error saying the port is not available.
Tom W.


Subject: RE: What does this error message mean?


Note: the current version of the IDE displays a different message than the one that you indicated but I think that the discussion above still applies. The method for increasing the wait time was implemented as far back as v1.3.3. What version of the IDE are you using?

------------------------
- Don Kinzer
Back to top
Display posts from previous:   
Page 1 of 1

 



ZBasic Microcontrollers Home
All content Copyright © 2005, 2006, 2007, 2008 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