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.

AWR2944: awr2944解锁步运行?

Other Parts Discussed in Thread: AWR2944

Ti的工程师您好!

  我们目前基于awr2944在进行开发,awr2944一共有r5-0,r5-1,dsp三个核,在默认的demo中,r5-0与r5-1是lockstep模式运行的,请问一下,如果我想让r5-0与r5-1单独运行,请问我该如何操作呢?我浏览了该论坛其它相关回答,说是分开运行不支持,但是我阅读了sdk相关文档,又是支持的,mmwave_mcuplus_sdk_04_04_01_02\mcu_plus_sdk_awr294x_09_00_00_15\examples\networking\enet_layer2_multi_channel\awr294x-evm也提供了r5-0,r5-1双核单独运行的demo,sbl会自动根据appimage中的程序数量,切换至不同的模式,如果我想要r5-0,r5-1单独运行,是不是建立r5-0,r5-1,dsp三个工程就可以了,最后,如果要3核调试,该怎么进行操作?期待您的回复!

  • 是的,要使 R5-0 和 R5-1 单独运行,步骤包括:

    创建独立的工程项目、加载程序到各自的核心、配置启动加载程序(SBL)、多核调试

  • 好的,谢谢,问题已解决,修改ccs_debug程序后3个核也可以正常调试,但是内存r5-0与r5-1,存在一些问题,r5-1在不使用TCMB的情况下,可以正常运行,但是使用TCMB后,会跑飞,我的内存配置如下,请问一下是否存在问题:

    r5-0:

    /* Memory Map */
    MEMORY{
    PAGE 0:
    RESET_VECTORS (X) : origin=0x00000000 length=0x00000100
    TCMA_RAM (RX) : origin=0x00000100 length=0x00007F00
    TCMB_RAM (RW) : origin=0x00080000 length=0x00008000

    /* when using multi-core application's i.e more than one R5F active, make sure
    * this memory does not overlap with other R5F's
    */
    SBL_RESERVED_L2_RAM (RW) : origin=0x10200000 length=0x00020000

    MSS_L2 (RW) : origin=0x10220000 length=0x00060000

    /* Total of 2.5 MB of DSS L3 is available */
    DSS_L3 (RW) : origin=0x88000000 length=0x00200000//used 2MB
    HWA_RAM (RW) : origin=0x82000000 length=0x00020000
    HSRAM : origin=0x88278000 length=0x8000 //used 32KB

    /* 1st 512 B of DSS mailbox memory and MSS mailbox memory is used for IPC with R4 and should not be used by application */
    /* MSS mailbox memory is used as shared memory, we dont use bottom 32*6 bytes, since its used as SW queue by ipc_notify */
    RTOS_NORTOS_IPC_SHM_MEM : ORIGIN = 0xC5000200, LENGTH = 0x1D40
    }

    r5-1:

    MEMORY{
    PAGE 0:
    RESET_VECTORS (X) : origin=0x00000000 length=0x00000100
    TCMA_RAM (RX) : origin=0x00008000 length=0x00008000
    TCMB_RAM (RW) : origin=0x00088000 length=0x00008000

    /* when using multi-core application's i.e more than one R5F active, make sure
    * this memory does not overlap with other R5F's
    */
    // SBL_RESERVED_L2_RAM (RW) : origin=0x10280000 length=0x00020000

    MSS_L2 (RW) : origin=0x10280000 length=0x00068000

    /* Total of 2.5 MB of DSS L3 is available */
    DSS_L3 (RW) : origin=0x88000000 length=0x00200000//used 2MB
    HWA_RAM (RW) : origin=0x82000000 length=0x00020000
    HSRAM : origin=0x88278000 length=0x8000 //used 32KB

    /* 1st 512 B of DSS mailbox memory and MSS mailbox memory is used for IPC with R4 and should not be used by application */
    /* MSS mailbox memory is used as shared memory, we dont use bottom 32*6 bytes, since its used as SW queue by ipc_notify */
    RTOS_NORTOS_IPC_SHM_MEM : ORIGIN = 0xC5000200, LENGTH = 0x1D40
    }

  • 但是使用TCMB后,会跑飞,我

    检查一下内存访问