I'm digging into a BLE product based on a CC2541 MCU (similar to the Texas Instruments SensorTag). So for experimenting we can use an official firmware: http://processors.wiki.ti.com/images/1/10/SensorTagFW_1_5.zip
binwalk does not give any results. strings give some valid information, so the file is ok.
Reading the datasheet for CC2541 tells it is a 8051 controller. (?)
So i tried:
root@kali:~/bm2# radare2 -a 8051 firmware.bin Cannot set bits 32 to '8051' Cannot set bits 32 to '8051' -- Use 'e' and 't' in Visual mode to edit configuration and track flags. [0x00000000]> aaaa [*** invalid %N$ use detected ***th sym. and entry0 (aa) Aborted
I know there is an open bug about %N$: https://github.com/radare/radare2/issues/3944
Do i do it all wrong, or can somebody point me in the right direction? A bit unsure about the MCU settings and bitsize though.