Skip to content

The RDC example does not work on evkmimx8mp #17

@zionst

Description

@zionst

https://github.com/nxp-mcuxpresso/mcux-sdk-examples/blob/main/evkmimx8mp/driver_examples/rdc/
IMX8MP evaluation board: SCH-46370 REV B1
Affected BSP: All BSPs from NXP website with kernel lf-5.10.y and lf-5.15.y
MCUXpresso SDK version: SDK_2.13.0_EVK-MIMX8MP

Testing Procedure:
Case 1, in U-Boot:

load mmc 2:2 0x70000000 lib/firmware/rdc.bin
cp.b 70000000 0x7e0000 20000
bootaux 0x7e0000

Case 2, in Linux:

echo -n rdc.elf > /sys/class/remoteproc/remoteproc0/firmware
echo start > /sys/class/remoteproc/remoteproc0/state

Expected Output:

RDC Example:
RDC Peripheral access control
RDC Peripheral access control with SEMA42
RDC memory region access control

RDC Example Success

Actual Output (in both cases):

RDC Example:
RDC Peripheral access control

I also tried running each of the three test cases APP_RDC_Periph(), APP_RDC_PeriphWithSema42() and APP_RDC_Mem() by commenting out the other two, all failed. Even though HardFault_Handler was triggered, memDemoError equals 3 in Fault_Handler.

However, the same RDC example for IMX8MM evk works perfectly:
https://github.com/nxp-mcuxpresso/mcux-sdk-examples/tree/main/evkmimx8mm/driver_examples/rdc
IMX8MM evaluation board: SCH-31407 REV C4
Tested BSP: All BSPs from NXP website with kernel lf-5.10.y and lf-5.15.y
MCUXpresso SDK version: SDK_2.13.0_EVK-MIMX8MM

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions