Sorry if this has been answered before, but I can't find the solution here.
I have an XK-USB-MIC-UF216 board, and I've successfully downloaded and compiled sw_usb_audio-[sw]_6.15.2rc1.zip, and replaced sc_xud with sc_xud.zip_2.6.1.zip as per the design advisory.
I run xmake and successfully get
Code: Select all
bin/1i8o2/app_usb_aud_mic_array_1i8o2.xe
bin/2i8o2/app_usb_aud_mic_array_2i8o2.xe
Code: Select all
Error on tile[0]: failed to connect to flash device. Please verify that SQI type is supported and that the correct SQI ports are defined within your xn file.
I suspect I'm missing a parameter to xflash or something.
- OS: Ubuntu (I've flashed many xmos boards before with this system)
Board Revision: JGB0004 2V0
xTimeComposer Version: 14.3.2
Thanks,
-Caleb
If interested, here's the output of xflash --verbose bin/2i8o2/app_usb_aud_mic_array_2i8o2.xe
Code: Select all
XFlash_Options::ListDevices : xgdb --batch -q --ex listdevices devl-80d43e38
XFlash_Application found _start :40000 on Node 0
XFlash_Application found _DoSyscall :42a8c on Node 0
XFlash_Application found _DoException :400a4 on Node 0
XFlash_Application found _start :40000 on Node 0
XFlash_Application found _DoSyscall :47194 on Node 0
XFlash_Application found _DoException :400a4 on Node 0
XFlash_Application : Attempting to Compress Binary Data
libcompressor marker 1=192
libcompressor marker 2=185
libcompressor marker 3=170
libcompressor best marker length 3 2 2
libcompressor best marker length 3 2 3
libcompressor best marker length 3 2 4
libcompressor best marker length 3 2 5
libcompressor best marker length 3 2 6
libcompressor best marker length 4 2 6
libcompressor DoCompression_Compress took : 131ms
libcompressor compile command=xcc -nostartfiles -Xmapper --bootstyle=forsim -x assembler-with-cpp "decompressor-944873c4" -x xn "target-xn-v0-ea451da1" -o decompressor-4fde12e9
libcompressor validating decompressor decompressor-4fde12e9
libcompressor launching simulator decompressor-4fde12e9 --disable-syscalls --max-cycles 100000000
libcompressor simulator starting @0x40000
libcompressor simulator terminate @0x7ff5a
libcompressor decompressor validated
XFlash_Application on Node : 0 compressed from : 29756 bytes to : 20016 bytes (32.73%)
libcompressor marker 1=169
libcompressor marker 2=227
libcompressor marker 3=107
libcompressor best marker length 3 2 2
libcompressor best marker length 3 2 3
libcompressor best marker length 3 2 4
libcompressor best marker length 4 2 4
libcompressor DoCompression_Compress took : 824ms
libcompressor compile command=xcc -nostartfiles -Xmapper --bootstyle=forsim -x assembler-with-cpp "decompressor-c36cf963" -x xn "target-xn-v0-ea451da1" -o decompressor-7758d3bd
libcompressor validating decompressor decompressor-7758d3bd
libcompressor launching simulator decompressor-7758d3bd --disable-syscalls --max-cycles 100000000
libcompressor simulator starting @0x40000
libcompressor simulator terminate @0x7ff58
libcompressor decompressor validated
XFlash_Application on Node : 0 compressed from : 44300 bytes to : 30792 bytes (30.49%)
XFlash::DoXFlash
XFlash::DoImageProgramming
XFlash::GetDeviceInfo
XFlash_DeviceInfo::GetDeviceInfo_Hardware
XFlash_DeviceInfo::GetDeviceInfo_Hardware_IssueCompileCommand : xcc -Xmapper --dontenablesodlinks -Xmapper --wnoXN -x xc "spiinfo-c1a45adc" -x xn "target-xn-v0-ea451da1" -o "spiinfo-985471a7" -lquadflash -D xnPORT_SQI_CS0=PORT_SQI_CS -D xnPORT_SQI_SCLK0=PORT_SQI_SCLK -D xnPORT_SQI_SIO0=PORT_SQI_SIO
XFlash_Utils::BuildRunCommand : xrun --io spiinfo-985471a7
Error on tile[0]: failed to connect to flash device. Please verify that SQI type is supported and that the correct SQI ports are defined within your xn file.
Code: Select all
<ExternalDevices>
<Device NodeId="0" Tile="0" Class="SQIFlash" Name="bootFlash" Type="S25FL116K">
<Attribute Name="PORT_SQI_CS" Value="PORT_SQI_CS"/>
<Attribute Name="PORT_SQI_SCLK" Value="PORT_SQI_SCLK"/>
<Attribute Name="PORT_SQI_SIO" Value="PORT_SQI_SIO"/>
</Device>
</ExternalDevices>