This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

LAUNCHXL-CC1310: Reading CC1310 Device Flash Size using "Flash Programmer 2" CLI

Part Number: LAUNCHXL-CC1310
Other Parts Discussed in Thread: CC1310, UNIFLASH

Hi

We have a mix of 64KB and 128KB CC1310 devices and we need to be able to detect the device type and program the correct firmware in it accordingly. Using "Flash Programmer 2" GUI, there is an option to read device Flash Size by reading the FCFG1 area (FCFG1:FLASH_OTP_DATA3) as shown below:

   

Through CLI, I can read data from any address but when I try to read from this register, I get "Address out of range" error as shown below:

Is there another/better way of reading Flash size from the chip please?

What is the "Flash Programmer 2" GUI doing to get this information?

Thanks