Jump to content
  • 0

Memory allocation using Eclypse Z7 board issue



Hello, I have an issue trying to run the Zmod DAC 1411 demo program on the Ecylpse Z7 board. When we run it, we get an error stating that the buffer cannot be allocated. 

One of the issues we are having seems to be with this portion of the code:

uint32_t* ZMODDAC1411::allocChannelsBuffer(size_t &length) {

    if(length > ZmodDAC1411_MAX_BUFFER_LEN)


    length = ZmodDAC1411_MAX_BUFFER_LEN;


    return (uint32_t *)ZMOD::allocDMABuffer(length * sizeof(uint32_t));


Could anyone help us resolve this problem?

Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...