Using AM623 M4F from linux

Hi,

I did not find any clear guide on how to utilize a co-processor on TI AM623.
It would be interesting to know how to:

  • debug firmware on M4F
  • flash MCU from linux
  • how communicates linux firmware and MCU firmware?

Can someone point me some docs about these topics?

Thank you in advance!

Hi @mlytvyn,

Most of the documentation about this comes from TI. They have somewhat good documentation and examples, the problem sometimes is finding them. For me, the more practical way is to go to TI github and found their MCU+SDK for the AM62 [1]. On this repo has their HAL, BSP and some examples for the M4F/R5 cores. For rpmsg, you can look on the IPC examples [2]. You will need to dig a bit to get how they organize things.

For the Linux side, TI call it Processor SDK [3]. In the development portal [4] there a lot of nice things you can explore (worth it) and on the SDK Guide you can find more info on remoteproc in U-boot [6] and remoteproc/rpmsg in Linux [7]. The Academy [8] is nice too and have some “guided” examples on booting remote cores and ipc communication.

Hope that this help you at least a bit !

Regards,
Joao Paulo Goncalves

[1] GitHub - TexasInstruments/mcupsdk-core-k3: TI MCU+ SDK core source code repository with drivers and example applications for K3 family of MPUs.
[2] AM62x MCU+ SDK: SOC and Board Peripheral Drivers
[3] PROCESSOR-SDK-AM62X Software development kit (SDK) | TI.com
[4] https://dev.ti.com/tirex/explore/node?node=A__ANHZpduhqBzZE-IDuTYcYA__am62x-dev-portal__wX8Q.zP__LATEST
[5] https://dev.ti.com/tirex/explore/node?node=A__ANHZpduhqBzZE-IDuTYcYA__am62x-dev-portal__wX8Q.zP__LATEST
[6] 3.1.1.9. RemoteProc — Processor SDK AM62x Documentation
[7] 3.7. IPC for AM62x — Processor SDK AM62x Documentation
[8] https://dev.ti.com/tirex/explore/node?node=A__AYOpB6kQgCcKqXTlhxH3RQ__AM62-ACADEMY__uiYMDcq__LATEST

2 Likes

Dear Joao,

thanks a lot! This is definitely what I need.

With best regards,
Mykhailo

1 Like