主题:SysConfig 中讨论的其他器件
工具/软件:
您好:
我无法增加 IPC 共享存储器。 将 RTOS_NORTOS_IPC_SHM_MEM 值增加到 0xE000 不会影响 SYSCFG IPC 配置中的可用存储器。
附加了屏幕截图。
谢谢你。
此致、
Upendar

This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
工具/软件:
您好:
我无法增加 IPC 共享存储器。 将 RTOS_NORTOS_IPC_SHM_MEM 值增加到 0xE000 不会影响 SYSCFG IPC 配置中的可用存储器。
附加了屏幕截图。
谢谢你。
此致、
Upendar

尊敬的 Upendar:
SysConfig 中嵌入了电流限制、因为它假定 IPC 在 MSRAM 中共享存储器
在 drivers\.meta\ipc\ipc\ipc_am243x.syscfg.js 中 soc、我们提供了:
function getIpcSharedMemAvailable()
{
/* The limit is determined by space set aside in OCRAM, but keep a reasonable default
*/
return (48*1024);
}MEMORY
{
R5F_VECS : ORIGIN = 0x0 , LENGTH = 0x40
R5F_TCMA : ORIGIN = 0x40 , LENGTH = 0x7FC0
R5F_TCMB0 : ORIGIN = 0x41010000 , LENGTH = 0x8000
NON_CACHE_MEM : ORIGIN = 0x70078000 , LENGTH = 0x8000
MSRAM : ORIGIN = 0x70140000 , LENGTH = 0x40000
FLASH : ORIGIN = 0x60280000 , LENGTH = 0x80000
/* For memory Regions not defined in this core but shared by other cores with the current core */
USER_SHM_MEM : ORIGIN = 0x701D0000 , LENGTH = 0x180
LOG_SHM_MEM : ORIGIN = 0x701D0180 , LENGTH = 0x3E80
RTOS_NORTOS_IPC_SHM_MEM : ORIGIN = 0x701D4000 , LENGTH = 0xC000
}嗨、Upendar、是的、 Rp Message_Send 是螺纹安全的。 如果选中“source\drivers\ipc_rpmsg\ipc_rpmsg.c",“,您、您将看到创建函数时考虑到线程安全、方法是禁用关键部分的硬件中断、添加存储器障碍以实现高速缓存一致性、并使用信标阻塞来实现同步
mcupsdk-core/source/drivers/ipc_rpmsg/ipc_rpmsg.c、位于下一个·TexasInstruments/mcupsdk-core·GitHub
mcupsdk-core/source/drivers/ipc_rpmsg/ipc_rpmsg_vring.c、位于下一个·TexasInstruments/mcupsdk-core·GitHub
谢谢您、
Paula