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.

CC1352R: not running the application code.

Part Number: CC1352R
Other Parts Discussed in Thread: SYSCONFIG

Hello Team ,

Good day,

I'm trying to download the .out file into the controller CC1352R1 via Smart RF Flash Programer.
The issue is the code is getting downloaded but after power reset the code is not running.
I believe the "IMAGE_VALID_CONF" reg contain value 0xFFFFFFF could be the reason for not running the application code.
Can you please tell me how do we modify the register via the Programming Tool.
After the program is downloaded, we are getting successfull download message.
So I guess download is successful.
Also one more thing, if we uncheck the Keep CCFG option, the program was getting downloaded and running.
But after that I was unable to flash another firmware into the microcontroller
Also let me know if you need any other information from my side.

Best Regards

James Man

  • I assume you are referring to SmartRF Flashprogrammer 2 and not SmartRF Flash programmer?

    What SDK version are you using

    Which tools are you using

    which example are you trying to download

    Have you done manual changes to the code?

    If yes, are you having trouble downloading one of our default examples?

    Please give as much details as possible so that we can try to re-create the issue here.

    Siri

  • Hi Siri,

    1. We are using SmartRF Flash Programer 2 (v1.8.2)
    2.CCS 12.2.0 - gcc is used as ide and compiler
    3. CCFG bits are set via .sysconf file
    The option to "Enable Bootloader" was selected and the program was downloaded.
    After download is completed, we tried to read CCFG and data on address FECh shows 0xFFFFFFFF.
    4. We are using demo program and modified
    the button led code.

    Best Regards

    James Man

  • Hi James

    It is still not clear to me exactly what you are trying to do, and why.

    Why do you need to enable the Bootloader? This is not necessary to download the file using the flash programmer 2.

    You say that you change ccfg via sysconfig. Are you then referring to enabling the bootloader or are you changing anything else?

    What is the demo code you are referring to? Is this the modified buttonLed code or something else?

    You should be able to take any of our examples, build them and the download the .out file without any issues.

    Regarding the bootloader, if you need it for a reason, you can look through this document.

    https://www.ti.com/lit/an/swra466

     Siri

  • Hi Siri,

    Good day,

    We are able to download the firmware, using SmartRF Programmer utility (via UART) . The issue is we are able to download the Program only once. We have not tried downloading the sample code. However the question is, Is there any project setting which is restricting the code to be downloaded more than once.

    Best Regards

    James Man

  • I do not know what can cause the behavior you are referring to and will not be able to provide any more support unless we can get a details description on what is being done, and why.

    Start by using one of our default examples and verify that they work as they should.

    Then do the changes that you want to do (and explain why you do them, as I still do not know why you are playing around with the Bootloader settings, and what other CCFG settings are being changed).

    Once we can do the same changes as you are doing to one of our SDK examples, and reproduce the issue, we can try to figure out why it is behaving the way it does.

    Siri

  • Hi siri,

    Good day,


    the project can be downloaded multiple times on CC1352R1 eval board, but we are able to flash it only once in
    custom board.
    Regarding Sample code: Due to having limited boards, and some board getting locked / unable to program,
    we are not taking risk to download any code before knowing the exact cause of it

    Best Regards

    James Man

  • Unfortunately we cannot tell you the cause of your problems without being told the exact steps we need to do to re-create the problem at our end.

    Siri