Ahoj Nada,
No problem at all.
Good luck with your project
BR, Jan
Ahoj Nada,
No problem at all.
Good luck with your project
BR, Jan
Thank you so much
Dear Jan,
I want to ask about how many thread can I create for mbed LPC1768.
I had these threads in my program
//Threads
Thread UDP_Socket_AITV01(osPriorityNormal, 2000);
Thread UDP_Socket_AITV02(osPriorityNormal, 2000);
Thread UDP_Socket_AITV03(osPriorityNormal, 2000);
Thread UDP_Socket_AITV04(osPriorityNormal, 2000);
Thread TCP_Server(osPriorityNormal, 2000 );
Thread Process_TCP(osPriorityNormal, 2000);
Thread Safety_Relay(osPriorityNormal, 2000);
Thread Temp_Sensor(osPriorityNormal, 2000);
Thread FMS_UDP(osPriorityNormal, 2000);
but I’m facing this error:
Please, your advise.
Regards
Dear Nada,
I am not sure but probably only limitation is the amount of memory that you have available on the target.
Somewhere I read the LPC1768 has 64KB (32KB reserved for features like ethernet/usb/can + 32KB for user app) of RAM.
BR, Jan
Thank you so much Jan
I will try to trace the memory and reduce the use of the memory.
Regards
Nada
Thank you Jan for your help.
I’ve already solved the issue by redusing the stack size for the threads.
Regards
Nada