Remora - Rpi Software Stepping Using External Microcontroller via SPI

More
5 years 2 months ago - 5 years 2 months ago #218950 by scotta
"Hello world" on the SKR2 is working! Thank you Rommel!!

Just need to figure out why the following is not working so we don't need to define a Serial object in the code and use a plain old printf.
Code:
"platform.stdio-baud-rate": 115200, "target.stdio_uart_tx": "PA_9", "target.stdio_uart_rx": "PA_10"

I've pushed the working code to the testing repo:

github.com/scottalford75/SKRV2-Mbed-OS5
 
Last edit: 5 years 2 months ago by scotta.

Please Log in or Create an account to join the conversation.

More
5 years 2 months ago #218951 by mhel
That's great!

I'll try to help when I can, I'm just a hack :)
Mbed is still very foreign to me.

What do you think of oring
Code:
USE_PLL_HSE_XTAL | USE_PLL_HSI
?
looking at system_clock.c, it looks like it will fall through and end up using HSI clock ?

Please Log in or Create an account to join the conversation.

More
5 years 2 months ago #218952 by mhel

smoked my SKRv1.5 by putting a driver in backwards in a rush. Probably will need to start again with the SKR2 when it's up and running.
 
That sucks, I guess it happens.

Please Log in or Create an account to join the conversation.

More
5 years 2 months ago #218953 by scotta
Ok, got the standard printf working.

We now have a working platform to start porting Remora to STM32 with Mbed and the standard SKR bootloader. Rommel, thanks once again!! I've wasted hours but the system_clock.c change was the key.

Repo updated.

Please Log in or Create an account to join the conversation.

More
5 years 2 months ago #218954 by mhel

Please Log in or Create an account to join the conversation.

More
5 years 2 months ago #218955 by scotta

That's great!

I'll try to help when I can, I'm just a hack :)
Mbed is still very foreign to me.

What do you think of oring
Code:
USE_PLL_HSE_XTAL | USE_PLL_HSI ? looking at system_clock.c, it looks like it will fall through and end up using HSI clock ?
I adopted a working target profile. We can remove USE_PLL_HSI and see what happens. The docs say that line should first try to enable the High Speed External crystal before falling back to the Internal crystal.

Please Log in or Create an account to join the conversation.

Time to create page: 0.544 seconds
Powered by Kunena Forum