Search found 1683 matches

by kolban
Thu Nov 24, 2016 4:01 am
Forum: General Discussion
Topic: Unable to flash ESP32
Replies: 12
Views: 35423

Re: Unable to flash ESP32

What is the nature of your physical environment? What kind of "connector" are you using between your PC and your ESP32? Are you running Linux native or in a virtual machine? What distribution of Linux are you running? How long is the cable between your PC and the ESP32? What is the providence (what ...
by kolban
Thu Nov 24, 2016 3:26 am
Forum: General Discussion
Topic: Unable to flash ESP32
Replies: 12
Views: 35423

Re: Unable to flash ESP32

What baud rate are you using to communicate with the ESP32?
by kolban
Thu Nov 24, 2016 2:02 am
Forum: Hardware
Topic: [Answered] Physical block size and physical page size of SPI flash for SPIFFs
Replies: 4
Views: 11898

Re: Physical block size and physical page size of SPI flash for SPIFFs

That makes sense ... so I'm guessing that the general answer to the question is: "SPI flash memory devices vary by manufacturers model. The best answer is to find the data sheet for the corresponding flash memory device that is actually the one in use. If you have a physical module, grab a magnifyin...
by kolban
Wed Nov 23, 2016 11:57 pm
Forum: Hardware
Topic: [Answered] Physical block size and physical page size of SPI flash for SPIFFs
Replies: 4
Views: 11898

[Answered] Physical block size and physical page size of SPI flash for SPIFFs

I am studying SPIFFs as found here ... https://github.com/pellepl/spiffs/wiki/Configure-spiffs The first question asked is to determine the physical block size and the physical page size of SPI flash storage. How would we determine these values for the common modules we use? For example, for the ESP...
by kolban
Wed Nov 23, 2016 9:53 pm
Forum: Showcase
Topic: JavaScript on ESP32 - Duktape
Replies: 68
Views: 118210

Re: JavaScript on ESP32 - Duktape

With no optimization attempts and no examination of how the 512K is used, the ESP32 heap reports at about 110K with no scripts loaded. But RAM availability is still a mystery to me as a freshly booted ESP32 using a minimal ESP-IDF applications seems to report only about 150K free. The complete flash...
by kolban
Wed Nov 23, 2016 3:22 pm
Forum: Showcase
Topic: JavaScript on ESP32 - Duktape
Replies: 68
Views: 118210

Re: JavaScript on ESP32 - Duktape

Status update: Duktape continues to be my current JavaScript engine of choice. The latest is that it now serves up a simple IDE.

Image

We can enter scripts, run them on a click and see the console from the ESP32 all within a browser environment.
by kolban
Wed Nov 23, 2016 6:27 am
Forum: General Discussion
Topic: Does the Esp32 support hardware based I2C or software bit-bang based I2C ?
Replies: 14
Views: 28888

Re: Does the Esp32 support hardware based I2C or software bit-bang based I2C ?

The ESP32 is built on layers. At the lowest level there is hardware which exposes its controls at specific addresses in the address space. We set the bits there and the magic of the silicon logic in the processor does its stuff. This is all documented in the ESP32 Technical Reference manual that you...
by kolban
Tue Nov 22, 2016 9:31 pm
Forum: ESP-IDF
Topic: new uart driver and acessing flash boots the system
Replies: 13
Views: 20974

Re: new uart driver and acessing flash boots the system

That's GREAT as far as it goes. Since we see that are aren't failing in your code ... the next question would be what is the "stack trace" ... i.e. what path took us to the failure point. What statement in your code got us here? I would use xtensa GDB to look at that. Failing that technique, sprinkl...
by kolban
Tue Nov 22, 2016 4:54 pm
Forum: ESP-IDF
Topic: new uart driver and acessing flash boots the system
Replies: 13
Views: 20974

Re: new uart driver and acessing flash boots the system

When your ESP32 "reboots" ... might this be because you have generated an exception and the default handler for an exception is to log the exception messages and reboot. I tend to find that I get value from using "make menuconfig" to flag the operation to halt in a GDB stub when an exception is dete...
by kolban
Tue Nov 22, 2016 4:10 am
Forum: ESP-IDF
Topic: Working with loopback (127.0.0.1)
Replies: 2
Views: 7274

Working with loopback (127.0.0.1)

I am working with some open source code that is making use of the loopback interface ... IP address 127.0.0.1. I ran into a problem and created an issue here: https://github.com/espressif/esp-idf/issues/114 To which a fellow community member came back and pointed the issue at the notion of the LWIP ...