After finally finding by trial on error what the correct syntax is to get xflash to accept the --erase-all command, I'm posting it here for future reference:
Code: Select all
xflash --erase-all --target-file xnfile.xn
Now the result after erasing and resetting. I hope I did what you've asked me to do..
Code: Select all
xrun: Program received signal ET_LOAD_STORE, Memory access exception.
0xfff005b8 in ?? ()
***** Active Cores *****
4 tile[3] core[0] 0xfff00518 in ?? ()
3 tile[2] core[0] 0xfff00518 in ?? ()
2 tile[1] core[0] 0xfff00518 in ?? ()
* 1 tile[0] core[0] 0xfff005b8 in ?? ()
Thread 4 (tile[3] core[0]):
***** Call Stack *****
#0 0xfff00518 in ?? ()
#1 0xfff00342 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
***** Disassembly *****
0xfff00518: in (2r) r1, res[r6] *
0xfff0051a: setd (r2r) res[r6], r1
0xfff0051c: in (2r) r2, res[r6] *
0xfff0051e: ldw (ru6) r4, dp[0x0]
0xfff00520: mkmsk (rus) r5, 0x20
***** Registers *****
r0 0x0 0
r1 0x0 0
r2 0x0 0
r3 0x40000 262144
r4 0x200100 2097408
r5 0x100200 1049088
r6 0x10002 65538
r7 0x80a 2058
r8 0x0 0
r9 0x10023 65571
r10 0x3 3
r11 0x40b 1035
cp 0x0 0
dp 0xfff01eb0 -1040720
sp 0x7ff7c 524156
lr 0xfff00342 -1047742
pc 0xfff00518 -1047272
sr 0x40 64
spc 0x0 0
ssr 0x0 0
et 0x0 0
ed 0x0 0
sed 0x0 0
kep 0xfff00400 -1047552
ksp 0xfff00518 -1047272
Thread 3 (tile[2] core[0]):
***** Call Stack *****
#0 0xfff00518 in ?? ()
#1 0xfff00500 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
***** Disassembly *****
0xfff00518: in (2r) r1, res[r6] *
0xfff0051a: setd (r2r) res[r6], r1
0xfff0051c: in (2r) r2, res[r6] *
0xfff0051e: ldw (ru6) r4, dp[0x0]
0xfff00520: mkmsk (rus) r5, 0x20
***** Registers *****
r0 0x1 1
r1 0x0 0
r2 0x0 0
r3 0x40000 262144
r4 0xfff01ee8 -1040664
r5 0x100200 1049088
r6 0x2 2
r7 0x80a 2058
r8 0x0 0
r9 0x23 35
r10 0x3 3
r11 0x0 0
cp 0x0 0
dp 0xfff01eb0 -1040720
sp 0x7ff7c 524156
lr 0xfff00500 -1047296
pc 0xfff00518 -1047272
sr 0x40 64
spc 0x0 0
ssr 0x0 0
et 0x0 0
ed 0x0 0
sed 0x0 0
kep 0xfff00400 -1047552
ksp 0xfff00518 -1047272
Thread 2 (tile[1] core[0]):
***** Call Stack *****
#0 0xfff00518 in ?? ()
#1 0xfff00342 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
***** Disassembly *****
0xfff00518: in (2r) r1, res[r6] *
0xfff0051a: setd (r2r) res[r6], r1
0xfff0051c: in (2r) r2, res[r6] *
0xfff0051e: ldw (ru6) r4, dp[0x0]
0xfff00520: mkmsk (rus) r5, 0x20
***** Registers *****
r0 0x0 0
r1 0x0 0
r2 0x0 0
r3 0x40000 262144
r4 0x200100 2097408
r5 0x100200 1049088
r6 0x10002 65538
r7 0x80a 2058
r8 0x0 0
r9 0x10023 65571
r10 0x3 3
r11 0x40b 1035
cp 0x0 0
dp 0xfff01eb0 -1040720
sp 0x7ff7c 524156
lr 0xfff00342 -1047742
pc 0xfff00518 -1047272
sr 0x40 64
spc 0x0 0
ssr 0x0 0
et 0x0 0
ed 0x0 0
sed 0x0 0
kep 0xfff00400 -1047552
ksp 0xfff00518 -1047272
Thread 1 (tile[0] core[0]):
***** Call Stack *****
#0 0xfff005b8 in ?? ()
#1 0xfff00342 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
***** Disassembly *****
0xfff005b8: stw (2rus) r11, r4[0x0]
0xfff005ba: add (2rus) r4, r4, 0x4
0xfff005bc: sub (2rus) r5, r5, 0x1
0xfff005be: bt (ru6) r5, -0x7
0xfff005c0: in (2r) r11, res[r2] *
***** Registers *****
r0 0x10100 65792
r1 0x10000 65536
r2 0x40100 262400
r3 0x106 262
r4 0x80000 524288
r5 0xfffeffff -65537
r6 0xedb88320 -306674912
r7 0xe4caa974 -456480396
r8 0x0 0
r9 0x23 35
r10 0x6 6
r11 0xffffffff -1
cp 0x0 0
dp 0xfff01eb0 -1040720
sp 0x7ff7c 524156
lr 0xfff00342 -1047742
pc 0xfff005b8 -1047112
sr 0x51 81
spc 0xfff005b8 -1047112
ssr 0x0 0
et 0x5 5
ed 0x80000 524288
sed 0x0 0
kep 0xfff00400 -1047552
ksp 0xfff00402 -1047550
ksp 0xfff00402 -1047550