Browse Source

Update README.md

master
jmichault 5 years ago
committed by GitHub
parent
commit
70cfb9c3fd
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 5 deletions
  1. +6
    -5
      README.md

+ 6
- 5
README.md View File

@@ -54,11 +54,12 @@ To flash file to cc2531 :

## Using other pins
all commands accept following arguments :
-c pin : change pin_DC (default 27)
```bash
-c pin : change pin_DC (default 27)
-d pin : change pin_DD (default 28)
-r pin : change reset pin (default 24)
-m : change multiplier for time delay (default auto)
```
the pin numbering used is that of wiringPi. Use "gpio readall" to have the layout on your pi (wPi column).

example, if you want to use pins 3, 11 and 13 :
@@ -79,12 +80,12 @@ and now you can read chip id, save flash content, erase flash, and write flash w
You can also change default values in CCDebugger.h and recompile executables with make.

## what to try if it doesn't work?
### stop all other programs before flash.
### use the -m option to increase time delays used. Example :
1. stop all other programs before flash.
2. use the -m option to increase time delays used. Example :
```bash
./cc_write -m 300 CC2531ZNP-Pro.hex
```
### executables are compiled on my raspbian distribition, you can try to recompile for your distribution with make.
3. executables are compiled on my raspbian distribition, you can try to recompile for your distribution with make.

## License



Loading…
Cancel
Save