Hi Community, I don’t know sure if this is the best place to ask this question. But I’m working the phyCORE-AM335x and I have been trying to program the PRUss and for this function I have already installed the module uio_pruss and I have the libraries of https://github.com/beagleboard/am335x_pru_package. Nevertheless when I try to init the Shared RAM and PRU Data RAM the pointer in the program take random values. The code that I use to init this RAM is:
prussdrv_map_prumem(PRUSS0_SHARED_DATARAM, (void**)&pEsc); memset ( (void*)pEsc, 0, 12*1024); //Init ICSS shared ram prussdrv_map_prumem(PRUSS0_PRU0_DATARAM, (void**)&pHost2PruIntfc); memset ((void*)pHost2PruIntfc, 0, 8*1024) Where pEsc and pHost2PruIntfc would be the pointer of this RAM memories but its values are not correlated with the Address of this memories. I don’t have any Idea about what I am overlooking, so all help is welcome. -Regards Breixo Lopez Garcia
