MEGA65 / mega65-tools

Tools and Utilities for the MEGA65 Retro Computers
GNU General Public License v3.0
29 stars 31 forks source link

M65: get '-b' bitstream uploading working in windows #69

Closed gurcei closed 3 years ago

gurcei commented 3 years ago

This seems to have been broken for a long while, with an alternative tool called xc3sprog being suggested to be used by Windows developers for their bitstream-uploading needs.

I've already done some initial investigation the matter, some findings in this discord thread:

To summarise some experiences so far:

Main distinction in behaviour I see right now is in the time that elapses between the "fpgajtag: Starting to send file" and "Bitstream loaded." messages

So in this card, I'll try and dig deeper into libusb to try understand what it going wrong in this attempt to write the bitstream to the device in windows.

If I'm unable to resolve the problem, perhaps I can just put a warning inside m65.exe so that it suggests using the xc3 tool for bitstream uploading instead.