Closed FallenStarAngelFox closed 2 weeks ago
Possible the Pi 3 UART won't do 115200 and thus sets the baud rate to "as fast as it can go"? Try setting things up for 57600 and see if it all works.
Tried that as well and ended up getting the same results, I'm going to compile just the uart_init and test that in case something is causing a panic before reaching that point
(After trying different baud rates, i keep getting the same value 103448.300000 Hz )
I've tested it alone, and I am still ending up with the same problem, should I maybe configure the clock through mailbox, if so what should i set it to?
Somehow fixed it by going through and revising all the code, I think it was the way the kernel was compiled through linker arguments that caused the problem
Glad you got it working. Anything that you can share about what made it work would be helpful.
I am not sure because I reworked all or my code, I think it was mainly because I only compiled using cargo build, and because I wasn't using rust-objcopy to output a binary so I think it was a compilation issue
I am having issues with setting up uart baudrate on raspberry pi 3, I have attempted to set different baud rates but it keeps printing
Set PL011 baud rate to 103448.300000 Hz
i am usingminicom -b 115200 -D /dev/tty.usbserial-0001
with 2nd_stage_uart=1,enable_uart=1 to debug