What may cause xscope_constructor() to stop Topic is solved

If you have a simple question and just want an answer.
DemoniacMilk
XCore Addict
Posts: 191
Joined: Tue Jul 05, 2016 2:19 pm

What may cause xscope_constructor() to stop

Postby DemoniacMilk » Thu Dec 08, 2016 3:42 pm

Hello again,

I am currently trying to evaluate the functionality of a custom hardware design with an XE216.

The device can be programmed - I tried some blinking LEDs and a test application for flash (erase data partition, write data partition, validate). The two applications ran without problems.

However, when I activate xscope, the programm seems to not do anything. Pausing the debug will always send me to line 79 in xscope_api.c in function xscope_constructor(), specifically at operation

Code: Select all

get(l2r) r1, ps[r0]
what is described as "get processor state" in the assembly manual.

The additional pins needed for xscope are connected to the JTAG header ad the software runs well on an eXplorerKIT.

I wonder: What might cause the system to hang/halt/stop/loop on that instruction?
View Solution
DemoniacMilk
XCore Addict
Posts: 191
Joined: Tue Jul 05, 2016 2:19 pm

Postby DemoniacMilk » Thu Dec 08, 2016 4:20 pm

Just in case anyone ever runs into this again: I simply had two of the four wires swapped (the final version will not have the xlink available, so I soldered wires onto the pads). Its all working as intended now.
azs
Member
Posts: 15
Joined: Mon Oct 09, 2017 11:11 am

Postby azs » Tue Apr 16, 2019 2:00 pm

Hi DemoniacMilk,

for my information, which wires did you swapped exactly ?

Thanks !

Who is online

Users browsing this forum: No registered users and 2 guests