Search found 19 matches

by timl12332
Sat Aug 11, 2018 5:50 pm
Forum: ESP32 Arduino
Topic: Unable to use all ram available?
Replies: 7
Views: 172

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

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

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

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 ha...
by timl12332
Fri Aug 10, 2018 9:13 pm
Forum: General Discussion
Topic: Run linux on the ESP32?
Replies: 8
Views: 290

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

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

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 ...
by timl12332
Thu Aug 09, 2018 3:01 pm
Forum: ESP32 Arduino
Topic: Unable to use all ram available?
Replies: 7
Views: 172

Unable to use all ram available?

Hi! 291 I have a ILI9341 display I am drawing a GUI too, which works ok. But I can see the display refresh(it redrawing the graphs and such). So I thought of creating a buffer inside the ESP32 to draw too, so I can then directly push all the pixels to the display when the buffer is filled. This is w...
by timl12332
Fri May 19, 2017 11:31 am
Forum: ESP32 IDF
Topic: esp32 nes code segmentation error
Replies: 18
Views: 3468

Re: esp32 nes code segmentation error

I can't say much more than 'works here'. I get bits & boops out of that pin. Are you sure the NES game you have makes sound at the point you have it? That was my initial problem: Super Mario 3 does not have sound on its startup screen and I didn't have a gamepad connected to start the game. wel...
by timl12332
Fri May 19, 2017 5:09 am
Forum: ESP32 IDF
Topic: esp32 nes code segmentation error
Replies: 18
Views: 3468

Re: esp32 nes code segmentation error

hmm, dont seem to be getting any analog audio out of pin26 when connected to amplified speakers.
Some work needed?