Search found 22 matches

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: 286

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: 263

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: 562

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: 562

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.
by timl12332
Sat Aug 11, 2018 10:55 am
Forum: ESP32 Arduino
Topic: Unable to use all ram available?
Replies: 7
Views: 562

Re: Unable to use all ram available?

Howdy, The problem isn't that there isn't enough memory available ... the problem is that there isn't enough contiguous free memory available to satisfy your request as a single contiguous block. When you call malloc(), if it returns successfully, you are assured that the data starts at the address...
by timl12332
Sat Aug 11, 2018 10:52 am
Forum: General Discussion
Topic: Run linux on the ESP32?
Replies: 8
Views: 1272

Re: Run linux on the ESP32?

There is a super detailed ESP32 manual called the ESP32 Technical Reference. In chapter "26 - PID/MPU/MMU" there are descriptions of the hardware support for these areas of functions. What I would suggest is to have a good slow read of that section and see how much of it makes sense. I had to read ...
by timl12332
Fri Aug 10, 2018 9:13 pm
Forum: General Discussion
Topic: Run linux on the ESP32?
Replies: 8
Views: 1272

Re: Run linux on the ESP32?

Typically memory isolation is used for robustness. In a privileged address space (ESP32 default), an error in an application or subroutine or task could merrily step all over the memory of other applications. By leveraging process isolation, one adds an extra degree of resiliency to a solution. Ass...
by timl12332
Fri Aug 10, 2018 2:56 pm
Forum: General Discussion
Topic: Run linux on the ESP32?
Replies: 8
Views: 1272

Re: Run linux on the ESP32?

.... for technical completeness, the ESP32 does indeed have an MMU as well as hardware assistance for process instance isolation of memory. I thought that one was not complete enough for Linux? But what is it needed for anyway? Is it just preventing a process from modifying another process's ram?(H...
by timl12332
Fri Aug 10, 2018 11:24 am
Forum: General Discussion
Topic: Run linux on the ESP32?
Replies: 8
Views: 1272

Run linux on the ESP32?

Hi there! I recently read that there are ESP32 modules with 4MB and I heard even 8MB ram. This made me wonder if we can run Linux? Now I know Linux needs a MMU, but I thought older Linux versions(3.x?) that had the UClinux changes integrated and thus can compile without MMU. Is it maybe interesting ...

Go to advanced search