Ada Cube 30C Review: 2023's Top ADA Compliance Solution?
The AdaCube 30C, a product of AdaCore, is a versatile and powerful unit designed to run Ada applications in embedded systems. Here, we delve into the intricacies of the AdaCube 30C, exploring its features, applications, and the Ada programming language it supports.
At its core, the AdaCube 30C is a high-performance, 32-bit microcontroller unit (MCU) based on the ARM Cortex-M33 processor. This makes it an ideal choice for embedded systems requiring enhanced security and real-time performance.
Understanding the Ada Programming Language
Ada, named after Ada Lovelace, is a statically typed, imperative programming language used widely in embedded systems, where reliability and safety are paramount. It was originally designed for the U.S. Department of Defense in the 1970s and is now standardized as ISO 8652.



The Ada programming language is known for its strong support for concurrency, which is particularly useful in embedded systems with multiple ongoing processes.
Ada's Tasking Concept
Tasks in Ada are similar to threads in other languages, enabling concurrent execution of independent processes. They are protected by runtime checks that guarantee mutual exclusion and prevent data races.



Consider a simple Ada program where two tasks print numbers alternately, demonstrating Ada's tasking capabilities:
with Ada.Text_IO;
procedure Tasking_Demo is
task Print_Numbers is
entry Start_Printing;
end Print_Numbers;
task body Print_Numbers is
begin
accept Start_Printing;
for I in 1..10 loop
Ada.Text_IO.Put_Line(I'Img);
end loop;
end Print_Numbers;
Print_Numbers_Instance : Print_Numbers;
begin
Print_Numbers_Instance.Start_Printing;
end Tasking_Demo;
Package Specifications and Bodies
Ada's package construct is used to encapsulate code and data, providing abstraction and hiding the implementation details. Packages consist of a specification and a body, allowing for separate compilation.
Here's a simple example of a package in Ada:






-- Math_Operations.ads (specification)
not nullpackage Math_Operations is
function Add(A, B : Integer) return Integer;
end Math_Operations;
-- Math_Operations.adb (body)
not nullpackage body Math_Operations is
function Add(A, B : Integer) return Integer is
begin
return A + B;
end Add;
end Math_Operations.body;
AdaCube 30C Features and Applications
The AdaCube 30C offers a variety of features that enhance its capability and versatility.
The inclusion of a Hardware Cryptographic Module (HCM) ensures top-notch security, enabling the developmemt of secure, certifiable systems, compliant with the most demanding safety standards. Furthermore, its support for real-time operation makes it suitable for time-critical applications in industries such as aerospace, automotive, and defense.
Dual-Banked SRAM and Flash Memory
AdaCube 30C comes with 32 KB of dual-banked SRAM and 256 KB of flash memory. This allows for in-system re-programming and ensures reliable data retention during power loss.

With dual-banked SRAM, it's possible to execute code from one bank while updating the other, providing seamless transitions between software versions.
SD/eMMC Support and Interfaces
The AdaCube 30C has an SD/eMMC interface, allowing for the use of high-capacity storage up to 2TB. This, along with other interfaces like I2C, SPI, UART, and USB, makes it suitable for a wide range of applications, from edge devices to complex embedded systems.
Its extensive library support for Ada and other languages, such as C, ensures expanded accessibility and ease of development.
The AdaCube 30C's robustness, coupled with the power of Ada, provides a potent combination for building reliable, secure, and efficient embedded systems. As the industry continues to demand more from embedded devices, the AdaCube 30C is well-positioned to meet these challenges. Visit AdaCore today to explore how the AdaCube 30C can enhance your embedded systems' capabilities.





