Search found 27 matches

by timl12332
Sat Aug 11, 2018 10:55 am
Forum: ESP32 Arduino
Topic: Unable to use all ram available?
Replies: 7
Views: 11637

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: 20
Views: 70059

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: 20
Views: 70059

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: 20
Views: 70059

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: 20
Views: 70059

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

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: ESP-IDF
Topic: esp32 nes code segmentation error
Replies: 18
Views: 21899

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. well, t...
by timl12332
Fri May 19, 2017 5:09 am
Forum: ESP-IDF
Topic: esp32 nes code segmentation error
Replies: 18
Views: 21899

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?
by timl12332
Fri May 12, 2017 7:58 pm
Forum: ESP-IDF
Topic: esp32 nes code segmentation error
Replies: 18
Views: 21899

Re: esp32 nes code segmentation error

Nice,
Will try tomorrow.
by timl12332
Fri May 12, 2017 4:14 pm
Forum: General Discussion
Topic: Compiling linux buildroot for esp32 gives error
Replies: 9
Views: 26379

Re: Compiling linux buildroot for esp32 gives error

Would love to try that,
Do you know a tutorial or someting?