English 中文(简体)
没有任何SWV或ITM, 带有中链链路的 em子 programme子 programme子和中流32f103c8t
原标题:No SWV or ITM with st-link v2 emulator programmer and stm32f103c8t6

我购买了Ebay的廉价“最连接点”和STM32f013C8T6。 利用Windows 8的环礁和MCU的SWD接口,我能够上载和操作代码,设置突破点和观察变量,但我可以“在ITM或SWV追踪上使用印刷机”。

我也尝试采用真正的ST-LINK v2, 即Nucleo m32l152re委员会,结果相同。

ST-LINK和MCU之间的联系如下:

ST-LINK - MCU:

SWDIO - SWDIO, GND - GND, SWCLK - SWCLK, 3.3V - 3.3V

Unused pins on the ebay ST-LINK: RST, SWIM

Unused pins on the genuine ST-LINK: NRST, SWO

如果需要,我将乐于提供更多信息。

问题回答

我理解这个问题是老的。 我希望你们找到了解决办法,但我仍然想把两点放在一边,因为我遇到了同样的问题。

我的理解是,对于SWV功能而言,你需要连接SWO的钥匙。 当你有这一问题时,你能够看到例外的痕迹,或除印本外的任何SWV特征?

鉴于这一认识,我正在修改我的硬件,以支持今后使用的SWO的钥匙。

I assume you have already done what Atollic says in this link? Basically, ITM require the following things to redirect printf()

The application should send printf() output to an ITM channel

亲爱的JTAG必须支持SWV

变迁者必须拥有与相应的自动取款机渠道进行SWV追踪。

尽管你的供应商,但我假定所有的ST-Links都应支持印刷版的重新定位。 (其他,使用ST-Link 效用并更新STLink公司软件)

希望这一帮助。





相关问题
C# TraceSource class in multithreaded application

msdn: "Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe." it contains only instance methods. How should I ...

How to implement objects modification trace

With django admin, we have an history of who altered an object and when. I would like to add an "old value", "new value" to this to be able to roll back if needed. Plus I would like every ...

How to use TRACE with ascii under unicode MFC environment?

I am developing a MFC program under windows CE. It is unicode by default. I can use TRACE to print some message like this TRACE(TEXT("Hey! we got a problem! ")); It works fine if everything is ...

high speed tracing

I have an embedded board with a 32 Micro-controller, and an custom built OS, Unfortunately, as of now, connection to the PC is only through serial port, Internal memory is limited to 512KB. There are ...

Tracking SQL Calls From MS Access to MySQL

I m trying to see the SQL statements that are sent from MS Access 2003 to MySQL via ODBC. I ve tried ODBC Tracing, but it s painfully slow, producing very large log files which are very difficult ...

How in jboss write traces to separate trace file

How in JBoss to write traces to separate file? I would like to see traces about org.hibernate.SQL and org.hibernate.type in separate trace file. I added next appender and categories to jboss-log4j....