cc-tool icon indicating copy to clipboard operation
cc-tool copied to clipboard

Suddenly cc-tool stoped working!

Open heartinstaller opened this issue 1 year ago • 0 comments

This is what i did and ever-since then my CC2541mini DK is not getting recognised by the ccdebugger. Please guide.

MacBook-Air Application code % cc-tool --test Programmer: CC Debugger Target: CC2541 Device info: Name: CC Debugger Debugger ID: 8662 Version: 0x05CC Revision: 0x0044

Target info: Name: CC2541 Revision: 0x13 Internal ID: 0x41 ID: 0x2541 Flash size: 256 KB Flash page size: 2 RAM size: 8 KB Lock data size: 16 B MacBook-Air Application code % sdcc -mmcs51 --code-loc 0x0000 --data-loc 0x0000 --iram-size 256 -I /usr/local/share/sdcc/include -I . -o ledblink.hex main.c main.c:24: warning 88: cast of LITERAL value to 'generic' pointer from type 'long-int literal' to type 'volatile-unsigned-long-int generic* fixed' main.c:28: warning 88: cast of LITERAL value to 'generic' pointer from type 'long-int literal' to type 'volatile-unsigned-long-int generic* fixed' main.c:34: warning 88: cast of LITERAL value to 'generic' pointer from type 'long-int literal' to type 'volatile-unsigned-long-int generic* fixed' main.c:40: warning 126: unreachable code MacBook-Air Application code % cc-tool --erase -w ledblink.hex Programmer: CC Debugger Target: CC2541 Erasing flash... Completed
Writing flash (339 B)... Completed (0.12 s.) MacBook-Air Application code % cc-tool -t Programmer: CC Debugger No target detected

heartinstaller avatar Mar 17 '23 14:03 heartinstaller