I decoded guru meditation errors #7465
Replies: 1 comment
-
Posted at 2023-02-15 by GoodbyeEspruino Original errors in console logs :
I when have insert javascript codes on esp-wroom-32 show this errors. Posted at 2023-02-15 by @fanoush just wondering, is this something else than the topic you already created here https://forum.espruino.com/conversations/383867/ ? why to have two? as for the decoded stack trace - that's great you have it - so you can check what is failing at line maybe, just guessing from Posted at 2023-02-15 by GoodbyeEspruino This conversation is related to the previous conversation. When I make my own new firmware for esp32, after I flash it and enter the espruino editor, unfortunately, when I try to save the javascript code on it, this error is displayed. After a thorough search, I was able to decipher this error. The loop is src/jsvar.c and this error is not complete and accurate. this file (jsvar.c) : Posted at 2023-02-15 by GoodbyeEspruino I use the esp32-wroom module, the firmware that Mr. Gordon put in espruino runs without errors, but when I built it myself, I encountered these errors. Posted at 2023-02-15 by @fanoush
it is better to not create new conversation for same issue as someone may later answer to the other one => mess and duplicated/wasted effort
see previous post #3 - just a guess - wroom module does not have extra PSRAM at all (?) , maybe you are building for wrong ESP32 board variant? PSRAM is optional Posted at 2023-02-15 by GoodbyeEspruino !!! I wanted to clearly state the decoded error in the new conversation. I did exactly what was said for the ESP32 https://github.com/espruino/EspruinoTools I went through all the steps make clean && BOARD=ESP32 make I entered it and it was created, then I flashed the boot files. But unfortunately, these errors occurred. Posted at 2023-02-15 by GoodbyeEspruino Can you output the new build for esp32? If you've done this, please help others fix this problem by making a tutorial video and uploading it to YouTube. You will be doing a great favor. Even if you tell me how to do the PSRAM settings, it would be great Posted at 2023-02-15 by @fanoush Check discussion here espressif/esp-idf#8306 about wroom vs PSRAM. when searching now in espruino code, PSRAM is enabled here https://github.com/espruino/Espruino/blob/6df01b93404975befd5ff12a02e2625fe2f88808/targets/esp32/Changes_V3.1/sdkconfig#L180 since year 2018 however that flag about ignoring missing PSAM is set to yes https://github.com/espruino/Espruino/blob/6df01b93404975befd5ff12a02e2625fe2f88808/targets/esp32/Changes_V3.1/sdkconfig#L184 so it should boot sorry I don't use espruino with esp32 very much and I am not sure I have wroom32 module to check this error, will check also I am not familiar with state of PSRAM support in espruino, here is some comment that is a bit cryptic https://github.com/espruino/Espruino/blob/6df01b93404975befd5ff12a02e2625fe2f88808/boards/ESP32.py#L28 Posted at 2023-02-15 by @fanoush you can also try to modify sdkconfig and disable PSRAM there, then it may work or fail with out of memory => too many variables Posted at 2023-02-15 by GoodbyeEspruino Tnx for this links i later test. Posted at 2023-02-15 by GoodbyeEspruino These items were also useless, however, thank you Posted at 2023-02-15 by GoodbyeEspruino Can you send me the address of the sdkconfig file, I'm not sure which one it is Posted at 2023-02-16 by @fanoush maybe @MaBecker could help, I don't understand ESP32 target very much. I'd try to modify file As for variable size I was wrong, look like for ESP32 target the number of variables in board file is mostly ignored and just works as a baseline to determine size in bytes of each variable. So it only defines maximum number of variables, real value is determined at startup based on available free memory. Posted at 2023-02-16 by @MaBecker Hmm, please send the board file you used to build your own firmware. Posted at 2023-02-16 by GoodbyeEspruino Hi. ESP-wroom-32 Firmware zip : http://microcosm.app/out/ANkHi I build this firmware with EspruinoBuildTools>ESP32 uploaded on github. Posted at 2023-02-16 by @MaBecker have you changed any thing in this file? https://github.com/espruino/Espruino/blob/master/boards/ESP32.py Posted at 2023-02-16 by GoodbyeEspruino Nope Posted at 2023-02-16 by @MaBecker Which xtensa gcc version are you using? Posted at 2023-02-16 by GoodbyeEspruino I did not check this But I went through all the steps mentioned in github with wsl Ubuntu and then I got the output Is it possible to record the training video and upload it to YouTube? Posted at 2023-02-16 by @MaBecker When does this guru error occurs? Posted at 2023-02-16 by GoodbyeEspruino when i turn on esp32 Posted at 2023-02-18 by @MaBecker make erase_flash Posted at 2023-02-18 by GoodbyeEspruino Could you make a video tutorial of all the things you described and upload it to YouTube? I think I didn't do part of the work or maybe I should add something but I don't know how to make a video tutorial and upload it. If you do this, I am sure that those who have this problem like me will be solved and then this issue will be closed once and for all. Posted at 2023-02-19 by @MaBecker https://letmegooglethat.com/?q=espruino+esp32+site%3Ayoutube.com Posted at 2023-02-19 by GoodbyeEspruino thank you for this link, but i not problem in flash i problem in create new framework and in this link not defined tutorial for create framework esp32 Posted at 2023-02-19 by GoodbyeEspruino For the last test, instead of wsl windows, I want to test in Linux virtual box, if it gives the same error again, I will say goodbye to espruino. But if I could, I would make powerful style libraries for it, because I'm good at esp-idf, especially on screen to improve its speed. Posted at 2023-02-19 by @MaBecker read this flashing detail https://github.com/espruino/Espruino/blob/master/targets/esp32/README_flash.txt Posted at 2023-02-19 by @MaBecker and this too Posted at 2023-02-19 by @MaBecker this describes the buid process https://github.com/espruino/Espruino/blob/master/README_Building.md Posted at 2023-02-19 by @MaBecker before flash new firmware run make erase_flash Posted at 2023-02-19 by @MaBecker Posted at 2023-02-19 by @MaBecker what is the reason for building your own firmware? Posted at 2023-02-19 by @MaBecker esp32 firmware is very little maintained over the last few years. check the issue list espruino/Espruino#1777 Posted at 2023-02-19 by @fanoush So I took some ESP32 board with wroom32 module from drawer, cloned current Espruino repo and had zero issuses with building and running Espruino
And it flashed the board just fine and espruino runs. It does print same PSRAM failed message (there is no psram in wroom32 module) but it works pretty fine
Posted at 2023-02-20 by GoodbyeEspruino it's interesting. Until now, I have not seen this command model for making firmware anywhere
I mean ( Have you flashed the javascript code to see if it is saved and executable? Posted at 2023-02-20 by GoodbyeEspruino Adding more features and improving its speed in (screen, SPI) and adding more and useful commands. I'm currently working with esp idf, but I'm primarily a javascript developer. I like to design mostly with javascript, but esp idf is great too. And With esp idf I wrote code that is really fast on STXXXX and ILIXXXX series displays and works perfectly with 16-bit RGB colors without slowing down. I want to add these features to Espruino. Posted at 2023-02-20 by GoodbyeEspruino I already tested all these links. But unfortunately, Espruino does not work well with me, however, thank you for sending these links |
Beta Was this translation helpful? Give feedback.
-
Posted at 2023-02-15 by GoodbyeEspruino
Hi.
i decoded guru meditaion error and i see this errors :
you can help me for fix error?
Beta Was this translation helpful? Give feedback.
All reactions