Support : Knowledge base

Knowledge Base

Welcome to OPAL-RT’s Knowledge Base

OPAL-RT offers a repository of support information for optimal use of its technology.

Loading…

Please note that OPAL-RT knowledge base is not fully optimized for mobile platforms.

For optimal experience, use a desktop computer.

Reference Number: AA-02025// Views: AA-02025// Created: 2021-07-15 15:45:36// Last Updated: 2022-01-10 21:19:14
HowTo
FPGA SCOPE : Failed to allocate DMA memory

The following article shows how to solve the following issue when loading a model with the FPGA SCOPE feature : 



STEP #1 : login to the linux OS inside the target


In order to login to the linux OS inside the target, you can use one of these 2 methods : 

note : You can find the user and password in the system description document delivered with your system.


STEP #2 : Verify the value of DMA memory that is in your simulator at the present moment


In order to do that, you will need to type the following command : cat /proc/buddyinfo




If the two last values (in red) are "0" or "1", it means that you don't have enough DMA memory at the present moment (that's why you're having this issue). In order to free up space you need to soft-reboot the simulator.


STEP #3 : Soft-reboot your simulator from RT-LAB and re-do STEP#2



After re-executing the same command you can see that the the two last values (in red) are different from "0" or "1", it means that you have now enough DMA memory.




STEP #4 : Reload the model and you should be all good now to use the FPGA SCOPE feature




For any question please contact technical support