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.

[参考译文] TDA4VL-Q1:将 DMPAC 从 MCU2_1移动到 MCU2_0

Guru**** 2550550 points
Other Parts Discussed in Thread: TDA4VM, SYSCONFIG

请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1306554/tda4vl-q1-move-dmpac-from-mcu2_1-to-mcu2_0

器件型号:TDA4VL-Q1
主题中讨论的其他器件:TDA4VL、TDA4VM SysConfig

您好、 TI 专家!

SDK:j721s2、8.6

在链接(https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1188664/tda4vm-tda4vm-can-we-move-vhwa-dmpac-from-mcu2_1-to-mcu2_0)中应用补丁后、DMPAC 未正确初始化

我发现 TDA4VM 的资源管理器补丁可能不能与 TDA4VL 配合使用。 MCU2_1上的"start_resource"值为309、而不是268 (如补丁中所示)。

如何解决?

MCU2_0错误日志如下:

[MCU2_0]      3.885284 s: CIO: Init ... Done !!!
[MCU2_0]      3.885348 s: ### CPU Frequency = 1000000000 Hz
[MCU2_0]      3.885385 s: CPU is running FreeRTOS
[MCU2_0]      3.885409 s: APP: Init ... !!!
[MCU2_0]      3.885433 s: SCICLIENT: Init ... !!!
[MCU2_0]      3.885798 s: SCICLIENT: DMSC FW version [8.6.3--1-g2249f (Chill Capybara]
[MCU2_0]      3.885843 s: SCICLIENT: DMSC FW revision 0x8  
[MCU2_0]      3.885874 s: SCICLIENT: DMSC FW ABI revision 3.1
[MCU2_0]      3.885909 s: SCICLIENT: Init ... Done !!!
[MCU2_0]      3.885936 s: UDMA: Init ... !!!
[MCU2_0]      3.888448 s: UDMA: Init ... Done !!!
[MCU2_0]      3.888490 s: UDMA: Init ... !!!
[MCU2_0]      3.889676 s: UDMA: Init for CSITX/CSIRX ... Done !!!
[MCU2_0]      3.889738 s: MEM: Init ... !!!
[MCU2_0]      3.889784 s: MEM: Created heap (DDR_LOCAL_MEM, id=0, flags=0x00000004) @ d5000000 of size 16777216 bytes !!!
[MCU2_0]      3.889853 s: MEM: Created heap (L3_MEM, id=1, flags=0x00000000) @ 60000000 of size 262144 bytes !!!
[MCU2_0]      3.889916 s: MEM: Init ... Done !!!
[MCU2_0]      3.889941 s: IPC: Init ... !!!
[MCU2_0]      3.889997 s: IPC: 4 CPUs participating in IPC !!!
[MCU2_0]      3.890041 s: IPC: Waiting for HLOS to be ready ... !!!
[MCU2_0]      6.236823 s: IPC: HLOS is ready !!!
[MCU2_0]      6.247536 s: IPC: Init ... Done !!!
[MCU2_0]      6.247587 s: APP: Syncing with 3 CPUs ... !!!
[MCU2_0]      6.251944 s: APP: Syncing with 3 CPUs ... Done !!!
[MCU2_0]      6.251989 s: REMOTE_SERVICE: Init ... !!!
[MCU2_0]      6.253424 s: REMOTE_SERVICE: Init ... Done !!!
[MCU2_0]      6.253469 s: FVID2: Init ... !!!
[MCU2_0]      6.253536 s: FVID2: Init ... Done !!!
[MCU2_0]      6.253565 s: SCICLIENT: Sciclient_pmSetModuleState module=214 state=2
[MCU2_0]      6.253764 s: SCICLIENT: Sciclient_pmSetModuleState success
[MCU2_0]      6.253803 s: SCICLIENT: Sciclient_pmSetModuleState module=218 state=2
[MCU2_0]      6.254154 s: SCICLIENT: Sciclient_pmSetModuleState success
[MCU2_0]      6.254211 s: DSS: Init ... !!!
[MCU2_0]      6.254239 s: DSS: Display type is HDMI !!!
[MCU2_0]      6.254266 s: DSS: M2M Path is enabled !!!
[MCU2_0]      6.254294 s: DSS: SoC init ... !!!
[MCU2_0]      6.254318 s: SCICLIENT: Sciclient_pmSetModuleState module=158 state=0
[MCU2_0]      6.254913 s: SCICLIENT: Sciclient_pmSetModuleState success
[MCU2_0]      6.254949 s: SCICLIENT: Sciclient_pmSetModuleState module=158 state=0
[MCU2_0]      6.255190 s: SCICLIENT: Sciclient_pmSetModuleState success
[MCU2_0]      6.255222 s: SCICLIENT: Sciclient_pmSetModuleClkParent module=158 clk=5 parent=7
[MCU2_0]      6.255549 s: SCICLIENT: Sciclient_pmSetModuleClkParent success
[MCU2_0]      6.255584 s: SCICLIENT: Sciclient_pmSetModuleClkFreq module=158 clk=5 freq=74250000
[MCU2_0]      6.265141 s: SCICLIENT: Sciclient_pmSetModuleClkFreq success
[MCU2_0]      6.265178 s: SCICLIENT: Sciclient_pmModuleClkRequest module=158 clk=5 state=2 flag=0
[MCU2_0]      6.265372 s: SCICLIENT: Sciclient_pmModuleClkRequest success
[MCU2_0]      6.265405 s: SCICLIENT: Sciclient_pmSetModuleState module=158 state=2
[MCU2_0]      6.265891 s: SCICLIENT: Sciclient_pmSetModuleState success
[MCU2_0]      6.265923 s: DSS: SoC init ... Done !!!
[MCU2_0]      6.265949 s: DSS: Board init ... !!!
[MCU2_0]      6.265974 s: DSS: Board init ... Done !!!
[MCU2_0]      6.268931 s: DSS: Init ... Done !!!
[MCU2_0]      6.268982 s: VHWA: VPAC Init ... !!!
[MCU2_0]      6.269009 s: SCICLIENT: Sciclient_pmSetModuleClkFreq module=361 clk=2 freq=600000000
[MCU2_0]      6.272134 s: SCICLIENT: Sciclient_pmSetModuleClkFreq success
[MCU2_0]      6.272172 s: SCICLIENT: Sciclient_pmSetModuleState module=361 state=2
[MCU2_0]      6.272505 s: SCICLIENT: Sciclient_pmSetModuleState success
[MCU2_0]      6.272537 s: VHWA: LDC Init ... !!!
[MCU2_0]      6.276568 s: VHWA: LDC Init ... Done !!!
[MCU2_0]      6.276611 s: VHWA: MSC Init ... !!!
[MCU2_0]      6.292824 s: VHWA: MSC Init ... Done !!!
[MCU2_0]      6.292865 s: VHWA: NF Init ... !!!
[MCU2_0]      6.295065 s: VHWA: NF Init ... Done !!!
[MCU2_0]      6.295102 s: VHWA: VISS Init ... !!!
[MCU2_0]      6.308251 s: VHWA: VISS Init ... Done !!!
[MCU2_0]      6.308304 s: VHWA: VPAC Init ... Done !!!
[MCU2_0]      6.308335 s: VHWA: DMPAC: Init ... !!!
[MCU2_0]      6.308361 s: SCICLIENT: Sciclient_pmSetModuleClkFreq module=58 clk=0 freq=300000000
[MCU2_0]      6.310411 s: SCICLIENT: Sciclient_pmSetModuleClkFreq success
[MCU2_0]      6.310448 s: SCICLIENT: Sciclient_pmSetModuleState module=58 state=2
[MCU2_0]      6.310734 s: SCICLIENT: Sciclient_pmSetModuleState success
[MCU2_0]      6.310768 s: SCICLIENT: Sciclient_pmSetModuleState module=62 state=2
[MCU2_0]      6.311016 s: SCICLIENT: Sciclient_pmSetModuleState success
[MCU2_0]      6.311048 s: VHWA: DOF Init ... !!!
[MCU2_0]      6.311349 s: [UDMA] 
[MCU2_0]      6.311373 s: Assertion @ Line: 1141 in src/udma_rm.c: rmInitPrms->startUtcCh[utcId] >= utcInfo->startCh : failed !!!
[MCU2_0]      6.311430 s: [UDMA] 
[MCU2_0]      6.311451 s: [Error] RM Alloc Ext Ch failed!!!
[MCU2_0]      6.311487 s: [UDMA] 
[MCU2_0]      6.311507 s: [Error] Channel resource allocation failed!!
[MCU2_0]      6.311695 s: VHWA: ERROR: DOF Init Failed !!!
[MCU2_0]      6.311727 s: VHWA: DMPAC: Init ... Done !!!

谢谢

此致

全丰

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好、Quanfeng、

    您能否使用资源管理器工具 SysConfig 将用于 DMPAC 的资源从 MCU2_1重新分配到 MCU2_0内核?

    是的、该补丁适用于 TDA4VM 器件、因此如果您要为 TDA4VL 更改该补丁、请使用 SysConfig 工具。

    此致、

    布里耶什

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    尊敬的  Brijesh:

    当我使用 SysConfig 工具更改扩展 Tx 通道 HWA 计数值时、 SysConfig 会显示两条警告消息、如下所示:

    下面是我更改的内容。 是这样吗?

    谢谢

    此致

    全丰

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好、Quanfeng、

    请不要计数为128、而是尝试使用计数为 224吗?  

    实质上、HWA 通道的起始值为112、VPAC 中有96个通道、之后则需要96个通道的间隙、然后 DMPAC 通道将启动。 因此、请为 MCU2_0分配所有96 + 96 + 32个通道。

    此致、

    布里耶什