Dear All,
I encounter a memory allocation failure when using JLink SDK, I was wondering if you could shed some light on the source of it.
My program uses a DLL to communicate with ARM thru teh SDK. It opens/close connection to the core in an endless loop using (eventually) JLINKARM_Open() and JLINKARM_Close()
After ~450 iteration, I get a Windows error that it failed to allocate 0x00400000 bytes of memory, followed by the following JLINK 4.86a internal pop-up messages: TRACEBUF: could not alloc global buffer for trace data.
In an attempt to find the source of the problem I'm using visual leak detector which reports that the leak started at JLINKARM_PERIODIC _Control - which is a function I don't call at all.
Could you explain what is the source of the JLINK error message and how can I avoid it?
Many Thanks!
Hila Miranda-Kuzi
I encounter a memory allocation failure when using JLink SDK, I was wondering if you could shed some light on the source of it.
My program uses a DLL to communicate with ARM thru teh SDK. It opens/close connection to the core in an endless loop using (eventually) JLINKARM_Open() and JLINKARM_Close()
After ~450 iteration, I get a Windows error that it failed to allocate 0x00400000 bytes of memory, followed by the following JLINK 4.86a internal pop-up messages: TRACEBUF: could not alloc global buffer for trace data.
In an attempt to find the source of the problem I'm using visual leak detector which reports that the leak started at JLINKARM_PERIODIC _Control - which is a function I don't call at all.
Could you explain what is the source of the JLINK error message and how can I avoid it?
Many Thanks!
Hila Miranda-Kuzi