Search found 24 matches

by ellisjr
Wed Dec 23, 2020 4:35 pm
Forum: ESP32 boards
Topic: Problem compiling code(esp32)
Replies: 10
Views: 4600

Re: Problem compiling code(esp32)

I'm afraid I am not skilled enough to diagnose your problems. What I can tell you is that I had loads of problems creating the system to build MicroPython, but all of them were solved by re-reading the instructions, each time more carefully . I wish I had read them incredibly carefully the first tim...
by ellisjr
Wed Dec 23, 2020 4:27 pm
Forum: General Discussion and Questions
Topic: Why can MicroPython not use the ULP WAKE instruction
Replies: 20
Views: 8775

Re: Why can MicroPython not use the ULP WAKE instruction

@mattyt So, I built MP with the changes as debugged by @clone and of course, it works perfectly. Thank you both! I'm guessing that this is a silly question, but why can't esp32.enable_ulp_wakeup() take a Boolean to enable and disable the use of the ULP WAKE instruction? It would seem good to be able...
by ellisjr
Mon Dec 21, 2020 4:42 pm
Forum: General Discussion and Questions
Topic: Why can MicroPython not use the ULP WAKE instruction
Replies: 20
Views: 8775

Re: Why can MicroPython not use the ULP WAKE instruction

@clone Welcome to the party! Or should I say, thank goodness, the cavalry have arrived! I have spent three days getting to the point where I can build Micropython, so that I could test Mattyt's code, but I have finally just done it. Many traps for the unwary/uninitiated... So, I will also test the c...
by ellisjr
Tue Dec 15, 2020 2:26 pm
Forum: General Discussion and Questions
Topic: Why can MicroPython not use the ULP WAKE instruction
Replies: 20
Views: 8775

Re: Why can MicroPython not use the ULP WAKE instruction

Those are fairly specific conditions so I think v0 and v1 chips should work ok. Yes, I think I just got there yesterday, empirically, when I bit the bullet and installed the whole ESP-IDF thing and worked through an example to use the WAKE instruction (with the ADC as it happens) and it all works j...
by ellisjr
Thu Dec 10, 2020 2:08 pm
Forum: General Discussion and Questions
Topic: ESP32 Chip Versions/Revisions
Replies: 4
Views: 1945

Re: ESP32 Chip Versions/Revisions

Well, they may sell a lot of them, but it's not because of their responsive customer service department as I have not had any reply to my query, so I guess I will just have to buy one and find out...
by ellisjr
Fri Dec 04, 2020 9:48 pm
Forum: General Discussion and Questions
Topic: ESP32 Chip Versions/Revisions
Replies: 4
Views: 1945

Re: ESP32 Chip Versions/Revisions

Yes, thanks for the pointer @pythoncoder, good call! I was surprised that it is not even that expensive, though shipping might be pricey, but I need to get this done. I hope to eventually build my own boards so I'll be able to source the right chips for those. I've mailed Mouser to find out what rev...
by ellisjr
Thu Dec 03, 2020 9:49 pm
Forum: General Discussion and Questions
Topic: Why can MicroPython not use the ULP WAKE instruction
Replies: 20
Views: 8775

Re: Why can MicroPython not use the ULP WAKE instruction

@mattyt Oh dear, I've looked at the code you referred to and it's fairly much mumbo-jumbo to me :cry: I guess we need to add another bool called wake to the typedef for machine_rtc_config and also another static object similar to esp32_wake_on_touch called esp32_wake but I don't see where these conn...
by ellisjr
Thu Dec 03, 2020 8:36 pm
Forum: General Discussion and Questions
Topic: Why can MicroPython not use the ULP WAKE instruction
Replies: 20
Views: 8775

Re: Why can MicroPython not use the ULP WAKE instruction

Yes, ets Jun 8 2016 00:22:57 is what I have on my Rev 1 boards. I agree that it would seem unlikely that they would issue a new chip version without there being need or desire to have a later version of the firmware. So, are these V3 chips on dev boards basically hens' teeth!? I eagerly await info. ...
by ellisjr
Thu Dec 03, 2020 4:56 pm
Forum: General Discussion and Questions
Topic: ESP32 Chip Versions/Revisions
Replies: 4
Views: 1945

ESP32 Chip Versions/Revisions

Can anybody categorically tell me which revisions/versions of ESP32 chips are in circulation (i.e. likely to be used in a development board)? I think that there are Version 0, 1 and 3 out there (2 was very limited?). Please correct me if my understanding is incorrect, or even slightly shaky :lol: If...
by ellisjr
Thu Dec 03, 2020 12:16 pm
Forum: General Discussion and Questions
Topic: Why can MicroPython not use the ULP WAKE instruction
Replies: 20
Views: 8775

Re: Why can MicroPython not use the ULP WAKE instruction

Well, as I understand it, the simplest way to check is to load an Arduino sketch to the ESP32. This is what I saw (I highlighted the crucial line in italics): Global variables use 15388 bytes (4%) of dynamic memory, leaving 312292 bytes for local variables. Maximum is 327680 bytes. esptool.py v2.6 S...