Comments (4)
Are these switches based on Tuya cloud? Some other manufacturers use different encryption keys sometimes.
Can you dump the firmware first? It would help to find what kind of bootloader is there.
from ltchiptool.
I used the Android Tuya app so I guess it must be Tuya. The box is very generic and says "Tuya Basic Wi-Fi Switch/Breaker".
I am unable to dump the firmware....
**ltchiptool -v flash read bk7231n output**
D: Found Local data snapshot (v1.5.0) - /usr/local/lib/python3.11/site-packages/ltchiptool
I: Available COM ports:
I: |-- ttyUSB0 - FT232R USB UART - FT232R USB UART - FTDI (0403/6001)
I: | |-- Selecting this port. To override, use -d/--device
I: |-- ttyS0 - ttyS0
I: |-- ttyS1 - ttyS1
I: Connecting to 'Beken 7231N' on /dev/ttyUSB0 @ 115200
D: Linking: stage 0
D: Linking: stage 1
D: Linking: stage 2
D: Linking: stage 3
I: Connect UART1 of the BK7231 to the USB-TTL adapter:
I:
I: --------+ +--------------------
I: PC | | BK7231
I: --------+ +--------------------
I: RX | ------ | TX1 (GPIO11 / P11)
I: TX | ------ | RX1 (GPIO10 / P10)
I: | |
I: GND | ------ | GND
I: --------+ +--------------------
I:
I: Using a good, stable 3.3V power supply is crucial. Most flashing issues
I: are caused by either voltage drops during intensive flash operations,
I: or bad/loose wires.
I:
I: The UART adapter's 3.3V power regulator is usually not enough. Instead,
I: a regulated bench power supply, or a linear 1117-type regulator is recommended.
I:
I: To enter download mode, the chip has to be rebooted while the flashing program
I: is trying to establish communication.
I: In order to do that, you need to bridge CEN pin to GND with a wire.
I: |-- Success! Chip info: None
I: Reading Flash (2 MiB) to 'output'
[----------------------------------------------------------------] 0%D: Reading 4k page at 0x200000 (0.00%)
Reading failure (Incomplete response read: 3534 != 4101), retrying (attempt 0)
Reading failure (No response received), retrying (attempt 1)
Reading failure (No response received), retrying (attempt 2)
Reading failure (No response received), retrying (attempt 3)
Reading failure (No response received), retrying (attempt 4)
Reading failure (No response received), retrying (attempt 5)
Reading failure (No response received), retrying (attempt 6)
Reading failure (No response received), retrying (attempt 7)
Reading failure (No response received), retrying (attempt 8)
Reading failure (No response received), retrying (attempt 9)
Reading failure (No response received), retrying (attempt 10)
Reading failure (No response received), retrying (attempt 11)
from ltchiptool.
Please check if your wiring is solid and if your power supply to the chip is enough.
Sometimes when dealing with odd chips you might need to use BkWriter or another BK7231 dumping software. Bk7231tools is open-source, developed from scratch, and it's not based on Beken's code.
from ltchiptool.
Thank you, I have tried an external power source but no change, also checked the soldering again. I will try and troubleshoot. Maybe somebody else experiences a similar problem and can help.
from ltchiptool.
Related Issues (20)
- Avast detects virus in ltchiptool-v4.6.0.exe HOT 24
- Undefined method `Serial.set_buffer_size` method for non windows environment
- Problems flashing a new rtl8710bx board HOT 10
- Error running ltchiptool gui under macOS 13.6.1 HOT 12
- Unable to convert some datapoints. HOT 4
- Segmentation fault in Fedora 39 HOT 3
- Help with a Midea SmartKit Dongle HOT 10
- malware detected ?? HOT 2
- Firmware Dump Analysis HOT 2
- Tuya Storage decryption HOT 13
- Unrecognized chip 0x540A8B75 HOT 36
- v4.11.0 throws errors ... HOT 5
- RuntimeError: Error: 28841002: No permissions. Your subscription to cloud development plan has expired. HOT 7
- ltchiptool-v4.11.1.exe triggers MCAfee Virus threat ti!EBCF3BF55DBF - 4.11.0 does not trigger HOT 1
- Unknown bootloader CRC - 0x2739019F - please report this on GitHub issues! HOT 9
- Unknown bootloader CRC - 0xB7BFA0CE - please report this on GitHub issues HOT 7
- Using Tuya API - subscription cloud development plan has expired. HOT 1
- ltchiptool.gui.base.zc is deprecated ... HOT 2
- Failed to write flash
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ltchiptool.