Search found 5 matches

by nvitya
2025-09-21 6:20
Forum: Luckfox Lyra-RK3506
Topic: Loading firmware into the Cortex-M0 MCU via remoter processor interface
Replies: 4
Views: 3125

Re: Loading firmware into the Cortex-M0 MCU via remoter processor interface

Hello,

Finally I managed to have my remote processor module working!

I shared the source code along several information on this github page:
https://github.com/nvitya/rk3506-mcu

Two issues are still open, and I'm seeking help for solve these:

1. Hot-swapping the MCU FW:

Once the MCU code is ...
by nvitya
2025-08-05 19:11
Forum: Luckfox Lyra-RK3506
Topic: Loading firmware into the Cortex-M0 MCU via remoter processor interface
Replies: 4
Views: 3125

Re: Loading firmware into the Cortex-M0 MCU via remoter processor interface

Hello,

Thank you for your answer.
I managed to compile and install the AMP version of your image.
I got indeed "[HAL INFO] Hello RK3506 mcu" on the UART4 at u-boot time.
But nothing more. And also one A7 CPU less, it seems that one A7 CPU is also reserved for the AMP system.

Developing an MCU ...
by nvitya
2025-08-02 9:55
Forum: Luckfox Lyra-RK3506
Topic: Loading firmware into the Cortex-M0 MCU via remoter processor interface
Replies: 4
Views: 3125

Loading firmware into the Cortex-M0 MCU via remoter processor interface

Hi,

I would like to run some special bare-metal Firwmare on the Cortex-M0 MCU. I did not find proper information how to load and start MCU FW so I started developing remote processor driver for the RK3506 MCU.

I've created a project on the github here:

github.com/nvitya/rk3506-mcu

When this ...
by nvitya
2025-07-24 20:14
Forum: Luckfox Lyra-RK3506
Topic: Getting Started with Luckfox Lyra
Replies: 5
Views: 22633

Re: Getting Started with Luckfox Lyra

Yes, the situation improved, someone uploaded the rk3506 TRM:

https://github.com/DeciHD/rockchip_docs/tree/main/rk3506

Not that perfekt, but much better as nothing.
What I also noticed, in the Luckfox SDK there is a HAL library, here in hal/lib/CMSIS/Device/RK3506/Include/rk3506.h you will find ...
by nvitya
2025-07-24 20:08
Forum: Luckfox Lyra-RK3506
Topic: Debugging the Cortex-M0 Core with openocd
Replies: 4
Views: 10462

Debugging the Cortex-M0 Core with openocd

Hi,

On the Milk-V Duo I can develop bare metal software on the small core using a JTAG debugger.
I would like to do the same on the rk3506 (Luckfox Lyra Plus). So using openocd and a SWD debugger I would like to contact to the Cortex-M0 core, upload the software from the ide, and debug from the IDE ...