From c59b600b1a3005da86940d2dbd7bdbc6aef8c553 Mon Sep 17 00:00:00 2001 From: jmichault <48726908+jmichault@users.noreply.github.com> Date: Sat, 1 Feb 2020 22:57:44 +0100 Subject: [PATCH 1/3] Update README.md --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 82e194d..58a7fae 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,8 @@ flash CC2531 USB dongle from your Raspberry, without Arduino nor CC Debugger. ## prerequisites -A Raspberry Pi 3 with raspbian and [wiringPi](http://wiringpi.com/) installed. +You need a Raspberry with [wiringPi](http://wiringpi.com/) installed. +I have designed flash_cc2531 on a Raspberry Pi 3 with raspbian, but successful flashes have been reported on pi 1 and pi 2 : see sections [use other pins](#use-other-pins) and [what to try if it doesn't work](#what-to-try-if-it-doesnt-work). ## Getting Started @@ -52,7 +53,7 @@ To flash file to cc2531 : ``` (takes around 3 minutes). -## Using other pins +## Use other pins all commands accept following arguments : ```bash -c pin : change pin_DC (default 27) From ae477be0e0443d3391ef555d7bfdec1a89cae693 Mon Sep 17 00:00:00 2001 From: jmichault <48726908+jmichault@users.noreply.github.com> Date: Sat, 1 Feb 2020 22:59:06 +0100 Subject: [PATCH 2/3] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 58a7fae..7521e00 100644 --- a/README.md +++ b/README.md @@ -92,7 +92,7 @@ exit ```bash ./cc_write -m 300 CC2531ZNP-Pro.hex ``` -4. executables are compiled on my raspbian distribition, you can try to recompile for your distribution with make. +4. executables are compiled on my raspbian distribution, you can try to recompile for your distribution with make. ## License From 36bdc8b882bd35786761b70c56b6f70a148966df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn?= Date: Fri, 27 Mar 2020 23:59:27 +0100 Subject: [PATCH 3/3] update firmware filename changed CC2531ZNP-Pro.hex to CC2531ZNP-Prod.hex not sure if changed or typo, but current zip file has the new name --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 7521e00..645ebde 100644 --- a/README.md +++ b/README.md @@ -49,7 +49,7 @@ To erase the flash : To flash file to cc2531 : ```bash -./cc_write CC2531ZNP-Pro.hex +./cc_write CC2531ZNP-Prod.hex ``` (takes around 3 minutes). @@ -75,7 +75,7 @@ and now you can read chip id, save flash content, erase flash, and write flash w ./cc_chipid -r 8 -c 0 -d 2 ./cc_read -r 8 -c 0 -d 2 save.hex ./cc_erase -r 8 -c 0 -d 2 -./cc_write -r 8 -c 0 -d 2 CC2531ZNP-Pro.hex +./cc_write -r 8 -c 0 -d 2 CC2531ZNP-Prod.hex ``` You can also change default values in CCDebugger.h and recompile executables with make. @@ -90,7 +90,7 @@ exit ``` 3. use the -m option to increase time delays used. Example : ```bash -./cc_write -m 300 CC2531ZNP-Pro.hex +./cc_write -m 300 CC2531ZNP-Prod.hex ``` 4. executables are compiled on my raspbian distribution, you can try to recompile for your distribution with make.