ESP Programming
Posted: Wed Mar 03, 2021 3:03 pm
Just trying to get ESP programming working - and encountered a few things which I'm not sure about..
1) If the program 'falls' off the end (loop: goto loop) then I get watchdog timer fired - program didn't respond in time - message on the uart. This is if auto clear watchdog is set/not set. It doesn't occur during program execution.
2) I tried to add a software UART - the interrupts on timer0..3 only give an allowable interval of 256 and 1000. Resolution of ms or seconds. Is this correct?
3) When I added the software uart - I had SoftUART::Initialise() - in a disabled macro. This stopped compilation with a raft of error messages. If pins are set correctly (or macro deleted) this doesn't happen. But should FC add the code even for a disabled macro??
4) The pins for hardware SPI channel don't seem to auto-select correctly. (It does but there should be 2 channels vspi and hspi)
5) The chip view diagram doesn't zoom on enlarging the window.
6) Some of the pin defs are incorrect (top of rhs in diagram) The pin diagram shows the pinout from below - so is mirrored to the usual way of looking at things... see https://resource.heltec.cn/download/WiF ... ram_V2.pdf
Martin
1) If the program 'falls' off the end (loop: goto loop) then I get watchdog timer fired - program didn't respond in time - message on the uart. This is if auto clear watchdog is set/not set. It doesn't occur during program execution.
2) I tried to add a software UART - the interrupts on timer0..3 only give an allowable interval of 256 and 1000. Resolution of ms or seconds. Is this correct?
3) When I added the software uart - I had SoftUART::Initialise() - in a disabled macro. This stopped compilation with a raft of error messages. If pins are set correctly (or macro deleted) this doesn't happen. But should FC add the code even for a disabled macro??
4) The pins for hardware SPI channel don't seem to auto-select correctly. (It does but there should be 2 channels vspi and hspi)
5) The chip view diagram doesn't zoom on enlarging the window.
6) Some of the pin defs are incorrect (top of rhs in diagram) The pin diagram shows the pinout from below - so is mirrored to the usual way of looking at things... see https://resource.heltec.cn/download/WiF ... ram_V2.pdf
Martin