I'm trying to build an open-source XMOS based project (https://github.com/freeDSP/freeDSP-INFINITAS).
The project is a USB audio interface, and contains a XE256-512 for the USB interfacing, along with a FPGA for digital audio routing and an optional DSP chip.
After flashing the project files into the XMOS chip, I couldn't see any new device connected to my computers (both Win and MacOS), so I tried flashing the AN00129:-USB-HID-Class(2_0_2rc1) project to test the PCB. Not even this one worked.
The simple steps I made were this:
1) using xTIMEcomposer I imported the AN00129 project along with the required libs (lib_usb, lib_gpio, lib_xassert, lib_logging).
2) built the project with the "X200" build configuration (the build was successfull with no errors)
3) flashed the XMOS with a XA-XTAG programmer, using this SPI spec file (it was provided by the project, IS25LP080D.spi-spec):
Code: Select all
10, /* flash id = value returned by fl_getFlashType */
256, /* page size in bytes */
4096, /* number of pages */
3, /* number of address bytes to send */
3, /* divider to generate the SPI clock from the reference clock */
0x9F, /* command to read the device ID */
0, /* number of dummy bytes returned before the ID */
3, /* ID size in bytes */
0x9D6014, /* expected device ID */
0x20, /* command to erase all or part of a sector */
4096, /* number of bytes erased by sector erase; 0 = entire sector */
0x06, /* command to write-enable the device */
0x04, /* command to write-disable the device */
PROT_TYPE_NONE, /* protection type; PROT_TYPE_NONE = no protection */
{{0,0},{0,0}}, /* description of the device protection */
0x02, /* command to program a page */
0xEB, /* command to read data */
6, /* number of dummy bytes returned before the data */
SECTOR_LAYOUT_REGULAR, /* sector layout; SECTOR_LAYOUT_REGULAR=all sectors same size */
{4096,{0,{0}}}, /* sector sizes */
0x05, /* command to read the status register */
0x01, /* command to write the status register */
0x01, /* bit mask for the Write In Progress bit */
4) flashing went ok ("Site 0 has finished successfully. "), but as I said, connecting the board to the USB port, nothing happens.
this is the schematic of the XMOS portion of the board. I verified the voltages and connections, and everything looks fine.
Do you have any idea what could be wrong?
Thank you