Code: Select all
#include "xscope.h"
int main()
{
xscope_register(2,
XSCOPE_CONTINUOUS , "Microphone Left", XSCOPE_UINT , "mV",
XSCOPE_CONTINUOUS , "Microphone Right", XSCOPE_UINT , "mV" );
while (1)
{
int sample;
sample++;
xscope_probe_data_pred(0, sample);
sample++;
xscope_probe_data_pred(1, sample);
}
}
xrun --xscope-file "test.xmt" --xscope-limit 1000 --verbose XscopeTest_Debug.xe
0x00010000 in main ()
Loading setup image to XCore 0
Loading section .text, size 0x24c lma 0x10000
Loading section .globcode, size 0x22 lma 0x1024c
Loading section .cp.const4, size 0x4 lma 0x10270
Loading section .ctors, size 0x4 lma 0x10274
Loading section .dp.data, size 0x28 lma 0x10278
Start address 0x10000, load size 670
Transfer rate: 93 KB/sec, 134 bytes/write.
Enable xscope on core 0 at address 0x10298
Outputting xscope file test.xmt
First stage multi-node boot failed, please check XN file and Xmos link connectivity
but all it does is create an empty xmt file with this in it :
<XtEvents>
<XtEventTypes/>
<XtEventColors/>
<TotalXtEvents Number="0"/>
<XtEventRecords/>
</XtEvents>
Can anybody point me in the direction of whatever stupid mistake I'm making? The error suggests a problem with the .XN file, but I've done exactly what's specified in the tools manual so I'm confused.