Newbie flashing a LinkNode R4

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
Bubba123
Normal user
Posts: 2
Joined: 06 May 2019, 03:39

Newbie flashing a LinkNode R4

#1 Post by Bubba123 » 08 May 2019, 03:59

Sorry for the questions; I did try to RTFM to figure this out but to no avail. I have a LinkNode R4 that I'm trying to get ESP Easy on. I'm on a Mac so I wasn't able to use the tools bundled. Can someone clue me in on what to do next? I moved the jumper to UART flash to get it flashed, then tried moving it back to flash boot mode, but never see the wifi SSID being broadcast to connect to. Also, didn't see anything in Arduino Tools -> Serial Monitor (then again, not sure what settings I would use to see anything). I was able to load some code into the unit via Arduino https://github.com/SteveInCO/LinknodeR4 ... Server.ino, so I know my serial setup/power/device is working, but I'd like to get ESP Easy so I can do rules that I can modify remotely (without having to re-flash).

Code: Select all

$ sudo ./esptool.py --chip esp8266 --port /dev/cu.usbserial flash_id
esptool.py v2.7-dev
Serial port /dev/cu.usbserial
Connecting...
Chip is ESP8266EX
Features: WiFi
Crystal is 26MHz
MAC: ec:fa:bc:28:3e:09
Uploading stub...
Running stub...
Stub running...
Manufacturer: 20
Device: 4016
Detected flash size: 4MB
Hard resetting via RTS pin...

$ sudo ./esptool.py --chip esp8266 --port /dev/cu.usbserial erase_flash
esptool.py v2.7-dev
Serial port /dev/cu.usbserial
Connecting........_____....._____..
Chip is ESP8266EX
Features: WiFi
Crystal is 26MHz
MAC: ec:fa:bc:28:3e:09
Uploading stub...
Running stub...
Stub running...
Erasing flash (this may take a while)...
Chip erase completed successfully in 8.7s
Hard resetting via RTS pin...

$ sudo ./esptool.py --port /dev/cu.usbserial write_flash 0x000000 ESP_Easy_mega-20190425_normal_ESP8266_4M.bin
esptool.py v2.7-dev
Serial port /dev/cu.usbserial
Connecting........_
Detecting chip type... ESP8266
Chip is ESP8266EX
Features: WiFi
Crystal is 26MHz
MAC: ec:fa:bc:28:3e:09
Uploading stub...
Running stub...
Stub running...
Configuring flash size...
Auto-detected Flash size: 4MB
Compressed 809824 bytes to 527899...
Wrote 809824 bytes (527899 compressed) at 0x00000000 in 47.1 seconds (effective 137.5 kbit/s)...
Hash of data verified.
Leaving...
Hard resetting via RTS pin...

Bubba123
Normal user
Posts: 2
Joined: 06 May 2019, 03:39

Re: Newbie flashing a LinkNode R4

#2 Post by Bubba123 » 12 May 2019, 20:53

FYI, it was related to the power supply. The power supply pictured provided too much power, I guess. I soldered on a USB connector and powered it with a 1AMP adapter and it works fine. Hoping this might help someone, somewhere who's just getting junk output to serial and things appear to not work.
IMG_0490.jpeg
IMG_0490.jpeg (2.13 MiB) Viewed 276 times

Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests