Experiences with (free) embedded TCP / IP stacks? [closed]

I’ve used both uIP and lwIP extensively. uIP Great if youre only wanting something basic like a bootloader Small footprint. Uses polling so we’ve never got over 3kbit with it 🙁 No DHCP ‘out of the box’ Poor UDP support lwIP Fully interrupt driven so much faster (~ x10) Includes DHCP with failover AutoIP UDP … Read more

What happens when an ISR is running and another interrupt happens?

Normally, an interrupt service routine proceeds until it is complete without being interrupted itself in most of the systems. However, If we have a larger system, where several devices may interrupt the microprocessor, a priority problem may arise. If you set the interrupt enable flag within the current interrupt as well, then you can allow … Read more

C++ exception overhead

Just my 2 cents… I consult exclusively on embedded systems, most of them hard real-time and/or safety/life critical. Most of them run in 256K of flash/ROM or less – in other words, these are not “PC-like” VME bus systems with 1GB+ of RAM/flash and a 1GHz+ CPU. They are deeply embedded, somewhat resource-constrained systems. I … Read more

Does it matter which microcontroller to use for 1st time embed system programmer?

Personally, I’d recommend an ARM Cortex-M3 based microcontroller. The higher-power ARM cores are extremely popular, and these low-power versions could very well take off in a space that is still littered with proprietary 8/16-bit cores. Here is a recent article on the subject: The ARM Cortex-M3 and the convergence of the MCU market. The Arduino … Read more

Learning kernel hacking and embedded development at home? [closed]

If you are completely new to kernel development, i would suggest not starting with hardware development and going to some “software-only” kernel modules like proc file / sysfs or for more complex examples filesystem / network development , developing on a uml/vmware/virtualbox/… machine so crashing your machine won’t hurt so much 🙂 For embedded development … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)