FlashPiCC
Tool to flash CC253x via RaspberryPI without a debugger
Install / Use
/learn @kianusch/FlashPiCCREADME
flashPiCC
Tool to flash CC253x via RaspberryPI without a debugger
This tool can be used to flash CC253x boards (and probably others) via RaspberryPI. A CC-debugger is not neccecary. WiringPI has to be installed on the PI.
Wiring:
CC253x .............. PI (wPi)
RESET (RST) ......... GPIO22 (Phys31)
DATA/DD (P2.1) ...... GPIO0 (Phys11)
CLOCK/DC (P2.2) ..... GPIO2 (Phys13)
VCC ................. 3.3V (e.g. Phys1)
GND ................. 0V/GND (e.g.Phys9)
Labeling is according to wiringPi PIN-Names.

If you prefere different PINs on the Raspberry side, this can be changed in the code.
Compiling:
Use supplied Makefile - or manualy run C-compiler...
# gcc -o flashPiCC flashPiCC.c -lwiringPi
Flashing:
The firmware to be flashed has to be in hex-format. Flashing can be started by:
# ./flashPiCC -f firmware.hex
The CC253x is erased before the firmware is flashed.
Flashing and Verifying:
if -V is passed, the flashing is verified by coparing the written data with the original data.
# ./flashPiCC -V -f firmware.hex
Resetting:
If the CC253x needs to be resetted, this can be done with
# ./flashPiCC -r
Have Fun.
Related Skills
node-connect
347.0kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
107.8kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
347.0kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
347.0kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
