BASIC FILE GOT DESTROYED
Posted: Wed Aug 10, 2016 5:17 pm
I just flashed Rev 3 Alpha 33.
When I pressed RESET on my nodemcu I noticed that it no longer wrote the familiar ESP BASIC header with version and MAC address, just two <HR>s followed by the word “Done…”
Anyway, I tried the Load command and it said “Load Failed” on the serial terminal. But worse, to make a long story short, when, after the device spontaneously reset and produced a dump on the serial terminal, I then went to edit my program, called AAA.bas, but only the last 8 lines of that file remained intact.
The rest of the file has vanished, & has not come back after trying different strategies, like unplugging and plugging in the nodemcu. (I didn’t have a copy of that program…. I should know better!)
I’m pretty sure there is a bug in the initial way things come up after a new flash. And the Load command appears to have a glitch in it too. I’ll try the Load command again with a simple test program when I get my courage back.
It might be great, after flashing a chip, to do a checksum or crc check, and then say, "Flash Successful!" - I know it shows that 100% has been flashed, but it isn't perfectly clear (to me) that this 100% flash has been successful or not.
For some reason, now, the ESP BASIC header and MAC address now shows in its familiar form after RESET nodemcu and going to 192.168.4.1. Trials and tribulations of development.. One day we will laugh about this.
When I pressed RESET on my nodemcu I noticed that it no longer wrote the familiar ESP BASIC header with version and MAC address, just two <HR>s followed by the word “Done…”
Anyway, I tried the Load command and it said “Load Failed” on the serial terminal. But worse, to make a long story short, when, after the device spontaneously reset and produced a dump on the serial terminal, I then went to edit my program, called AAA.bas, but only the last 8 lines of that file remained intact.
The rest of the file has vanished, & has not come back after trying different strategies, like unplugging and plugging in the nodemcu. (I didn’t have a copy of that program…. I should know better!)
I’m pretty sure there is a bug in the initial way things come up after a new flash. And the Load command appears to have a glitch in it too. I’ll try the Load command again with a simple test program when I get my courage back.
It might be great, after flashing a chip, to do a checksum or crc check, and then say, "Flash Successful!" - I know it shows that 100% has been flashed, but it isn't perfectly clear (to me) that this 100% flash has been successful or not.
For some reason, now, the ESP BASIC header and MAC address now shows in its familiar form after RESET nodemcu and going to 192.168.4.1. Trials and tribulations of development.. One day we will laugh about this.