Open sergioxdev opened 2 years ago
Hi Guys I update you, doing research I found the following posts:
I am tested it a metro m4 airlift, because i want to update the SAMD51 via serial UART,
// ------------------------------------------------ ---------
I connected a FT232R on the RX / TX pins of the metro
I try to send the same bytes as the BOSSA, "0x4e, 0x23, 0x56, 0x23", to start the boot programming
but I don't get any response some suggestions, to understand where I'm wrong Thanks in advance
Hi Guys
I update you, doing some debugging I found the problem
uf2-samdx1/src/main.c
https://github.com/adafruit/uf2-samdx1/blob/2fd0593fbc7dd12a13b2b4e6dc281fb5b54464b9/src/main.c#L306
the problem is about usart_sharp_received ()
going backwards.
uf2-samdx1/src/usart_sam_ba.c
the problem is about usart_is_rx_ready ()
going backwards.
the problem is here, however FT232R is connected with the RX / TX pins of the Metro, I try to send "#" on the serial, but usart_is_rx_ready () always returns false;
I also tried always on main to send a byte on UART1 (SERCOM3) with: usart_putc (1); but it does not send anything
Any suggestions
Hi Guys
I am testing the grand central meter, i would like to program this chip from another uart input, other than native usb, switching from usb to another uart via a pin.
Any info are accepted