Example "boot-cypress" doesn't start after FW upload to FX2
Ho-Ro opened this issue · 3 comments
Ho-Ro commented
The hex file is uploaded and the 8051 comes out of reset, but the FX2 doesn't re-enumerate.
Fix: change usb_init(/*disconnect=*/false);
to usb_init(/*disconnect=*/true);
in this line:
libfx2/firmware/boot-cypress/main.c
Line 199 in 60fc41d
whitequark commented
That's actually not an example, it's a firmware that's used internally by fx2tool
. With your fix, fx2tool -B
will stop working.
Ho-Ro commented
Ok, understood - close.
A comment could be helpful - I started from this point without success while the other parts started up as (I) expected, e.g. boot-uf2:
libfx2/firmware/boot-uf2/main.c
Lines 201 to 202 in 60fc41d
whitequark commented
Clarified in d98e54a.