Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

CC1310: Bogus CCFG in nortos project in SDK 1.50

$
0
0

Part Number:CC1310

Hi, I'm having trouble programming firmware through the bootloader. I eventually narrowed the problem down to what appears to be bogus CCFG section in the hex file. In a good project (from a pre-SDK project), the last 128 bytes of the CCFG page in the hex files are

ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff ff ff ff ff ff ff 00 00 80 01 10 00 88 ff fd ff 58 00 3a f
f bf f3 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff ff c5 06 fe c5 ff ff ff ff 00 ff ff ff c5 00 c5 ff 00 00 00
ff 00 00 00 00 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff

This looks okay. For example, the first non-ff bytes are contain 01 and 0x8000000 which are SET_CCFG_EXT_LF_CLK_DIO and SET_CCFG_EXT_LF_CLK_RTC_INCREMENT.

The same bytes in a hex file from an SDK 1.50 project that started as one of the RF nortos examples, I got

ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff ff ff ff ff ff ff 00 10 fd 3a ff ff ff ff ff ff ff ff c5 f
f 00 c5 00 00 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff

This seems wrong. The on-board bootloader refuses to program this into the device (which is probably a great thing otherwise the chip would be bricked due to the incorrect configuration of the bootloader backdoor).

Any idea what might be causing the file to be generated this way? The ccfg.c file seems fine.

Thanks, Sivan Toledo


Viewing all articles
Browse latest Browse all 262198

Trending Articles