Hi will appreciate if you guys could enlighten me on some doubts:
1) the windows and posix simulator runs expected on my computer (win7/linux) but when i run on debian (arm9) the freeRTOS does run but timing is weird. a delay of (500/ portTICK_RATE_MS) will only be waken again after 2-3 sec instead of 500 milisec. any suggestion which part of the code/configuration to look out for? the settings are all default as the freertos posix demo. fyi, i’m cross compiling for the gnu arm.
2) I have used the AsyncIO on the demo and it looks good. will like to know if it will be a good way to call read(2) from ISR(which is what the demo is doing) or wake a task from ISR where the task will do the read(2). I’m assuming reading lots of bytes.
3) related to q2, to do a posix write(2) to a uart device (baud 57600), is it okay to issue the write(2) command from a normal task? i’m assuming context switch will happen during a long write but the OS will takes care of it?
4) i’m thinking of modifying the AsyncIO UDP example to TCP. is there any consideration needed ?
thanks! any info will be of help.