On Apr 6, 6:11 pm, Joep Suijs <[email protected]> wrote:
> > Have look athttp://www.picos18.com/index_us.htmor search for rtos. > Salvo claims to support 16f chips (and smaller), but I only find the > 18F version... > > Joep I looked at RTOS. It is only 18F. It's also a huge code and RAM overhead. It's more suited to low end $4 ARM with not enough RAM + FLASH for Real Time Linux or RMOX or something. I have all the C source here since for ages. I could write a better RTOS for 18F. But it's not the way to go. Joep, one of my examples doesn't use the timer for "multi-tasking", but it won't work without either a serial buffer that is HW serial int driven, or a buffer driven by the 64usec RTC emulating a interrupt driven USART. If the SW serial uses the Timer interrupt to fill/empty the buffer, then the serial port example works without HW. For EEPROM you also implement a Pipe (signal controlled buffer). The eeprom_write_byte thus writes to a buffer and the "master" 64usec RTC has a suitable semaphores and software counter(s) to manage the buffer (Pipe) and the 5msec or whatever write delay. For array/block writes you do it a bit different. -- You received this message because you are subscribed to the Google Groups "jallib" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/jallib?hl=en.
