script staroge error
12 years 2 days ago #29526043
by altuna
script staroge error was created by altuna
Hello,
We have purchased a hdc 2450 driver, we are testing it to create a new application.
But i have a problem. When compiling a program and send it to the controller I get the next message:
\"Script storage error. Download aborted\"
I have 120 lines of MicroBasic code (with comments and line breaks) and i have declared about 4 globals integer variables in my program.
I have defined 7 functions with return stament and I have a main loop. Something like a state machine.
When i press \"build\" button, this show me a code, and it is:
0: CONST0 |01 \'push 0 in stackk
@Push variable \'a\' address into stack.
1: CONST0 |01 \'push 0 in stackk
2: ISTORE |06 \'pop address, pop value from stack and save at int var(address)
\'=====================================================
....
....
\'=====================================================
@Named constant: _go
858: CONST0 |01 \'push 0 in stackk
859: CONST8 2 |02|02 \'push signed value of next byte to stack
861: CONST8 120 |02|78 \'push signed value of next byte to stack
863: NEG |0F \'pop op1, push -op1
864: SETCMD |29 \'pop value, pop index, fetch next byte as paramnum call config function (paramnum,index, value(s))
\'=====================================================
\'=====================================================
\'=====================================================
865: CONST16 7 |03|07|00 \'push signed value of next 2 bytes (LS,MS) to stack
868: JUMP |20 \'pop jumpaddress, jump to jumpaddress
\'=====================================================
869: ENDPROG |00 \'Exits interpreter permanently
What is the reason for this message?
Is it possible that no more space for the program?
I think that is another type of error, but how I can know the size of my program?
Thanks
We have purchased a hdc 2450 driver, we are testing it to create a new application.
But i have a problem. When compiling a program and send it to the controller I get the next message:
\"Script storage error. Download aborted\"
I have 120 lines of MicroBasic code (with comments and line breaks) and i have declared about 4 globals integer variables in my program.
I have defined 7 functions with return stament and I have a main loop. Something like a state machine.
When i press \"build\" button, this show me a code, and it is:
0: CONST0 |01 \'push 0 in stackk
@Push variable \'a\' address into stack.
1: CONST0 |01 \'push 0 in stackk
2: ISTORE |06 \'pop address, pop value from stack and save at int var(address)
\'=====================================================
....
....
\'=====================================================
@Named constant: _go
858: CONST0 |01 \'push 0 in stackk
859: CONST8 2 |02|02 \'push signed value of next byte to stack
861: CONST8 120 |02|78 \'push signed value of next byte to stack
863: NEG |0F \'pop op1, push -op1
864: SETCMD |29 \'pop value, pop index, fetch next byte as paramnum call config function (paramnum,index, value(s))
\'=====================================================
\'=====================================================
\'=====================================================
865: CONST16 7 |03|07|00 \'push signed value of next 2 bytes (LS,MS) to stack
868: JUMP |20 \'pop jumpaddress, jump to jumpaddress
\'=====================================================
869: ENDPROG |00 \'Exits interpreter permanently
What is the reason for this message?
Is it possible that no more space for the program?
I think that is another type of error, but how I can know the size of my program?
Thanks
Please Log in or Create an account to join the conversation.
- roboteq
12 years 2 days ago #29526045
by roboteq
Replied by roboteq on topic Re:script staroge error
There is a known problem when downloading large script. This is due to a time-out issue. Pls download and install the latest revision of the firmware from our web site.
Please Log in or Create an account to join the conversation.
Moderators: tonysantoni
Time to create page: 0.049 seconds