CW305 - USB device not found (CW Windows)

Hi Siva,

Communication with the FPGA is done through a series of 21 address lines and 8 data lines, along with a pin write enable, one for read enable, and one for chip select. These lines are used to read and write registers on the FPGA. You have a few options regarding how to do this.

  1. Program the FPGA over JTAG and communicate over USB as usual:
    This is probably your best option, since you won’t have to worry about any of the communication stuff. You should be able to do this by programming the FPGA first, then connecting after. I’d recommend using CW5 on your CentOS machine for this since it at least allows you to connect to the CW305.

    If that doesn’t work try editing chipwhisperer/software/capture/targets/CW305.py line 167 from if self.fpga.isFPGAProrammed() == False or force to if False:

    From then on, you can simply interact with the CW305 as usual (i.e. target.simplserial_read/write).

  2. Next you can try reprogramming the SAM3U on the CW305. This will avoid you having to make any hardware modifications or worry about the various pins (since reading/writing to the FPGA is done through a memory mapped peripheral). Instructions for this one are a bit lengthy, so I’ll address how to program and build firmware for the SAM3U in a later post if necessary

  3. Finally you can solder wires on to the actual communication lines and use another device (maybe another microcontroller) to do it. Once again, I can provide more info here if necessary.

You can find information about the actual location of registers in the file chipwhisperer/software/capture/targets/CW305.py. Here _naeusb.cmdWrite/ReadMem() writes/reads memory from the FPGA and sendCtrl() and readCtrl() are used for commands for the SAM3U.

Let me know if you have any questions,

Alex