Comments (4)
I had this same issue, and I run through the cc2538-bsl.py code and found that the error it's on the byte array casting. But I found that I was running an old version and using the new version I had no problems. Seems that everything its good now.
if have_magic:
file_type = bytearray(magic.from_file(path, True))
## I just put the "utf-8" and worked for me
if have_magic:
file_type = bytearray(magic.from_file(path, True), "utf-8")
from cc2538-bsl.
Thanks for reporting this, interesting that this hasn't come up earlier.
Feel free to submit a PR adding the encoding.
from cc2538-bsl.
@sebbad could you describe the steps to reproduce this bug?
from cc2538-bsl.
@sebbad can you confirm your issue is fixed with the latest version of the script?
from cc2538-bsl.
Related Issues (20)
- Timeout waiting for ACK/NACK after 'Synch (0x55 0x55)' HOT 15
- ERROR: Could not determine firmware type. Magic indicates 'inode/chardevice' HOT 1
- Docker support HOT 5
- Am I doing it right?? HOT 4
- [REQUEST] Ability to auto-detect known dongles based on information provided in info USB-to-UART bridge/converter chip HOT 2
- ERROR: Timeout waiting for ACK/NACK after 'Send data (0x24)' HOT 3
- Executing cc2538-bsl require pyserial which I already have installed HOT 3
- Timeout waiting for ACK/NACK after 'Get ChipID (0x28)' HOT 4
- Timeout waiting for ACK/NACK after 'Send data (0x24)'. HOT 2
- --ieee-address does not update work with sonoff zigbee 3.0 USB dongle plus HOT 3
- Which Pyhon version is supported? HOT 7
- [REQUEST] SL Web Tools implementation of cc2538-bsl for flashing TI firmware via a web browser? HOT 4
- Sonoff zigbee 3.0 USB dongle plus doesn't stay connected as a ROUTER - goes offline HOT 1
- Timeout waiting for ACK/NACK HOT 1
- [SUGGESTION] Copy CLI syntax from "Universal Silicon Labs Flasher" and rename to "Universal Texas Instruments Flasher"
- Timeouts are set too short for flashing over LAN.
- Order of operations (erase, check file, write) HOT 1
- Move size check before erase HOT 2
- Flashing ZBDongle-P is only temporary HOT 1
- setuptools.installer and fetch_build_eggs are deprecated. HOT 1
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 cc2538-bsl.