Giter VIP home page Giter VIP logo

Comments (8)

ReDetection avatar ReDetection commented on May 25, 2024

OK, if I change resistors to 15k instead, then now it always give me random chip id โ€“ my guess that now cc2531 cannot change internal capacity of the pin quick enough. Hmm..
screenshot 2019-01-13 at 17 49 49

from cclib.

ReDetection avatar ReDetection commented on May 25, 2024

using 50k and 100k resistors it worked ๐ŸŽ‰ probably internal pullup resistors are different chip to chip. now I'm able to read the flash

from cclib.

ReDetection avatar ReDetection commented on May 25, 2024

and I also write succeed. cheers!

what is recommended way to make this knowledge shared? should I PR with just a note in readme or should I replace schematics, etc?

from cclib.

wavesoft avatar wavesoft commented on May 25, 2024

Hello @ReDetection !
I guess you are referring to the voltage divider resistors?

Please create a PR with the resistor values changed on the README.md, and if you can, also re-create the fritzing diagram with the new resistor symbols. If you cannot do it, I can do it later.

from cclib.

ReDetection avatar ReDetection commented on May 25, 2024

yes, I mean them.

ok I can do that.

Actually I had 50k/100k only for DD. DC and reset I drove with 15k/30k resistors to be extra sure target device won't influence them. should I keep it 15/30 or stick to 50/100 in the readme, fritzing and arduino header?

btw, I was able to communicate with CC2531 and CC2541 target chips, I think I can also note they are working in the readme.

from cclib.

wavesoft avatar wavesoft commented on May 25, 2024

Now that I think of it, let's create a troubleshooting section, right before the Compatibility Table section, and let's write your suggestion there. Something around the lines of:

Troubleshooting

You wired everything up, you double-checked that your pin assignments are correct and you are still not able to flash your device? Then try the following:

  • Try using 50/100 resistors instead of 100/200 ...
  • ...

This way we can add future corner cases there

from cclib.

wsowa avatar wsowa commented on May 25, 2024

Where does the "official" 100k/200k resistors values come from actually? I ask because they barely have a chance to work and no surprise they cause issues.

I've hooked up a scope into DD and DC lines and with 100k/200k resistors the signals look very distorted (rounded edges, signal barely manages to raise before falling). It seems like capacitance of pins, PCB and wireing has enough significance to cause problems. With 10k/20k resistors the edges are sharp and nice and I have no issues. The resistance is high enough to keep the current well below 1mA so no risk of damaging the chip or Arduino.

I suggest to modify the wiring documentation and change the resistances to 10k/20k so people don't get into the same problems.

from cclib.

tido- avatar tido- commented on May 25, 2024

if you have a Raspberry Pi (I am not a fan) you can just connect it and flash it. I wasted hours on the Arduino /ESP32 ideas. This just worked: https://github.com/jmichault/flash_cc2531

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.