Re: Disobeying jet engines - why?





Terry Given wrote:

John Larkin wrote:

If ever you assign a programmer to do a deep-embedded app, and he says
"first, we'll have to write/buy an rtos", fire him instantly.


LOL! I had a programmer write code for a user interface module. 4x20
LCD, 3 LEDs, 5 buttons and a MODBUS interface (it was a master). Used a
8951 with 64kb flash and 4kb SRAM. He wrote an RTOS, which wasnt a bad
start, although not really necessary. but ran out of RAM, and used most
of the FLASH, which was supposed to store drive config data - I expected
the code to take 4kb max.

turns out his C compiler was using 32-bit numbers for BOOLEANS!

GULP !

Of course PL/M51 makes full use of the 8051's bit handling. Never fails to
amaze me how little RAM is required.

Graham

.


Loading