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.
工具与软件:
您好、TI 专家。
我们正在验证代码库(从 cc1310设计)并将其移植到 cc1314R10设计。 我们已经能够在定制电路板上运行示例代码、但是、虽然与 cc1310中的 CCFG 设置相匹配、但 cc1314R10项目的 PWRPROF 抽头被意外禁用并加载到 MCU 中。 现在电路板无法使用、我们无法使用 UNIFLASH 工具刷写或擦除芯片。 我们也尝试了 dslite 工具没有任何效果。 我们始终会收到以下错误代码:
.\dslite.bat -c cc1314R10.ccxml -e -b Erase For more details and examples, please visit software-dl.ti.com/.../latest_qsguide.html DSLite version 12.2.0.2919 Configuring Debugger (may take a few minutes on first launch)... Initializing Register Database... Initializing: IcePick_C Executing Startup Scripts: IcePick_C Initializing: CS_DAP_0 Executing Startup Scripts: CS_DAP_0 Initializing: Cortex_M33_0 Executing Startup Scripts: Cortex_M33_0 Connecting... fatal: IcePick_C: Error connecting to the target: (Error -241 @ 0x0) A router subpath could not be accessed. A security error has probably occurred. Make sure your device is unlocked. (Emulation package 9.9.0.00040) Failed: Operation was aborted
使用的版本:
CCS 12.8.1.00005
SimpleLink cc13xx CC26xx SDK 7.41.0.17
SysConfig 1.21.0
我们如何使该芯片恢复到可编程状态?
尊敬的 Theo:
将 Launchpad 连接到计算机并打开 Uniflash 时是否仍检测到电路板?
不确定这句话是什么意思。 无论是否连接了外部电路板、这些工具都会发现 LaunchPad。 尚未找到基于 cc1310的电路板、但如果我们使用 cc1310F128器件和 XDS110编程器、则可以对其进行编程。
您是否曾尝试 在"New Configuration"下选择 CC1314R10、然后选择连接 XDS110并开始使用。 您是否尝试过此菜单提供的擦除和闪存选项?[/QUOT]这是我做的。 我尝试的选项为:"Erase Entire Flash"和"Program load with erasing all protected sectors"(擦除所有未受保护的扇区时加载程序)。 对于这两者、我会得到相同的错误:
Fullscreen1[25/10/2024, 15:02:08] [ERROR] IcePick_C: Error connecting to the target: (Error -241 @ 0x0) A router subpath could not be accessed. A security error has probably occurred. Make sure your device is unlocked. (Emulation package 9.9.0.00040)XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX[25/10/2024, 15:02:08] [ERROR] IcePick_C: Error connecting to the target: (Error -241 @ 0x0) A router subpath could not be accessed. A security error has probably occurred. Make sure your device is unlocked. (Emulation package 9.9.0.00040)
尊敬的 Theo:
我没有该定义的定义。 这是 SysConfig 生成的 ti_devices_config.c:
/* * ======== ti_devices_config.c ======== * Customer Configuration for CC26XX and CC13XX devices. * * DO NOT EDIT - This file is generated by the SysConfig tool. * */ //##################################### // Force VDDR high setting (Higher output power but also higher power consumption) // This is also called "boost mode" //##################################### // Use default VDDR trim #define CCFG_FORCE_VDDR_HH 0x0 //##################################### // Power settings //##################################### // Use the DC/DC during recharge in powerdown #define SET_CCFG_MODE_CONF_DCDC_RECHARGE 0x0 // Use the DC/DC during active mode #define SET_CCFG_MODE_CONF_DCDC_ACTIVE 0x0 //##################################### // Clock settings //##################################### // LF XOSC #define SET_CCFG_MODE_CONF_SCLK_LF_OPTION 0x2 // Don't apply cap-array delta #define SET_CCFG_MODE_CONF_XOSC_CAP_MOD 0x1 //##################################### // Special HF clock source setting //##################################### // HF source is a 48 MHz xtal #define SET_CCFG_MODE_CONF_XOSC_FREQ 0x2 //##################################### // Bootloader settings //##################################### // Disable ROM boot loader #define SET_CCFG_BL_CONFIG_BOOTLOADER_ENABLE 0x00 // Default address in IMAGE_VALID_CONF register #define SET_CCFG_IMAGE_VALID_CONF_IMAGE_VALID 0x00000000 //##################################### // Debug access settings //##################################### // Disable unlocking of TI Failure Analysis option #define SET_CCFG_CCFG_TI_OPTIONS_TI_FA_ENABLE 0x00 // Disable customer key CKEY0-3 to be XOR'ed with TI FA option unlock key #define SET_CCFG_CCFG_TI_OPTIONS_C_FA_DIS 0xC5 // Access enabled if also enabled in FCFG #define SET_CCFG_CCFG_TAP_DAP_0_CPU_DAP_ENABLE 0xC5 // Access disabled #define SET_CCFG_CCFG_TAP_DAP_0_PWRPROF_TAP_ENABLE 0x00 // Access disabled #define SET_CCFG_CCFG_TAP_DAP_0_TEST_TAP_ENABLE 0x00 // Access disabled #define SET_CCFG_CCFG_TAP_DAP_1_PBIST2_TAP_ENABLE 0x00 // Access disabled #define SET_CCFG_CCFG_TAP_DAP_1_PBIST1_TAP_ENABLE 0x00 // Access disabled #define SET_CCFG_CCFG_TAP_DAP_1_AON_TAP_ENABLE 0x00 //##################################### // Select between cache or GPRAM //##################################### // Cache is enabled and GPRAM is disabled (unavailable) #define SET_CCFG_SIZE_AND_DIS_FLAGS_DIS_GPRAM 0x1 // Set all of flash to non-secure, except the lowest 8 KB #define SET_CCFG_TRUSTZONE_FLASH_CFG_NSADDR_BOUNDARY 0x1 //##################################### // Bus security settings //##################################### /* * ======== Include Base Settings for device ======== */ #include <ti/devices/DeviceFamily.h> #include DeviceFamily_constructPath(startup_files/ccfg.c)
此致、
J.
您好、J:
您能访问 ccfg.c 并与我分享吗:include -> C:/ti/simplelink/... -> ti ->设备-> cc13x4_cc26x4 -> startup_files -> ccfg.c
从我在您的修改中可以看到、您只锁定了对功率分析器的访问、而不应锁定整个器件、但仍允许您发送擦除命令。
您确定您的设备工作正常吗?
此致、
等等
您好、J:
我将功耗分析器锁定在我们的一个板上、重现了此问题。
如果您从 Uniflash 目录中运行以下命令、您将触发批量擦除、之后您可以使用新软件再次刷写电路板。
./ dslite.bat --mode cc13xx-cc26xx-mass-erase -d XDS110
如果可行、请告诉我。
此致、
等等
尊敬的 Theo:
该命令有效。 感谢您的支持。
此致、
J.