Search found 30 matches

by marcmerlin
Wed Feb 17, 2021 2:49 am
Forum: Hardware
Topic: Using segmentation fault to bridge different memory segments?
Replies: 2
Views: 2946

Using segmentation fault to bridge different memory segments?

I need an array of 224KB but you can only get around 160KB contiguous memory on ESP32. If I could split the array in 2 regions, then I can get the 224KB I need, but I have lots of code (including external libraries I don't control) that expect that memory block to be an array that must be contiguous...
by marcmerlin
Wed Feb 17, 2021 2:40 am
Forum: Hardware
Topic: LOLIN D32 Pro V2.0.0 power/battery red LED keeps flashing quickly
Replies: 3
Views: 5570

Re: LOLIN D32 Pro V2.0.0 power/battery red LED keeps flashing quickly

to close the loop, it's a change from the manufacturer, I think i'ts an unfortunate change, but it is what it is.
by marcmerlin
Sat Jan 16, 2021 9:34 pm
Forum: Hardware
Topic: LOLIN D32 Pro V2.0.0 power/battery red LED keeps flashing quickly
Replies: 3
Views: 5570

Re: LOLIN D32 Pro V2.0.0 power/battery red LED keeps flashing quickly

The led is connected to TP4054 CHRG pin. With no battery connected, maybe it is doing the "charge complete / AC present" indicator of 20uA pull down. Are you seeing a bright flash or very dim? Also there is another led on IO5, could that be the one you're seeing? Thanks for the reply. I'm seeing a ...
by marcmerlin
Sat Jan 16, 2021 2:47 am
Forum: Hardware
Topic: LOLIN D32 Pro V2.0.0 power/battery red LED keeps flashing quickly
Replies: 3
Views: 5570

LOLIN D32 Pro V2.0.0 power/battery red LED keeps flashing quickly

I have some older versions of this board: https://www.amazon.com/gp/product/B07QDFP3W they work fine. I bought some new ones, from 2 sources, and the red power LED keeps flashing at high speed when powered through USB. I think it's probably complaining about the lipo plugged into the port, except th...
by marcmerlin
Sun Dec 01, 2019 4:37 am
Forum: ESP32 Arduino
Topic: why does malloc not give memory that is available?
Replies: 2
Views: 3442

Re: why does malloc not give memory that is available?

Turns out I had to print 8bit memory, I forgot about that. Heap/32-bit Memory Available: 139756 bytes total, 82808 bytes largest free block 8-bit/DMA Memory Available : 56804 bytes total, 43520 bytes largest free block Malloc LEDMatrix Failed. Bytes requested: 49152 So, this explains that. Sad that ...
by marcmerlin
Sun Dec 01, 2019 1:12 am
Forum: ESP32 Arduino
Topic: why does malloc not give memory that is available?
Replies: 2
Views: 3442

why does malloc not give memory that is available?

printf("Heap/32-bit Memory Available: %6d bytes total, %6d bytes largest free block\n", heap_caps_get_free_size(0), heap_caps_get_largest_free_block(0)); uint32_t mallocsize = m_absMWidth * m_absBWidth * m_absMHeight * m_absBHeight * sizeof(CRGB); p_LED = (struct CRGB *) malloc(mallocsize); if (! p...
by marcmerlin
Tue Apr 16, 2019 3:13 pm
Forum: ESP32 Arduino
Topic: Announce: SmartMatrix::GFX for RGB Panels and running FastLED/NeoMatrix code on top of RGBPanels
Replies: 1
Views: 3907

Re: Announce: SmartMatrix::GFX for RGB Panels and running FastLED/NeoMatrix code on top of RGBPanels

Here is the shirt I was able to build with it: http://marc.merlins.org/perso/arduino/post_2019-04-08_Clubbing_-EDM-Festival-and-Burning-Man-LED-Pants-and-Shirt-v4-on-ESP32-with-RGBPanels-and-SmartMatrix_GFX.html http://marc.merlins.org/blogimg/thumb1024_520_20190408_LED_Pants_and_Shirt_v4_on_ESP32_w...
by marcmerlin
Thu Apr 11, 2019 5:04 am
Forum: ESP32 Arduino
Topic: what is the difference between compiling for esp32dev vs nodemcu-32S?
Replies: 4
Views: 7061

Re: what is the difference between compiling for esp32dev vs nodemcu-32S?

Thanks for confirming, it seems that esp32dev is the best option then, especially now that I added a bunch of partitioning mappings in master, including ffat partitioning options I use :)
by marcmerlin
Wed Apr 10, 2019 5:23 pm
Forum: ESP32 Arduino
Topic: Announce: SmartMatrix::GFX for RGB Panels and running FastLED/NeoMatrix code on top of RGBPanels
Replies: 1
Views: 3907

Announce: SmartMatrix::GFX for RGB Panels and running FastLED/NeoMatrix code on top of RGBPanels

I spent quite a bit of time hacking on my new party shirt (since last year), which is now based on higher density RGB Panels, which however are totally different technology compared to my previous NeoMatrix shirt. I ended up writing SmartMatrix::GFX, a glue driver to allow all my previous code to wo...
by marcmerlin
Wed Apr 10, 2019 5:17 pm
Forum: ESP32 Arduino
Topic: Has anyone made an RMT IR Receive library for ESP32/arduino?
Replies: 6
Views: 9970

Re: Has anyone made an RMT IR Receive library for ESP32/arduino?

I was pointed to https://github.com/lbernstone/IR32 and was able to use it.
It has some small unreliabilities I'm still working with, but overall it works.