question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Dumping WB8P from Energizer EAW2-1001-SWT Bulb - Running into issues

See original GitHub issue

Hey all,

I’m attempting to dump this light bulb for not only this, but another project I’m working on. I’ve gotten TX1 and RX1 soldered up along with GND and VCC (going to 3.3V) but cannot get this bulb to connect via using the BKWriter tool or the hid_download_py program.

I’ve tried both at all possible speeds, flipping around TX and RX, but nothing has worked. I always get a fail to init on the BKWriter, or “Cannot Get Bus” from the hid_download_py tool. I’ve tried rebooting during these processes when it is trying to connect, and nothing has worked so far.

My options for the command line are python3 uartprogram -d COM4 -s 0x0 -u -r bindump.bin along with various speeds. All of them have the same issue.

The lightbulb still responds within the app, so I know the chip is not dead.

Any ideas or suggestions?

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
TheN00bBuildercommented, Apr 18, 2022

These chips don’t have something like GPIO0 on an ESP8266 to put them into “bootloader mode.” What they do have is a really really small window on boot where you can send the right packets to be able to load or dump firmware. That’s what bk7231tools does. Try the following process:

  • Connect 3v3 and GND to the chip. Connect TX on USB adapter to RX1 on chip. Connect RX on USB adapter to TX1 on chip.
  • Start bk7231tools
  • Take another lead connected to GND and tap the CEN pin

What this does is have bk7231tools sitting and waiting to talk to the chip as fast as possible then you restart the chip by grounding the enable pin momentarily.

Perfect! Just tried this and got the full chip to dump. Thank you so much for the guide!!

I realized that my WiFi password and network are in plaintext on the .BIN, would it be okay for me to block them out with a’s before I upload the dump here?

0reactions
Cossidcommented, Dec 10, 2022

This post has been tagged as new-dump-needed and has had no response. This issue is being closed as stale. To re-open this issue, please provide a new dump following the guildines in the device dumps section of the Readme.

Read more comments on GitHub >

github_iconTop Results From Across the Web

No results found

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found