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

Post by DemoniacMilk »

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

Post by DemoniacMilk »

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: 18
Joined: Mon Oct 09, 2017 11:11 am

Post by azs »

Hi DemoniacMilk,

for my information, which wires did you swapped exactly ?

Thanks !