-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
default firmware #1
Comments
Hi. The default firmware is usually If you hold the BOOTSEL button during power-up, it should show up as a mass storage device on the computer connected to USB via a male-male cable, and you can then drag-and-drop one of the UF2s to the device. This can also be done over the SWD interface. Please let me know if you have any further questions. |
hi Thanks for answering the question. I have some follow question and confirmation
just to share, I want to connect the MUSLI to Genesys 2 FPGA Board so I can communicate to Cinterion Modem Board over the USB. just in case if you some thought how to use the MUSLI properly for such usecase. |
https://github.com/machdyne/musli#12-pin-pmod-header
If the modem uses USB CDC then the task may be relatively simple: I have just now added a After programming that firmware, you will need to unplug the male-male USB cable and switch Musli to USB host mode (J1 open, J2 short). Then plug Musli into the FPGA board, which will provide power. PMOD pin 1 is TX and pin 2 is RX. You can then plug in a USB CDC device and Musli should act as a USB CDC <-> PMOD UART bridge. Make sure to unplug the PMOD and switch back to stand-alone device mode if you need to program the firmware again over USB (this is less cumbersome when using SWD to program). |
Hi Thanks a lot for your prompt answer. I'm using Thales B80 and I'm not sure whether it's CDC enabled or not but certainly the device class is 0. Here is the full description of the modem.
I will try to use the cdc host firmware nevertheless and see how it goes. |
Hi One more thing
what would be the baudrate of the UART bridge? I need to set the UARTLite IP with correct baudrate, and I could not get any info from the code. does it use default 9600 baudrate? or is it set somewhere else? I also cannot find the host_musli_cdc image in your latest commit |
The CDC baudrate is set in tusb_config.h and is 115200 by default. If you plug the modem into a Linux computer, it will be /dev/ttyACMx if the device is CDC. However, from the USB description it looks like it is not CDC, and may use a custom protocol that would require writing a specific driver. That would be more complicated to implement, I believe the details of the protocol are available here: https://github.com/torvalds/linux/blob/master/drivers/usb/serial/ftdi_sio.c |
What is the default firmware out of the box? does this default firmware support USB Host mode? or do we need to flash a example host firmware available in this repository?
The text was updated successfully, but these errors were encountered: