We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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
The text was updated successfully, but these errors were encountered:
No branches or pull requests
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
The text was updated successfully, but these errors were encountered: