microzig icon indicating copy to clipboard operation
microzig copied to clipboard

USB CDC example not working

Open arkadiuszwojcik opened this issue 4 months ago • 0 comments

It seems that after the recent refactor, the USB CDC example stopped working. After a brief investigation, I noticed that the program freezes during the usb_init_clk call.

To be more specyfic:

usb_init_clk calls: resets.reset(.{ .pll_usb = true }); and inside that call program freezes during execution of following code:

 RESETS.RESET.write_raw(raw_mask);
 RESETS.RESET.write_raw(0);

This was tested in Debug mode.

CC: @haydenridd

arkadiuszwojcik avatar Oct 16 '24 06:10 arkadiuszwojcik