Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Building an embedded system

I want to build an embedded system with USB and Wifi. I am going to use USB to load configuration and code. Wifi will be used to communicate with other similar systems. I would also like to program at the socket level, which means I want the drivers for USB and Wifi already available and an OS. So if someone can point me to a set of things I might need to bootstrap such a system, it would be very helpful. Or an existing system with an RTOS that can be used would be great too.

like image 605
foobarometer Avatar asked Sep 19 '26 07:09

foobarometer


1 Answers

eCos is a true RTOS with support for USB and TCP/IP.

One problem you may have with any RTOS is getting device driver support for any particular WiFi device. It may be simpler to use a WiFi Module that connects to your embedded system via a SPI or UART interface or similar and has the complete stack on-board.

Similarly you can get USB-serial chips that avoid the complexities and processor load of implementing USB on your application processor. Not least it avoids the need for a USB vendor ID which will cost you $2000.

If you use stand-alone WiFi and USB modules your choice of RTOS becomes much broader since you avoid the need for so much middleware and a simple RTOS kernel providing threading, timing and IPC may suffice.

Of course a Linux based solution may suit, but the key issues with that is that Linux is not an RTOS, and it requires large memory resources.

WinCE/Windows Embedded Compact is another option, but is again relatively large and the licensing cost may be prohibitive. It is to an extent real-time capable in the sense that it is deterministic is not particularly fast.

.Net Micro might be an option, but is not real-time and while requiring fewer resources that either Linux or Windows Embedded Compact, it remains relatively large.

QNX Neutrino is probably the one solution with the scalability, real-time capability and middleware and hardware support you need, but there the licensing costs may again be prohibitive.

like image 95
Clifford Avatar answered Sep 22 '26 00:09

Clifford



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!