ITTIA's embedded database DB SQL is now available for the μC/OS-II real-time kernel and μC/FS file system from Micriµm. μC/OS-II is a multitasking operating system kernel for microprocessors and microcontrollers that is preemptive, real-time, and scalable. The combination of ITTIA DB SQL and μC/OS-II empowers compact, easy to use, and flexible embedded and mobile application development. ITTIA DB SQL uses the multithreading primitives in μC/OS-II so that an application can connect to the same database concurrently from multiple tasks. The kernel, drivers, libraries, and application code are all compiled together into a single execution unit.
μC/FS is a portable file system library for embedded systems that can be used with or without an operating system. The storage device is accessed directly, giving the application optimized access. In a multitasking environment, tasks can share access to the file system by implementing locking functions or opening database connections. μC/FS does not rely on any other operating system features and does not require an operating system for single-task devices.
Transactional storage with ITTIA DB SQL improves persistent data storage in three key areas: reliability, scalability, and shared access. ITTIA DB-SQL is a database library that uses transaction logging, indexed search, and row-level locking to empower embedded applications and is also modular, allowing features such as shared access – and even the SQL engine – to be omitted to reduce footprint.
When shared access is enabled, ITTIA DB-SQL databases can be shared between multiple tasks easily. Each task accesses the database in its own transaction and is automatically prevented from accessing changes made by other tasks through row-level locking. As long as each task uses a different part of the database, a large number of tasks can read, update, and modify the same database all at once.