I was working with simple project configured originally on Wroom module and it compiled and worked fine.
When I switched module to Wrover and plugged into usb then flashed it with fullclean option I got error - cpu start failed.
It took me some time to figure out that main_app section was not firedand esp was crashing
To resolve that I had to delete physically the build folder and sdkconfig files and run menuconfig again
So far all works fine but I cannot easily switch modules with same project.
Im not sure if there is any other solution
Compilation fails after switching from Wroom to Wrover
Re: Compilation fails after switching from Wroom to Wrover
What did you change in make menuconfig? That should be your first clue.
John A
John A
Re: Compilation fails after switching from Wroom to Wrover
Config is exactly same for both. Just changed the code and renamed some files.
Wrover seems to work a bit smoother and idf reports more ram
Wrover seems to work a bit smoother and idf reports more ram
Re: Compilation fails after switching from Wroom to Wrover
Hi,Deouss wrote:I was working with simple project configured originally on Wroom module and it compiled and worked fine.
When I switched module to Wrover and plugged into usb then flashed it with fullclean option I got error - cpu start failed.
It took me some time to figure out that main_app section was not firedand esp was crashing
To resolve that I had to delete physically the build folder and sdkconfig files and run menuconfig again
So far all works fine but I cannot easily switch modules with same project.
Im not sure if there is any other solution
If you have tried it with cleaning it properly and again configuring it for ESP32-WROVER module then it should work without any issue as we have already did this type of module switching for our project as well.
So, I don't think that there is any compilation point of issue if you have just replaced module like from ESP-WROOM-32 to ESP32-WROVER module and vice versa.
Regards,
Ritesh Prajapati
Ritesh Prajapati
Re: Compilation fails after switching from Wroom to Wrover
Yes you are right. What I meant - compilation fails to execute.
Project is compiling ok but it is not working for wrover and it needs reconfiguration and recompiling.
Project is compiling ok but it is not working for wrover and it needs reconfiguration and recompiling.
Re: Compilation fails after switching from Wroom to Wrover
I've never had any issue like this.Deouss wrote:Yes you are right. What I meant - compilation fails to execute.
Project is compiling ok but it is not working for wrover and it needs reconfiguration and recompiling.
All applications I've built runs exactly the same on Wroom and Wrover based boards, no special configuration is needed for Wrover or Wroom.
Since it was enabled, I even build all my applications with psRAM enabled (→ Component config → ESP32-specific → Support for external, SPI-connected RAM & → Component config → ESP32-specific → SPI RAM config → Ignore PSRAM when not found).
The application runs on Wrover using external SPI-RAM and on Wroom without using it, without any issue.
The only difference between Wrover and Wroom modules is the existence of SPI-RAM, if you don't use it, they will behave the same.
Of course, you must not access GPIOs #16 & #17 on Wrover, as they are used by SPI-RAM.
Re: Compilation fails after switching from Wroom to Wrover
Hi Loboris,loboris wrote:I've never had any issue like this.Deouss wrote:Yes you are right. What I meant - compilation fails to execute.
Project is compiling ok but it is not working for wrover and it needs reconfiguration and recompiling.
All applications I've built runs exactly the same on Wroom and Wrover based boards, no special configuration is needed for Wrover or Wroom.
Since it was enabled, I even build all my applications with psRAM enabled (→ Component config → ESP32-specific → Support for external, SPI-connected RAM & → Component config → ESP32-specific → SPI RAM config → Ignore PSRAM when not found).
The application runs on Wrover using external SPI-RAM and on Wroom without using it, without any issue.
The only difference between Wrover and Wroom modules is the existence of SPI-RAM, if you don't use it, they will behave the same.
Of course, you must not access GPIOs #16 & #17 on Wrover, as they are used by SPI-RAM.
Yes. You are also absolutely correct for that point as there is only change of SPI PSRAM which is additionally added into ESP32 WROVER module compare ESP32 WROOM Module. So, It should work straight forward on both boards with same application binary without any issue.
Regards,
Ritesh Prajapati
Ritesh Prajapati
Re: Compilation fails after switching from Wroom to Wrover
Hi,Deouss wrote:Yes you are right. What I meant - compilation fails to execute.
Project is compiling ok but it is not working for wrover and it needs reconfiguration and recompiling.
Would you please let us know which type of reconfiguration is required to work for that before compiling same application for WROVER module?
So that we can have idea like what can be possible cause to stop that working condition.
Regards,
Ritesh Prajapati
Ritesh Prajapati
Re: Compilation fails after switching from Wroom to Wrover
I changed the flash size from 2 to 4Mb. But I must add that I work under CMake environment - not Make so there might be some other issues not related to other Eclipse-driven environments.Ritesh wrote: Would you please let us know which type of reconfiguration is required to work for that before compiling same application for WROVER module?
So that we can have idea like what can be possible cause to stop that working condition.
Re: Compilation fails after switching from Wroom to Wrover
What is your SPI speed? (40 or 80?). I found that 80 worked on my boards without ext ram, but didn't on boards with ext ram.
John A
John A
Who is online
Users browsing this forum: Bing [Bot], ESPBoards and 99 guests