This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Failed to allocate 0x00400000 bytes of memory

Hi

I have a programming issue with nRF51822. I am using the nrfjprog.dll to program this microcontroller in my test equipment via J-link Plus. When I have programmed a certain amont of units then i get this error message: image description

My first thought was that this was a problem with the J-link dll. So I contacted SEGGER. But they say that this does not come from the j-link dll but from a third party application. So this must come from the nrf tools.

can anyone help?

  • We are investigating it. Are you using the command line tool (nrfjprog.exe) or the DLL (nrfjprog.dll) directly? Or are you using some other tool?

    Could you also specify the version number of the tool you are using (nrfjprog.exe => nrfjprog -v)?

  • Hi

    I use nrfjprog.dll directly from LabView.

    But actually in the meantime I got SEGGER support to admit that it is a problem with the JlinkARM.dll because after re-creating this bug I got this error message right after the message above

    image description

    It shows that this error message comes from Jlink. SEGGER support says that this is fixed from V5.02i: This is version history from V5.02i:

    V5.02i:

    • DLL: Memory and handle leaks may occur when loading and freeing the DLL multiple times without also terminating the calling process. Fixed.

    However when I install nrftools then it installs JLink_V498c

    BR DHLA

Related