Coming soon - Get a detailed view of why an account is flagged as spam!
view details

This post has been de-listed

It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.

2
Nodemcu Infinite Loop...like a noob
Post Body

Hey.

So I knew it wasn't a great idea, but I was curious...so I made an infinite loop which used a delay...yeah...tmr.delay() and its hogging of the cpu.

So then I got stuck seeing my debug print (sending...) and wasn't able to communicate with the board to file.remove("init.lua").

So I figured I'd flash the board.

That worked!

Except it didn't...when I rebooted the board, it went right back to the loop. So after trying this 2 more times, I decided to flash the bin onto it twice in an effort to overwrite the code. I used the flasher tool to flash the newest nodemcu version onto the board twice at 0x00000 and 0x40000. That caused it to pump out all kinds of garbage. I then reflashed just at 0x00000 hoping that could do something. And it did...it made it go back to my infinite loop.

Have I bricked this thing?

Thanks for any help!! PS I have a nodemcu board..."LoLin"

Author
Account Strength
100%
Account Age
13 years
Verified Email
Yes
Verified Flair
No
Total Karma
13,751
Link Karma
6,649
Comment Karma
7,064
Profile updated: 3 days ago
Posts updated: 6 months ago

Subreddit

Post Details

We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
9 years ago