Search found 1570 matches

by kolban
Mon Jul 16, 2018 2:40 pm
Forum: ESP32 Arduino
Topic: psram in wrover
Replies: 1
Views: 134

Re: psram in wrover

Have you tested that your malloc is indeed returning a pointer to data and not NULL? What does the crash look like? What source statement are we failing upon?
by kolban
Sat Jul 14, 2018 1:42 pm
Forum: General Discussion
Topic: i2c driving me nuts - unexpected adresses?!? please advice!
Replies: 7
Views: 197

Re: i2c driving me nuts - unexpected adresses?!? please advice!

Have a look at this article: https://en.wikipedia.org/wiki/I%C2%B2C Specifically, search within the page for a heading called "Addressing structure" immediately followed by "7-bit addressing". What you will find there is the bit format of an I2C address. Try not to think of I2C a...
by kolban
Fri Jul 13, 2018 6:46 pm
Forum: General Discussion
Topic: Simple TCP communication over wifi
Replies: 17
Views: 569

Re: Simple TCP communication over wifi

Maybe try an eliminate as many unknowns as possible. Perhaps try running PacketSender on Windows ... see: https://packetsender.com/ This can be configured to be a Socket listener and display incoming socket traffic. This way there is less ambiguity in there possible being something amiss in the sock...
by kolban
Fri Jul 13, 2018 2:28 pm
Forum: General Discussion
Topic: Simple TCP communication over wifi
Replies: 17
Views: 569

Re: Simple TCP communication over wifi

What is the nature of the program listening on the socket on Windows?
Can you ping the ESP32 from Windows?
What source statement is the error being logged at on the ESP32?
Is the message being issued from the ESP32 or the windows app?
by kolban
Thu Jul 12, 2018 8:30 pm
Forum: ESP32 Arduino
Topic: Interrupt causes panic on Core0
Replies: 3
Views: 152

Re: Interrupt causes panic on Core0

Howdy Bart and welcome to the forum. Unfortunately experience tells me that there are commonly not quick answers to broad questions. What I would suggest is if you want fresh eyes to look at a puzzle, reduce the puzzle to its barest essence that is the absolute minimum amount of code necessary to re...
by kolban
Thu Jul 12, 2018 8:24 pm
Forum: General Discussion
Topic: Simple TCP communication over wifi
Replies: 17
Views: 569

Re: Simple TCP communication over wifi

Here is a sample I keep as a reference for making a client connection to an external socket server. This assumes we already have a good WiFi connection to the network:

https://github.com/nkolban/esp32-snippe ... etClient.c
by kolban
Thu Jul 12, 2018 12:27 am
Forum: General Discussion
Topic: Time for a wake up!
Replies: 3
Views: 181

Re: Time for a wake up!

Looking at the ESP32 Datasheet ... the radio is only on in Active mode which is full power and hence if you are in any other power saving mode you won't be able to be woken up by WiFi. For the other modes: * Modem-sleep * Light-sleep * Deep-Sleep * Hibernation It looks like light-sleep or deep-sleep...
by kolban
Wed Jul 11, 2018 6:09 pm
Forum: General Discussion
Topic: Detect if new software flashed
Replies: 5
Views: 136

Re: Detect if new software flashed

Ive not heard of such a capability. However, if you generate a hash of the content of the executing partition and save it in NVS then the next time you start you can compute the hash again and see if it matches what was previously saved.
by kolban
Wed Jul 11, 2018 5:23 pm
Forum: General Discussion
Topic: Odd I2C syntoms (Mr. Kolban please have a look)
Replies: 3
Views: 150

Re: Odd I2C syntoms (Mr. Kolban please have a look)

Do you have a logic analyzer? When I'm working with I2C or SPI I can't even begin to debug puzzles of this nature without attaching one and then mapping what is happening against the data sheet. I have studied the code camera code produced by @igrr and at one time convinced myself that I understood ...
by kolban
Wed Jul 11, 2018 5:17 pm
Forum: General Discussion
Topic: Frequency input and output
Replies: 1
Views: 75

Re: Frequency input and output

What I'd suggest is that you write up as detailed a technical specification as possible. Ideally include descriptions of the overall project and the areas that you need assistance with in depth. Try and include diagrams as best you can. Your current description left me puzzled ... I couldn't tell if...

Go to advanced search