Replies: 14 comments 8 replies
-
Hi @Alaa-Aim
|
Beta Was this translation helpful? Give feedback.
-
sorry, can't help here much :( maybe you can ask on platformio forum? |
Beta Was this translation helpful? Give feedback.
-
Hi @vortigont , hope you have a lovely day, sorry for keep asking about the PSRAM, I modified a JSON board file, (attached) for ESP32S3 N4R8, 4MB Flash & 8MB PSRAM, it worked fine on my test file in PIO, the sketch as below void setup(){
} void loop() { and it is clearly show the PSRAM is 8MB, when I use same JSON file, your project wont boot, when I remove this line from the JSON file it boot like no PSRAM with error message in serial say even though, 2 months ago I complied with the same configuration and project was working fine and shows PSRAM as 8MB in /fw tab any ideas? please advise, |
Beta Was this translation helpful? Give feedback.
-
Hi @Alaa-Aim
why do you removing that line if the project does not boot? If you have an example code that works with this json file, use same with my project. You might need to specify a custom board in your As for EmbUI dependency you should not override it to latest version, it is set to |
Beta Was this translation helpful? Give feedback.
-
and what if you won't remove that line? It does not run properly? this is the right way to specify it. But espem won't build with this commit of EmbUI, it has new templated classes that is not supported by espem. You must be wrong and used some previous version before, try to figure out which one. |
Beta Was this translation helpful? Give feedback.
-
if I don't remove the line, it compile and upload but the ESP32 keep crashing with no successful boot if use it like this it PIO will pull V2.8.0 and will not compile, as many error appears,
I've tried V2.7.0 , 2.7.1 , with no luck, because the version of ArduinoJSON conflict , (6.20 & 6.21) in the EmbUI and the project, I'm pretty sure that 6 days ago I built and compile successfully with 8MB PSRAM shows in the /fw tab |
Beta Was this translation helpful? Give feedback.
-
You should us it like this https://github.com/vortigont/EmbUI#a1f0234d4f Not sure if it will help with your board issue since project's code is not related to boards definitions in platformio in any way.
|
Beta Was this translation helpful? Give feedback.
-
Hi @vortigont , hope you have a nice day, I may start annoying you with my stupid requests, but please bear with me, unfortunately, this line didn't work and the PIO pulls V2.8.0, which don't compile due to many errors when I define my board using my custom board definition, the ESP32S3 won't boot with log shown in the serial below, I used the most recent EmbUI, with the same error.
|
Beta Was this translation helpful? Give feedback.
-
Hi @Alaa-Aim
it works actually. If you run linux terminal you can check it like this
so it pulls exectly this commit and it IS belong to version 2.8.0 indeed, because this commit has been made after 2.8.0 release. But please no worry, try my updated project branch https://github.com/vortigont/espem/tree/embui_280, it builds against latest EmbUI v 2.8.1 |
Beta Was this translation helpful? Give feedback.
-
Hi @vortigont , I used all the commits below with the same issue as shown a1f0234d4f9ec590ad7840ff94ce476363916ac7
I have tried this branch, unfortunately, it didn't work and same errors occurred .
|
Beta Was this translation helpful? Give feedback.
-
yes, it is expected behavior. You won't be able to build current master branch of espem project with EmbUI lib after
which errors? It does not builds or or board is crashing? |
Beta Was this translation helpful? Give feedback.
-
Guess it's your board definition issue. You can try another board file that may fit same specs. Wrong setting for bootloader could cause MCU reboot which is defined in board.json. |
Beta Was this translation helpful? Give feedback.
-
could you try with another board maybe, a faulty PSRAM? I found and S3 board with psram, (like this one ) and tested espem code from my new branch - it works all fine
Used pio definition
I've updated espem code a bit, so now PSRAM size will be displayed on main page. Will merge it a bit later into master branch. |
Beta Was this translation helpful? Give feedback.
-
@vortigont HI, I tested it on ESP32S4N8R4 and ESP32S4N16R8, both boards worked just fine, many thanks. |
Beta Was this translation helpful? Give feedback.
-
@vortigont , HI, Previously , I used ESP32S3 with 2MB of PSRAM, now I have a board with 8MB PSRAM, on Arduino IDE, when I choose QSPI, in PSRAM selection, the PSRAM not detected, I have to choose OPI so the PSRAM detected and read as 8MB, I couldn't find a way to change that in the platformIO, all the supported boards are 2MB PSRAM, I tried to change the memory type in the board's .json file from qio to opi , but nothing works, any advise please?
PS: the board I have is ESP32S3 N4R8
Beta Was this translation helpful? Give feedback.
All reactions