TOI Firmware on Catus Micro R2

Hello ,

I have been trying to get “TOI Firmware” to work with Catus Micro R2 and seem to have a gap in my knowledge. I have installed Nodemcu and both the recent AI thinker firmware 9.5 and 1.1.1 but, the sketch will not communicate with the esp.

I had to change some declaration to const in the “firmware of TOI” for it to compile in 1.6.* … with 1.1.1 and 9.5 I get the following output from serial

Free RAM:956
Setting ESP enable on.
Reset pin state is:1
Calling app_init()
Entering main loop()
Sent: AT

Timeout
ERROR DID NOT RECEIVE: OK

Find “OK
” len:4 buffer:@0 buflen:0

Timeout
ERROR, ESP STUCK:
Find “OK
” len:4 buffer:@0 buflen:0

Timeout
ERROR, ESP still STUCK:
No response from ESP8266 will retry in 60s.

with Nodemcu internal firmware installed, it states similar but with “=” near AT error. Do I need to solder the pads on the bottom to correctly flash, maybe I’m flashing the wrong? Any help greatly appreciate to make use of this nice little device!

Could you please post your sketch here?

Hello,

I used the github respotory https://github.com/dherrendoerfer/TOI_Firmware/tree/master/Cactus_Micro/beta/TOI_firmware_CM

Found in the link
http://wiki.aprbrother.com/wiki/Cactus_Micro_R2_Tutorial#For_espduino_library_from_Tuan_PM

for 1.6.* I’ve changed all “prog_char” to “const char” in all files and it compiles without warnings or error.

Please try these steps:

  1. Use Nodemcu-flasher upload the firmware 0.9.5.2-9600.bin to esp8266
  2. Upload the sketch TOI to Cactus Micro
  3. Test again

Please let me know if this work

Hello aprilpea,

This did work and communication did between the esp and micro could connect. However for whatever reason all the webpages except the main index would timeout. I suppose the author would need to update the code for this rev or maybe my settings are still somehow incorrect.

Did you test with original TOI example code?