Search found 95 matches

by meowsqueak
Fri Apr 27, 2018 2:47 am
Forum: ESP32 IDF
Topic: OpenOCD ESP32 - Erase
Replies: 8
Views: 457

Re: OpenOCD ESP32 - Erase

I've also had JTAG debug/flash programming success on the ESP32 with this one:

http://www.ftdichip.com/Support/Documen ... _CABLE.PDF

It's based on the FTDI FT232H device.
by meowsqueak
Mon Apr 16, 2018 8:15 pm
Forum: General Discussion
Topic: multi-thread I2C synchronization
Replies: 9
Views: 424

Re: multi-thread I2C synchronization

No, I'm not sure now - I hadn't seen that warning before. I thought I'd looked at the source in the past and seen a lock. Sorry for sowing confusion. I'll edit my comment. Incidentally I am using a mutex for my own project, as I needed to ensure that tasks had exclusive use of individual slaves.
by meowsqueak
Mon Apr 16, 2018 7:01 am
Forum: General Discussion
Topic: ESP_LOG(I/W/E) vs printf for debug
Replies: 4
Views: 249

Re: ESP_LOG(I/W/E) vs printf for debug

I like the ESP_LOGx macros because you can enable/disable them at runtime. For example, hook up some appropriate MQTT topics and you've got yourself a run-time selectable debug log.
by meowsqueak
Mon Apr 16, 2018 6:56 am
Forum: General Discussion
Topic: multi-thread I2C synchronization
Replies: 9
Views: 424

Re: multi-thread I2C synchronization

I should be using a single I2C controller(I2C 0 OR I2C 1) for both I2C slaves, since I have access to a single I2C bus on the hardware? You can use a single I2C master controller for both of your I2C slaves provided they will work at the same SCK rate. EDIT: My comment here is most likely wrong - i...
by meowsqueak
Mon Apr 16, 2018 6:11 am
Forum: General Discussion
Topic: Flashing an AVR OTA by using ESP32 as a tunnel?
Replies: 4
Views: 839

Re: Flashing an AVR OTA by using ESP32 as a tunnel?

Resch2061 wrote:I figured it out! Expect a component some time in the future, once I work out the oddities here and there. I figure it might be useful for other people as well.


I'm interested - do you have your component on github?
by meowsqueak
Sat Apr 07, 2018 9:44 pm
Forum: ESP32 Arduino
Topic: Newbie in need of a little help (DS18B20)
Replies: 12
Views: 620

Re: Newbie in need of a little help (DS18B20)

Actually, there is a recommended parasitic configuration that uses two output pins from your CPU, one to drive a MOSFET to provide a better power supply for the single data/power wire. See Figure 6 in https://datasheets.maximintegrated.com/ ... S18B20.pdf
by meowsqueak
Thu Apr 05, 2018 9:41 pm
Forum: General Discussion
Topic: getLocalTime(&local); Definitions of time zones
Replies: 4
Views: 286

Re: getLocalTime(&local); Definitions of time zones

https://www.google.com/search?q=zoneinfo Exactly that was not useful to find the solution. It was not a matter of defining the time zones, but which syntax to use . I had the same problem - usually with most environments I'd use TZ="Pacific/Auckland" or sometimes ":Pacific/Auckland&q...
by meowsqueak
Thu Apr 05, 2018 8:57 pm
Forum: General Discussion
Topic: Update to Kolban's ESP32 Book is Available
Replies: 10
Views: 704

Re: Update to Kolban's ESP32 Book is Available

Thanks Neil, that first link answers my question I think - seems like the key is to select a second book, and then the whole reader account thing swings into action. I'll have to give that a try... Thank you for asking them, and again, for your excellent book. EDIT: I bought a second book and when I...
by meowsqueak
Thu Apr 05, 2018 2:17 am
Forum: General Discussion
Topic: Update to Kolban's ESP32 Book is Available
Replies: 10
Views: 704

Re: Update to Kolban's ESP32 Book is Available

Quick question, Neil - do you know whether creating an account on leanpub as a reader is supported? Somehow the system knows to email me when updates to your book are available, but it's not clear to me where my "profile" exists on the site, because I haven't created an account, nor do I s...
by meowsqueak
Wed Apr 04, 2018 9:15 am
Forum: ESP32 IDF
Topic: Request for observations: RMT rmt_driver_install crashing repeatedly after a previous crash
Replies: 5
Views: 245

Re: Request for observations: RMT rmt_driver_install crashing repeatedly after a previous crash

Ah, so if the channel is uninitialised then the interrupt is disabled? That makes sense I think. Currently my PR will clear the interrupt but doesn't disable it.

BTW, for completeness: https://github.com/espressif/esp-idf/issues/1815

Go to advanced search