[ModusToolbox™]

capsense Tuner失败

[复制链接]
256|9
手机看帖
扫描二维码
随时随地手机跟帖
善水789|  楼主 | 2024-7-5 17:17 | 显示全部楼层 |阅读模式
使用MTB3.2在进行Capsense Tuner失败,信息如下:有没有知道原因的,指点一下,谢谢。
350686687b9eabe23e.png

955456687b9bc6c002.png


==========================
OpenOCD process started
==========================

Open On-Chip Debugger 0.12.0+dev-5.1.0.3099 (2024-05-02-11:37)
Licensed under GNU GPL v2
For bug reports, read
        http://openocd.org/doc/doxygen/bugs.html
C:/Users/JCT/ModusToolbox/tools_3.2/capsense-configurator/rtt.tcl: Info: Found symbol '_SEGGER_RTT' @ 0x200003e4 in executable 'C:/Users/JCT/mtw/MSCLP_LLS_Template_UartTuner/build/APP_CY8CKIT-040T/Debug/mtb-example-psoc4-msclp-self-capacitance-button.elf'
adapter speed: 2000 kHz
adapter speed: 8000 kHz
Info : Using CMSIS-DAPv2 interface with VID:PID=0x04b4:0xf151, serial=1A2105B803260522
Info : CMSIS-DAP: SWD supported
Info : CMSIS-DAP: Atomic commands supported
Info : CMSIS-DAP: FW Version = 2.0.0
Info : CMSIS-DAP: Serial# = 307799870
Info : CMSIS-DAP: Interface Initialised (SWD)
Info : SWCLK/TCK = 1 SWDIO/TMS = 1 TDI = 0 TDO = 0 nTRST = 0 nRESET = 1
Info : CMSIS-DAP: Interface ready
Info : KitProg3: FW version: 2.40.1241
Info : KitProg3: Pipelined transfers enabled
Info : KitProg3: Asynchronous USB transfers enabled
Info : VTarget = 0.000 V
Info : clock speed 8000 kHz
Info : SWD DPIDR 0x0bc11477
Info : [psoc4.cpu] Cortex-M0+ r0p1 processor detected
Info : [psoc4.cpu] target has 4 breakpoints, 2 watchpoints
*****************************************
** Silicon: 0x3612, Family: 0xC6, Rev.: 0x22 (B1)
** Detected Family: PSoC 4000T
** Detected Device: CY8C4046LQI-T452
** Detected Main Flash size, kb: 64
** Chip Protection: OPEN
*****************************************
Info : [psoc4.mem_ap] Examination succeed
Info : [psoc4.cpu] Examination succeed
Info : gdb port disabled
Info : starting gdb server for psoc4.cpu on 3333
Info : Listening on port 3333 for gdb connections
Info : Listening on port 6666 for tcl connections
Info : Listening on port 4444 for telnet connections

Error: [psoc4.cpu] DP initialisation failed
Error: [psoc4.cpu] Failed to enable the FPB
Polling target psoc4.cpu failed, trying to reexamine
Info : [psoc4.cpu] Cortex-M0+ r0p0 processor detected
Info : [psoc4.cpu] target has 0 breakpoints, 0 watchpoints
Info : [psoc4.cpu] Examination succeed
: Info: Reset device executed
Command: C:/Users/JCT/ModusToolbox/tools_3.2/capsense-configurator/rtt.tcl: rtt setup 0x200003e4 10 {SEGGER RTT}
Command: C:/Users/JCT/ModusToolbox/tools_3.2/capsense-configurator/rtt.tcl: rtt server start 50566 0
Info : Listening on port 50566 for rtt connections
Command: C:/Users/JCT/ModusToolbox/tools_3.2/capsense-configurator/rtt.tcl: rtt server start 50567 1
Info : Listening on port 50567 for rtt connections
Command: C:/Users/JCT/ModusToolbox/tools_3.2/capsense-configurator/rtt.tcl: rtt polling_interval 1
Command: C:/Users/JCT/ModusToolbox/tools_3.2/capsense-configurator/rtt.tcl: rtt start
Info : rtt: No control block with id 'SEGGER RTT' found, will retry
C:/Users/JCT/ModusToolbox/tools_3.2/capsense-configurator/rtt.tcl: RTT Channel Info
rtt: Control block not available
Error: Size 2 not supported
C:/Infineon/Tools/ModusToolboxProgtools-1.1/openocd/scripts/interface/kitprog3.cfg:39: Error: rtt: Control block not available
at file "C:/Infineon/Tools/ModusToolboxProgtools-1.1/openocd/scripts/interface/kitprog3.cfg", line 39
Error: Size 2 not supported
Error: Size 2 not supported
Error: Size 2 not supported
Error: Size 2 not supported
Error: Size 2 not supported
Error: Size 2 not supported
Error: Size 2 not supported
Error: Size 2 not supported
Error: Size 2 not supported

Error: Size 2 not supported (repeated 16 times)
Error: Size 2 not supported (repeated 20 times)
Info : accepting 'rtt' connection on tcp/50567
Warn : rtt: Down-channel 1 is not available
Error: Size 2 not supported
Error: Size 2 not supported
Error: Size 2 not supported
Error: Size 2 not supported
Error: Size 2 not supported
Error: Size 2 not supported
Error: Size 2 not supported
Error: Size 2 not supported
Error: Size 2 not supported
Error: Size 2 not supported (repeated 16 times)
Error: Size 2 not supported (repeated 32 times)

Error: Size 2 not supported (repeated 64 times)
Error: Size 2 not supported (repeated 79 times)
Error: Size 2 not supported
Error: Size 2 not supported
Error: Size 2 not supported
Error: Size 2 not supported
Error: Size 2 not supported
Error: Size 2 not supported
Error: Size 2 not supported
Error: Size 2 not supported
Error: Size 2 not supported
Error: Size 2 not supported
Error: Size 2 not supported (repeated 16 times)
Error: Size 2 not supported (repeated 32 times)

Error: Size 2 not supported (repeated 40 times)
Warn : rtt: Down-channel 1 is not available
Error: Size 2 not supported
Error: Size 2 not supported
Error: Size 2 not supported
Error: Size 2 not supported
Error: Size 2 not supported
Error: Size 2 not supported
Error: Size 2 not supported
Error: Size 2 not supported
Error: Size 2 not supported
Error: Size 2 not supported (repeated 16 times)
Error: Size 2 not supported (repeated 32 times)

Error: Size 2 not supported (repeated 64 times)
Error: Size 2 not supported (repeated 71 times)
Error: Size 2 not supported
Error: Size 2 not supported
Error: Size 2 not supported
Error: Size 2 not supported
Error: Size 2 not supported
Error: Size 2 not supported
Error: Size 2 not supported
Error: Size 2 not supported
Error: Size 2 not supported
Error: Size 2 not supported
Error: Size 2 not supported (repeated 16 times)
Error: Size 2 not supported (repeated 32 times)

Error: Size 2 not supported (repeated 48 times)
Error: Size 2 not supported
Error: Size 2 not supported
Error: Size 2 not supported
Error: Size 2 not supported
Error: Size 2 not supported
Error: Size 2 not supported
Error: Size 2 not supported
Info : dropped 'rtt' connection
shutdown command invoked
Info : psoc4.dap: powering down debug domain...
Warn :
*******************************************************************************************
* KitProg3 firmware is out of date. Update to the latest detected version (2.60.1450)
* found in C:/Infineon/Tools/ModusToolboxProgtools-1.1/kp-firmware
* using fw-loader tool
*******************************************************************************************
Error: Size 2 not supported
OpenOCD Duration: 7210 ms

==========================
OpenOCD process finished
==========================




使用特权

评论回复
评论
IFXJone 2024-7-9 15:21 回复TA
请问您是自己写的代码还是用的我们的demo程序 
chenjun89| | 2024-7-7 18:35 | 显示全部楼层
对这个不熟悉,估计是配置原因。

使用特权

评论回复
IFX-Unic| | 2024-7-7 22:57 | 显示全部楼层
有没有使用新的jlink rtt源文件更新替换过原来的RTT文件?

使用特权

评论回复
善水789|  楼主 | 2024-7-8 14:59 | 显示全部楼层
IFX-Unic 发表于 2024-7-7 22:57
有没有使用新的jlink rtt源文件更新替换过原来的RTT文件?

这个工程的RTT没有改动过,PSOC 4000T液位检测的工程。

45050668b8de756a94.png

使用特权

评论回复
PSoC小子| | 2024-7-10 13:48 | 显示全部楼层
使用 RTT  的话,你要确保 debug 口是使能的,
24894668e20a20a7cd.png

使用特权

评论回复
elephant00| | 2024-7-10 15:03 | 显示全部楼层
软件配置有误?

使用特权

评论回复
jcky001| | 2024-7-10 20:00 | 显示全部楼层
设备固件或调试器驱动可能不是最新版本,或者存在兼容性问题。

使用特权

评论回复
两只袜子| | 2024-7-11 15:00 | 显示全部楼层
如果Capsense Tuner是通过UART或其他通信接口与设备连接的,那么连接问题(如线路故障、接口不匹配等)可能导致通信失败。

使用特权

评论回复
cr315| | 2024-7-11 15:00 | 显示全部楼层
资源冲突或者代码错误

使用特权

评论回复
发新帖 我要提问
您需要登录后才可以回帖 登录 | 注册

本版积分规则

15

主题

29

帖子

0

粉丝