Search found 27 matches

by timl12332
Mon May 13, 2019 1:00 pm
Forum: ESP32 IDF
Topic: Building and running a module beyond the original image file
Replies: 12
Views: 3345

Re: Building and running a module beyond the original image file

Howdy @jumjum, I'm working on a project for a 3rd party that needs a fashion of dynamic loading. Think loosely of compiling an application that has a world of dependencies on libraries but what we don't want to do is flash a monolithic 1 MByte file. Imagine a user coded: main() { digitalWrite(D0, H...
by timl12332
Wed Jan 02, 2019 10:59 pm
Forum: General Discussion
Topic: Running programs from sd using ESP32.
Replies: 6
Views: 1684

Re: Running programs from sd using ESP32.

See here for what might be a similar question in the GitHub issues. I also found this this post which seems to sum it up: There isn't an equivalent for mmap-ing from a filesystem or any other device Here is more info about the IRAM that ESP_Sprite mentioned. Seems like SPI flash is the closest thin...
by timl12332
Mon Dec 31, 2018 12:34 pm
Forum: General Discussion
Topic: Running programs from sd using ESP32.
Replies: 6
Views: 1684

Re: Running programs from sd using ESP32.

The ESP32 MMU does not have page tables as such, it just has a flat mapping. However, on a more general note, in the architecture for the ESP32 you can only execute from either flash or internal IRAM. This implies that you either need to flash your program into the SPI flash chip, or it needs to be...
by timl12332
Sun Dec 30, 2018 7:38 pm
Forum: General Discussion
Topic: Running programs from sd using ESP32.
Replies: 6
Views: 1684

Re: Running programs from sd using ESP32.

Hello again, I did some research. And I believe in order for the loaded program to work, I need to put it in it's own Page Table. Which I believe is part of the MMU. The ESP32 has an MMU. So is it possible to create page tables? Is that implemented? And I still hope someone can answer the questions ...
by timl12332
Sun Dec 30, 2018 5:46 pm
Forum: General Discussion
Topic: Running programs from sd using ESP32.
Replies: 6
Views: 1684

Running programs from sd using ESP32.

Hi, As the title says, I am trying to build an "OS" that loads programs from SD into memory, and executes them. Now I'm not an expert on this, but I think I have an idea of what needs to be done. If I'm correct, I need something that will compile the programs, e.g. the esp-idf toolchain. Then, I nee...
by timl12332
Sat Oct 27, 2018 9:59 pm
Forum: General Discussion
Topic: ESP32 vs Raspberry pi for Wireless camera? Power consumption?
Replies: 3
Views: 1567

ESP32 vs Raspberry pi for Wireless camera? Power consumption?

Hi, I'm interested in making a wireless webcam on solar panels, therefore I am looking at the most low power solution. I think my best bet will be a ESP32 with ov2640 camera or a raspberry pi zero with pi camera. For solar panel I will use a 5W 5V panel and this charger: https://www.dfrobot.com/prod...
by timl12332
Sun Sep 02, 2018 9:20 pm
Forum: General Discussion
Topic: what does fopen do on ESP32?
Replies: 1
Views: 889

what does fopen do on ESP32?

Hi Since the ESP32 doesn't have a harddrive in the way a pc does, what happens when I call fopen?(if it does anything?) Will it create a file in SPIFFS? Is there a way to make it work, as I can't get it to work.(Gives me an error when trying to create a file) It would be nice if I can use the FILE c...
by timl12332
Sat Aug 11, 2018 5:50 pm
Forum: ESP32 Arduino
Topic: Unable to use all ram available?
Replies: 7
Views: 1721

Re: Unable to use all ram available?

Yes - I was just testing memory allocation. 16bit is 320*240*2=153.6kb. I was using buffer for extra images By the way I am interested in jpeg decompressor that can unpack image into one single ram chunk. There is idf example but the function returns an array of chunks. Well, you can modify it to o...
by timl12332
Sat Aug 11, 2018 5:28 pm
Forum: ESP32 Arduino
Topic: Unable to use all ram available?
Replies: 7
Views: 1721

Re: Unable to use all ram available?

Deouss wrote:Maybe use WROVER Esp with 4mb psram. I was able to allocate full chunk of 4MB with PSRAM flag for heap malloc.
That memory was used for same ILI9341 display but 16bit colors.
Interesting, only is 4mb not too much for 16bit?

My 4mb module is on the way.

Go to advanced search