Search found 678 matches

by kolban
Fri May 26, 2017 4:30 am
Forum: ESP32 SDK
Topic: Missing C struct for IO_MUX_x_REG?
Replies: 0
Views: 8

Missing C struct for IO_MUX_x_REG?

I have been enjoying/appreciating the C structures mapped to the registers that can be found in soc/esp32/include/soc. I was looking at the tech ref documentation on the register called IO_MUX_x_REG and seem to find this referenced in "io_mux_reg.h" ... however, I am not finding an equival...
by kolban
Fri May 26, 2017 4:25 am
Forum: General Discussion
Topic: I2C communication
Replies: 2
Views: 31

Re: I2C communication

Have you attached a logic analyzer to the I2C bus (CLK and SDA pins?). I have always found examining the protocol on the bus to resolve most of the issues I have had.
by kolban
Fri May 26, 2017 12:34 am
Forum: Sample Code
Topic: [Info] MQTT Eclipse Paho client component
Replies: 3
Views: 421

Re: [Info] MQTT Eclipse Paho client component

Its been 5 months since I looked ... but if I remember ... we take the whole folder found here: https://github.com/nkolban/esp32-snippets/tree/master/networking/mqtt/paho_mqtt_embedded_c And place that in our ESP32 project's components directory. This would end up with: <YourProject>/components/paho...
by kolban
Mon May 22, 2017 4:36 am
Forum: General Discussion
Topic: Monitoring serial output without reset
Replies: 2
Views: 36

Re: Monitoring serial output without reset

The "make monitor" does appear to perform an ESP32 reset ... however if your ESP32 is running, executing a local serial terminal client such as putty or screen connects to the serial port without resetting and you will start to immediately see your output without a reset.
by kolban
Mon May 22, 2017 12:09 am
Forum: ESP32 SDK
Topic: [Answered] Using opendir() on a FATFS VFS file system.
Replies: 2
Views: 69

Re: Using opendir() on a FATFS VFS file system.

Thank you sir. Using opendir("/spiflash/") worked as you suggested.
by kolban
Sun May 21, 2017 10:39 pm
Forum: ESP32 SDK
Topic: [Answered] Being bitten by #defines for write, read and close (etc)
Replies: 1
Views: 34

[Answered] Being bitten by #defines for write, read and close (etc)

When I write an application that uses both sockets and file I/O I am getting bitten over and over again by our apparent #define of the common POSIX APIs called write(), read(), close() etc. When I attempt to use POSIX I/O to read and write files, these appear to be macro re-defined to "lwip_<fu...
by kolban
Sun May 21, 2017 4:40 am
Forum: ESP32 SDK
Topic: Using C++ std::stringstream and heap exceptions
Replies: 2
Views: 57

Using C++ std::stringstream and heap exceptions

I am working in some C++ code and needed to format some string and numeric data so started using std::stringstream. Functionally, all appeared to work until I end a task that was using these classes. At this point I get an exception: 0x40083a0b: prvInsertBlockIntoFreeList at /home/kolban/esp32/espte...
by kolban
Sun May 21, 2017 4:11 am
Forum: General Discussion
Topic: wearleveling filesystem image uploading
Replies: 10
Views: 225

Re: wearleveling filesystem image uloading

Unfortunately I couldn't reproduce Perry's tests. I created a partition at 0x30 0000 for 1MB and then used esptool to extract the data. I tried 0x30 0000 for 0x10 0000 and 0x31 0000 for 0x0f 0000 but with neither of the resulting files could I use any mount commands on Linux. Is Perry using the righ...
by kolban
Sun May 21, 2017 1:23 am
Forum: General Discussion
Topic: wearleveling filesystem image uploading
Replies: 10
Views: 225

Re: wearleveling filesystem image uloading

Perry,
For testing, I'm tinkering with a TFTP server that can run in the ESP32. This will allow us to "upload" files to be saved in file FATFS. Its a poor mans story, but it will satisfy my immediate needs. If you or anyone else are interested, ping me.
by kolban
Sat May 20, 2017 10:35 pm
Forum: General Discussion
Topic: wearleveling filesystem image uploading
Replies: 10
Views: 225

Re: wearleveling filesystem image uloading

PerryC, ESP_Sprite, ESP_Igrr, This is a very interesting thread. In PerryC's story, he seemed to have dumped an image from Flash that was formatted by esp_vfs_fat_spiflash_mount() and successfully mounted it as a Linux mount point, modified it and flashed it back. This is GREAT ... but I take the wa...

Go to advanced search