解决 C Control block not found [__main__] 问题.
Signed-off-by: rick.chan <cy@sina.com>
This commit is contained in:
parent
8706026679
commit
db54ecb500
|
@ -85,10 +85,15 @@ pyocd.exe rtt --target <Target Chip Name> --pack <"/Path/To/Nationstech.N32L40x_
|
|||
|
||||
- --help
|
||||
- --address
|
||||
- --size
|
||||
- --up-channel-id
|
||||
- --down-channel-id
|
||||
- --log-file
|
||||
|
||||
PyOCD v0.35.1 及 v0.36.0 的 RTT 存在一个 Bug 导致使用 RTT 是出现 “C Control block not found [__main__]” 错误。回退到 v0.34.3 则该问题消失,参见 [Control block not found when using rtt with pyocd 0.35.0 #1553 ](https://github.com/pyocd/pyOCD/issues/1553)
|
||||
|
||||
遇到该问题可以使用 [Reset the offset in finding control block #1654](https://github.com/pyocd/pyOCD/pull/1654/commits/94debabb9f8b4415fa1f5ede409e77b6f60f6375) 或 [Fix RTT Control Block Search #1669](https://github.com/pyocd/pyOCD/pull/1669/commits/4c9acbcefb58de87d6e164e1868cd1cee2c16f31) 方法临时修正。但目前这两种修复方法都不支持指定 --address 和 --size 参数,因此,即便使用了这两个 pack,但在使用 RTT 时指定了这两个参数,依然会报“C Control block not found [__main__]” 错误。
|
||||
|
||||
## 8. 外部参考资料
|
||||
|
||||
1. [PyOCD Command reference](https://pyocd.io/docs/command_reference.html)
|
||||
|
|
Loading…
Reference in New Issue