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.

CC2340R5: Problems burning with uniflash

Part Number: CC2340R5
Other Parts Discussed in Thread: UNIFLASH, SYSCONFIG

Tool/software:

  Hi

  I am using uniflash version 8.6 to burn a chip, and uniflash has prompted some errors that prevent the chip from being burned properly.
I have followed the instructions in CCS (V12.5) to do a series of operations for "chip erase", but this does not have any effect.
The chip was burned normally before, and the firmware was generated with "Debug notallowed" set in syscfg, is this related? How can I solve this problem?

  • Hi,

    Setting "Debug not allowed" prevents to use the SWD to interface with the device (including read/write/erase the flash, or stepping in the code using a debugger).

    I usually recommend to set the Debug Configuration to "Require debug authentication", this way you keep the possibility to reflash the device, but prevent others to alter its program.

    If your question was how to "save" the unit you are working on, your last chance is to check whether the serial bootloader has been left open. In such case, you should be able to reflash the code and to change the configuration. To check this, look at the configuration set in SysConfig > Device Configuration > Bootloader Configuration. 

    I hope this will help,

    Best regards,

  • Hi 

    I've tried this method with the serial bootloader open in my configuration, but it doesn't write properly either.

  • Hi,

    The issue you mention with the bootloader is not expected to be related to the "Debug not allowed" setting.

    Can you confirm you manage to use the serial bootloader on devices configured differently?

    Best regards,