Memory pools

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • Memory pools

    Hi,

    Has anyone used the memory pools fuinctions ?

    I used one but it doesn't work, when creating the pool, I fall in the data_handler.

    Here is my code :

    OS_MEMF* pbigfreeq;

    char *pPool;
    pPool=OS_malloc(bigbufs * (bigbufsiz + OS_MEMF_SIZEOF_BLOCKCONTROL));
    OS_MEMF_Create(pbigfreeq, pPool,bigbufs,bigbufsiz);



    Thanks.
  • Hello,

    which embOS do you use? CPU, Compiler, version?
    Did you try to use a static Pool instead?

    I need a little bit more of information to be able to reproduce your issue :) .

    Til
    Please read the forum rules before posting.

    Keep in mind, this is *not* a support forum.
    Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
    Should you be entitled to support you can contact us via our support system: segger.com/ticket/

    Or you can contact us via e-mail.