Vybrid Trace in IAR's EWARM

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Vybrid Trace in IAR's EWARM

ソリューションへジャンプ
3,100件の閲覧回数
n00b1024
Contributor III

Hello,

Has anyone set up the ETM trace on the Vybrid using IAR's EWARM?

Right now, I'm working on that task, but running into a few problems. In EWARM, the trace needs to be enabled through a .mac file run at download, in order for the debugger ETM's viewer/setup to work. Theoretically, I need to write to relevant registers (CCM, mostly) in the .mac file, and that will enable the trace on the processor. Although I can write to the same registers using C code (running that task within in a .c file), the debugger is built such that it can only setup the trace using the .mac file.

However, I haven't been able to write to the processor using the .mac file -- the memory-writing function is being used correctly, but it's simply failing to write. I've been talking to IAR, and they say that my code should work, but that I may need to set up FlexBus in order for the debugger to write to the registers using the .mac. Does anyone have any suggestions, or know of any prerequirements for setting up the ETM on the Vybrid?

Thanks much.

ラベル(1)
タグ(3)
1 解決策
2,602件の閲覧回数
juangutierrez
NXP Employee
NXP Employee

In case of DS-5 + DSTREAM, you may need DTSL(Debug and Trace Service Layer) configuration.

in my experience, "Trace capture method" should be "On Chip Trace Buffer(ETB)", then it works.

Maybe some similar configurations needs to be enabled in your debugger.

元の投稿で解決策を見る

0 件の賞賛
返信
6 返答(返信)
2,602件の閲覧回数
n00b1024
Contributor III

Does anyone have advice on setting up the Vybrid's ETM in any 3rd party design suite?

0 件の賞賛
返信
2,601件の閲覧回数
juangutierrez
NXP Employee
NXP Employee

Find the attached script for DS5.

You can check it against your mac file for IAR.

My guess is that maybe some IOMUX setting is missing.

2,603件の閲覧回数
juangutierrez
NXP Employee
NXP Employee

In case of DS-5 + DSTREAM, you may need DTSL(Debug and Trace Service Layer) configuration.

in my experience, "Trace capture method" should be "On Chip Trace Buffer(ETB)", then it works.

Maybe some similar configurations needs to be enabled in your debugger.

0 件の賞賛
返信
2,601件の閲覧回数
n00b1024
Contributor III

Thanks. I checked with Signum and IAR, and they're not actually supporting the ETM on the Vybrid until around Q2 2014.

2,601件の閲覧回数
karina_valencia
NXP Apps Support
NXP Apps Support

timesyssupport can you help on this case?

0 件の賞賛
返信
2,601件の閲覧回数
timesyssupport
Senior Contributor II

Unfortunately, we have not used the 3rd party IAR EWARM suite with Vybrid.

Thanks,

Timesys Support

0 件の賞賛
返信