Tool/software: TI-RTOS
Hi,
I'm currently trying to integrate Linux IPC into the NIMU_BasicExample_evmAM572x_c66xExampleProject. Most part seems to be working, but the EMAC driver has some strange behaviour. I am able to send raw ethernet packages with the right length, but the sent data is just random garbage. As the data is passed by pointer my first assumption was that it's probably some "address resolution" problem. As the default data section of an application loaded by remoteproc seems to be in the Default CMA memory section and has on the DSP a virtual address.
So I tried different things:
1. I found a generated function that seemed like it could translate the address (_GateMP_virtToPhys), but the program just crashed after calling it without any debug information.
2. I tried to place my data I want to send in a place where physical and virtual address are the same. My first try was to place it in OCMC_RAM1 with various ways, but didn't succed.
3. My second try for a static data region was that I tried to put it in the EXC_DATA section. I could place it there, but the effect was still the same.
I use Linux / RTOS SDK version 05.02.00.10
I use the Linux image that came with the Linux SDK and modified the device tree to exclude the mac.
I would appreciate any help, as I am running out of ideas