Giter VIP home page Giter VIP logo

Comments (9)

balonchiks avatar balonchiks commented on May 25, 2024 2

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.

Ingramz avatar Ingramz commented on May 25, 2024 1

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.

janinge avatar janinge commented on May 25, 2024

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.

miwinski avatar miwinski commented on May 25, 2024

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.

Donderda avatar Donderda commented on May 25, 2024

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.

Donderda avatar Donderda commented on May 25, 2024

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.

Ingramz avatar Ingramz commented on May 25, 2024

Where did you get the bin from?

It's right there, in a folder named Windows

from cclib.

rkantos avatar rkantos commented on May 25, 2024

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.

ReDetection avatar ReDetection commented on May 25, 2024

@balonchiks I was able to workaround this by lowering UART speed to 9600baud. Dunno why this worked ¯_(ツ)_/¯

from cclib.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.