Comments (9)
the chip is being detected properly (same as in the reply above), but when flashing it gives out the following error on MacOS 10.13.4 for me:
ERROR: Flash verification error on offset 0x0000
INFO: Found a CC2531 chip on /dev/cu.wchusbserial14110
Chip information:
Chip ID : 0xb524
Flash size : 256 Kb
Page size : 2 Kb
SRAM size : 8 Kb
USB : Yes
Sections in CC2531ZNP-Pro-Secure_LinkKeyJoin_mod.hex:
Addr. Size
-------- -------------
0x0000 8176 B
0x1ff6 10 B
0x3fff0 1 B
0x2000 239616 B
This is going to OVERWRITE the chip. Are you sure? <y/N>: y
Flashing:
- Flashing 4 memory blocks...
-> 0x0000 : 8176 bytes
Progress 0%... ERROR: Flash verification error on offset 0x0000
Any idea what can it be?
from cclib.
I bought one of the sticks as well and it did not work for me either. What finally let me flash it was https://github.com/RedBearLab/CCLoader on windows with prebuilt exe, arduino leonardo and a level shifter (not voltage divider) to safely interface with the stick.
I am not trying to discourage using CCLib, just that this might help get the ball rolling.
from cclib.
Works fine here on macOS 10.13.4, with a Arduino Due (so no voltage divider, and the native USB port with SerialUSB).
./cc_info.py -p /dev/cu.usbmodem14921
INFO: Found a CC2531 chip on /dev/cu.usbmodem14921
Chip information:
Chip ID : 0xb524
Flash size : 256 Kb
Page size : 2 Kb
SRAM size : 8 Kb
USB : Yes
Device information:
IEEE Address : 00124b000e89
PC : 0000
Debug status:
[ ] CHIP_ERASE_BUSY
[ ] PCON_IDLE
[X] CPU_HALTED
[ ] PM_ACTIVE
[ ] HALT_STATUS
[ ] DEBUG_LOCKED
[X] OSCILLATOR_STABLE
[ ] STACK_OVERFLOW
Debug config:
[ ] SOFT_POWER_MODE
[ ] TIMERS_OFF
[X] DMA_PAUSE
[X] TIMER_SUSPEND
from cclib.
I understand this post is few months old but I've just hit same issue as @balonchiks. Solved it by adding
--erase at the end of cc_write.py command (I believe -e would also work as it clearly says it in the official instuction. Flashed CC2531 with Arduino Uno with no resistors.
from cclib.
Hi together! How did you wire your UNO? If I try to run the cc_info.py, I get only "No chip found. Check your connection and/or wiring". My CC2531 gets green for a short time. But nothing else happen :(
from cclib.
I bought one of the sticks as well and it did not work for me either. What finally let me flash it was https://github.com/RedBearLab/CCLoader on windows with prebuilt exe, arduino leonardo and a level shifter (not voltage divider) to safely interface with the stick.
I am not trying to discourage using CCLib, just that this might help get the ball rolling.
Where did you get the bin from?
from cclib.
Where did you get the bin from?
It's right there, in a folder named Windows
from cclib.
Works fine here on macOS 10.13.4, with a Arduino Due (so no voltage divider, and the native USB port with SerialUSB).
How and which pins did you use with your Arduino Due and the CC2531?
from cclib.
@balonchiks I was able to workaround this by lowering UART speed to 9600baud. Dunno why this worked ¯_(ツ)_/¯
from cclib.
Related Issues (20)
- support for CC2530 HOT 5
- Problem with CClib proxy HOT 29
- Start linear address in hex file HOT 3
- flashing TI CC2531 stick with TI Zstack ZNP firmware HOT 1
- Suggestion to change cc_delay to make it MCU speed agnostic HOT 1
- Testing CC2541
- Windows support HOT 4
- СС2530 Connect problem (ChipID always 0x0) HOT 3
- Flashing CC2531 with approx 250 KB firmware takes 2 hours
- cc_write_flash.py ERROR: IOError: Line 514: Unknown record type 05 HOT 6
- CC2531: Resistors issue HOT 8
- Wrong flash size read if chip is DEBUG_LOCKED HOT 3
- CC2531 license
- Support for cc2640
- ERROR: Could not detect a CCLib_proxy connected on any serial port
- python 2.7 or later is asking for me to encode HOT 19
- Add support for python 3.x HOT 1
- trying to read the firmware of a cc2541 0x41.. would return all bytes as 0xFF HOT 8
- CC2530 support HOT 6
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 cclib.