ESP8266 + RFM69HW MQTT Gateway program persists
-
Hi,
When I press the reset button after reprogramming my Node MCU, it seems to be running the old script again. I'm seeing this behavior on 2 different NodeMCU's. What am I doing wrong here?
My ESP Node MCU seem to behave weird:
- install the Gateway script
- reprogram with the Blink script => it's blinking
- press reset
And it seems to be running the gateway script again?
⸮% ⸮=c⸮⸮MCO:BGN:INIT NODE,CP=RRNNE--,VER=2.1.1
TSM:INIT
TSF:WUR:MS=0
scandone
state: 0 -> 2 (b0)
state: 2 -> 3 (0)
state: 3 -> 5 (10)
add 0
aid 3
cnt
!TSM:INIT:TSP FAIL
TSM:FAIL:CNT=1connected with Airport, channel 6
dhcp client start...
TSM:FAIL:PDTAfter installing the ping pong script and then the mqtt gateway, I noticed the node started with a dhcp but then asked the node id (0 2) which is part of the ping pong script?
connected with Airport, channel 6
dhcp client start...
0;255;3;0;9;MCO:REG:NOT NEEDED
f r-1, scandone
.............ip:192.168.0.219,mask:255.255.255.0,gw:192.168.0.1
.IP: 192.168.0.219
0;255;3;0;9;MCO:BGN:STP
0;255;3;0;9;MCO:BGN:INIT OK,TSP=1
IP: 192.168.0.219
0;255;3;0;9;Attempting MQTT connection...
0;255;3;0;9;MQTT connected
0;255;3;0;9;Sending message on topic: mpp-mygateway1-out/0/255/0/0/18
pm open,type:2 0=> This last line seems to come from the previous ping/pong script?
Why do I keep getting traces of previous scripts? Do I need to run the clear eeprom script every time before I program the node?