openroberta-lab icon indicating copy to clipboard operation
openroberta-lab copied to clipboard

Problem to download and run in EV3 c4ev3

Open dmarcelo2 opened this issue 2 years ago • 3 comments

I use Open Roberta Lab online and now I'm trying to download the programming into my EV3 (c4ev3) brick. I'm using the firmware 1.10E, but after copying the .UF2 file in the EV3 it shows a Error. I did the same test using makecode.com and the .UF2 file created works correct. Someone can help me to undrstant what is the problem with the .UF2 file created by Open Roberta Lab ? I'm attaching the .UF2 files created in Open Roberta and also in makecode. UF2 files.zip

dmarcelo2 avatar Jun 01 '23 21:06 dmarcelo2

Could you please upload the exported program here? (change the .xml to e.g. .txt before uploading) Could you please make a foto of the error message and upload it here? It is quite hard for us to reproduce this behaviour. On windows 10 everything works fine as expected. Btw., MakeCode works with a different compiler (and programming language), so a comparison of the two UF2 files is not very meaningful.

bjost2s avatar Jun 02 '23 13:06 bjost2s

@dmarcelo2 can you please send us the (exported) program which has caused the error? It would be very helpful for us to reproduce the problem

bjost2s avatar Jun 05 '23 11:06 bjost2s

Hi,

To try understand what is happening I did the following tests:

tests.zip

  1. Program "TesteAlpha":
  • The program run in the EV3 brick. The program has a "repeat indefinetelly" block and I was supposed to stop the robot by pressing the button of the brick, but something happens with the "stop button" of the brick when using the .UF2 file and it was necessary to force the restart of the brick. After restarting, the program named "TesteAlpha" is no more showed in the EV3. Link to video: https://photos.app.goo.gl/fVzBNNjKjAFVxZhf7 Archives (.UF2 and .XML attached to the email)
  1. Program "TesteAlpha3"
  • This programa don't have the "repeat indefinetelly" block and works coorect in the brick. Archives (.UF2 and .XML attached to the email)
  1. Program "LetraM"
  • This program don't work. After restarting, other programs still works. I did a film showing what happens. There is nothing so diferent between this program and the "TesteAlpha3" that worked correct. I can't understand. Link to video: https://photos.app.goo.gl/hZjmYeXfohA6kuZq9 Archives (.UF2 and .XML attached to the email)

Thanks if you can help.

Em seg., 5 de jun. de 2023 às 08:50, Beate Jost @.***> escreveu:

@dmarcelo2 https://github.com/dmarcelo2 can you please send us the (exported) program which has caused the error? It would be very helpful for us to reproduce the problem

— Reply to this email directly, view it on GitHub https://github.com/OpenRoberta/openroberta-lab/issues/1519#issuecomment-1576641224, or unsubscribe https://github.com/notifications/unsubscribe-auth/BAICMVUNHJT5TSHSB2DKC73XJXBXXANCNFSM6AAAAAAYXO3YCE . You are receiving this because you were mentioned.Message ID: @.***>

dmarcelo2 avatar Jun 09 '23 15:06 dmarcelo2

When updating our servers from Ubuntu 18.04 to 20.04 and 22.04 it turned out, that the installation of the C4EV3 compiler results in something weird, so that the output of the compiler is different and not executable anymore. Unfortunatly the C4EV3 compiler is old and not supported anymore, so there is no workaround. So we decided to set the C4EV3 plugin to "deprecated". For a short time, people may use https://c4ev3.open-roberta.org to program with C4EV3 and getting a correctly compiled .uf2 file.

bjost2s avatar Jul 23 '24 12:07 bjost2s

Any guesses what might be the cause? Maybe it's possible to look into the source code. Since c4ev3 was developed in a university in my vicinity I can ask for a contact.

timarnoldev avatar Feb 03 '25 13:02 timarnoldev