Other Parts Discussed in Thread: SYSBIOS
Tool/software: TI-RTOS
Hello,
I'm using AM572x IDK board with TI-RTOS SDK 05.01.00.11.
I created one HTTP server instance and added no pages to it. I'm using PRU2 ETH0 (J6 component in AM572x board) interface to ping & HTTP working, A15 0 core for code compilation and check.
I found that with ROV help (HeapMem with tab Detailed). You can find my dumped values below:
What action to reproduce | totalFreeSize value |
Pause after RTOS startup (in 5 seconds) | 0xa82870 |
One (1) page receiving (by the web browser) | 0xa82390 |
Pause processor execution (after 10 seconds) | 0xa82390 (not changed) |
One (1) page receiving (by the web browser) | 0xa82360 |
One (1) page receiving (by the web browser) | 0xa82330 |
Ten (10) pages receiving (by the web browser) | 0xa82150 |
Pause processor execution (after 15 seconds) | 0xa82150 (not changed) |
Ten (10) pages receiving (by the web browser) | 0xa81f70 |
Thirty (30) pages receiving (by the web browser) | 0xa819d0 |
All of that time I pinged processor IP address, and it works good (when the processor was not paused). There are no other processor background tasks.
My memory size configuration from app.cfg file:
var Task = xdc.useModule('ti.sysbios.knl.Task');
Task.deleteTerminatedTasks = true;
/*
* ======== SYS/BIOS Configuration ========
*/
/* no rts heap */
Program.heap = 0x6000;
Program.argSize = 500; /* minimum size */
Program.stack = 0x3000;
/* create a default heap */
var HeapMem = xdc.useModule('ti.sysbios.heaps.HeapMem');
var heapMemParams = new HeapMem.Params();
heapMemParams.size = 0xA90000;
var Memory = xdc.useModule('xdc.runtime.Memory');
Memory.defaultHeapInstance = HeapMem.create(heapMemParams);
var Defaults = xdc.useModule('xdc.runtime.Defaults');
Defaults.common$.namedInstance = true;
How can I fix that?
With regards,
Alex
P.S. I'm using Ubuntu x64 16.04.5 LTS with Firefox 65.0.1 web browser.