Error with RoboInterface after programming RAM
Forumsregeln
Bitte beachte die Forumsregeln!
Bitte beachte die Forumsregeln!
Error with RoboInterface after programming RAM
Hi,
I have a problem running a program uploaded to RAM. When I press button 4 as instructed, it shows there is a program loaded. However, when I press button 4 again as instructed, a red led starts blinking together with the IR led. The only way to end this, is power-cycle. What does this error mean ?
Thanks
I have a problem running a program uploaded to RAM. When I press button 4 as instructed, it shows there is a program loaded. However, when I press button 4 again as instructed, a red led starts blinking together with the IR led. The only way to end this, is power-cycle. What does this error mean ?
Thanks
Re: Error with RoboInterface after programming RAM
Hi,
there's a document which explains the error codes (german only) http://www.fischertechnik.de/ResourceIm ... x?raid=418
Error LED + IR LED blinking together: "Program error: Unknown command."
Unfortunately I don't know what exact this does mean...
I would recommend to update the firmware and erase the memory (is available in the "test"-window). Which RoboPro-version do you use?
there's a document which explains the error codes (german only) http://www.fischertechnik.de/ResourceIm ... x?raid=418
Error LED + IR LED blinking together: "Program error: Unknown command."
Unfortunately I don't know what exact this does mean...
I would recommend to update the firmware and erase the memory (is available in the "test"-window). Which RoboPro-version do you use?
Gruß
Thomas
Thomas
Re: Error with RoboInterface after programming RAM
Hi,
The firmware is the latest. I don't use RoboPro, but I experimented with your (old) Basic compiler (and the Unix version from defiant) and translated a well-working Python program into Basic. This gave me a .hex file which I uploaded using "ftuploader -u=0 -U myrhand.hex -N myrhand". Result was:
Found program for RAM
Upload done
Then happened what I described.
The firmware is the latest. I don't use RoboPro, but I experimented with your (old) Basic compiler (and the Unix version from defiant) and translated a well-working Python program into Basic. This gave me a .hex file which I uploaded using "ftuploader -u=0 -U myrhand.hex -N myrhand". Result was:
Found program for RAM
Upload done
Then happened what I described.
Re: Error with RoboInterface after programming RAM
@thkais: have all .rib example programms been tested to work on RoboInterface or were those just examples ? So far, I haven't come any further with the Basic .rib/.hex testing, other than the same fault.
Re: Error with RoboInterface after programming RAM
Hi,
sorry - I did not see your reply and in your first posting you did not mentioned that you are using the basic compiler ...
It's really a long time ago I made this compiler, IIRC this behaviour can happen when a runtime error occurs. Is it possible for you to connect an additional RS232-cable to the serial Port of the Robo Interface? While running basic programs you will be able to send messages ("print" command) and runtime-errors will also be displayed. The default-parameters for the serial connection are 38400 baud, 8 Bit, no parity, 1 Stop-Bit.
sorry - I did not see your reply and in your first posting you did not mentioned that you are using the basic compiler ...
It's really a long time ago I made this compiler, IIRC this behaviour can happen when a runtime error occurs. Is it possible for you to connect an additional RS232-cable to the serial Port of the Robo Interface? While running basic programs you will be able to send messages ("print" command) and runtime-errors will also be displayed. The default-parameters for the serial connection are 38400 baud, 8 Bit, no parity, 1 Stop-Bit.
Gruß
Thomas
Thomas
Re: Error with RoboInterface after programming RAM
Hi,
Thank you for your response. I've been trying and testing on 2 interfaces now, and find that both go wrong on my program. So maybe something is wrong with my code.
On the use of RS232: "listening" to print messages over RS232 would only work when the Intelligent Interface (II)mode is active as stated by the manual ? I've tried to set up an RS232 link using minicom (on Linux), but despite being in the II mode I had no connection.
Thanks
Thank you for your response. I've been trying and testing on 2 interfaces now, and find that both go wrong on my program. So maybe something is wrong with my code.
On the use of RS232: "listening" to print messages over RS232 would only work when the Intelligent Interface (II)mode is active as stated by the manual ? I've tried to set up an RS232 link using minicom (on Linux), but despite being in the II mode I had no connection.
Thanks
- schnaggels
- Beiträge: 389
- Registriert: 31 Okt 2010, 23:14
- Wohnort: Kelkheim
- Kontaktdaten:
Re: Error with RoboInterface after programming RAM
Hi hvn (having a first name would be nice)
the interface mode is something different, you still have to connect the interface via usb in RoboPro mode.
thkais added the serial output within his basic, a simple terminal connection with the parameters given will show the print command output and (hopefully) errors. There is no special driver needed for this connection...
@Defiant
As you worked with the Robo IF under Linux as well, could you help hvn a bit maybe? Only tried this on windows based OSs
Regards,
Thomas
the interface mode is something different, you still have to connect the interface via usb in RoboPro mode.
thkais added the serial output within his basic, a simple terminal connection with the parameters given will show the print command output and (hopefully) errors. There is no special driver needed for this connection...
@Defiant
As you worked with the Robo IF under Linux as well, could you help hvn a bit maybe? Only tried this on windows based OSs
Regards,
Thomas
Re: Error with RoboInterface after programming RAM
Have you tried edgetest.hex?
"Propaganda does not deceive people; it merely helps them to deceive themselves."
E Hoffer
E Hoffer
Re: Error with RoboInterface after programming RAM
I just did try edgetest.hex. Uploading with ftuploader -u=0 -U edgetest.hex -N edgetest (result: Found program for RAM
Upload done), test with ftuploader -n (Flash #1: <No Program stored> Flash #2: Ram: edgetest) and when selecting RAM by [4] and pressing [4] again, the RoboInterface goes into the same error: unknown command. Right now I'm not sure what's going wrong.
Upload done), test with ftuploader -n (Flash #1: <No Program stored> Flash #2: Ram: edgetest) and when selecting RAM by [4] and pressing [4] again, the RoboInterface goes into the same error: unknown command. Right now I'm not sure what's going wrong.
Re: Error with RoboInterface after programming RAM
Can you upload edgetest.hex for us?
"Propaganda does not deceive people; it merely helps them to deceive themselves."
E Hoffer
E Hoffer
Re: Error with RoboInterface after programming RAM
Upload where to ?
- schnaggels
- Beiträge: 389
- Registriert: 31 Okt 2010, 23:14
- Wohnort: Kelkheim
- Kontaktdaten:
Re: Error with RoboInterface after programming RAM
Maybe here?
http://ftcommunity.de/downloads.php?kategorie=Software
I know this is a bit confusing as you get there via the menu entry "Downloads" - but you can upload files there as well
Thomas
http://ftcommunity.de/downloads.php?kategorie=Software
I know this is a bit confusing as you get there via the menu entry "Downloads" - but you can upload files there as well
Thomas
Re: Error with RoboInterface after programming RAM
OK, I will do that after my registration has been verified. Why isn't it the same as this forum ?
Re: Error with RoboInterface after programming RAM
I am missing the interpreter in Flash #1 (the compiler makes a bytecode out of the .rib-programs). Without the Interpreter the compiled programs won't work...hvn hat geschrieben:I just did try edgetest.hex. Uploading with ftuploader -u=0 -U edgetest.hex -N edgetest (result: Found program for RAM
Upload done), test with ftuploader -n (Flash #1: <No Program stored> Flash #2: Ram: edgetest) and when selecting RAM by [4] and pressing [4] again, the RoboInterface goes into the same error: unknown command. Right now I'm not sure what's going wrong.
The windows-uploader I made uploads the interpreter automatically - defiant: How this works on the Linux-environment?
Gruß
Thomas
Thomas
Re: Error with RoboInterface after programming RAM
The interpreter has to be manually uploaded.
Huub, have you done that?
Huub, have you done that?
"Propaganda does not deceive people; it merely helps them to deceive themselves."
E Hoffer
E Hoffer
Re: Error with RoboInterface after programming RAM
No, I didn't know that had to be done as well. Assuming it's in the manual, I'll read again and give another try.
Re: Error with RoboInterface after programming RAM
OK, assuming that robobasic is the interpreter to be uploaded, I try this: "ftuploader -u 0 -U robobasic -N robobasic -t FLASH1"
and get:
Unknown MEM Target
Failed to parse file
I've tried "-t=FLASH1", "-t=flash1", "-t flash1", but it's not working. What do I do wrong ?
and get:
Unknown MEM Target
Failed to parse file
I've tried "-t=FLASH1", "-t=flash1", "-t flash1", but it's not working. What do I do wrong ?
Re: Error with RoboInterface after programming RAM
robobasic is the compile, look for a file interpreterV1.01.rom.
"Propaganda does not deceive people; it merely helps them to deceive themselves."
E Hoffer
E Hoffer
Re: Error with RoboInterface after programming RAM
Then I get this:
ftuploader -u 0 -U interpreterV1.01.rom -N interpreterV1.01 -t FLASH1
Found program for Flash 1
Overwriting Destination: Using Flash 1
Upload Error: Target mismatch
Error uploading Program: Return value for 0xC0, 0x20 is 0xef
Sorry: upload failed
Please restart Device!
I did restart, but the problem stays. What is going wrong now ?
ftuploader -u 0 -U interpreterV1.01.rom -N interpreterV1.01 -t FLASH1
Found program for Flash 1
Overwriting Destination: Using Flash 1
Upload Error: Target mismatch
Error uploading Program: Return value for 0xC0, 0x20 is 0xef
Sorry: upload failed
Please restart Device!
I did restart, but the problem stays. What is going wrong now ?
Re: Error with RoboInterface after programming RAM
try just
after restarting the interface.
Code: Alles auswählen
ftuploader -U interpreter.rom -N BasicInterpreter
"Propaganda does not deceive people; it merely helps them to deceive themselves."
E Hoffer
E Hoffer