ada cube 30c

Ada Cube 30C Review: 2023's Top ADA Compliance Solution?

By Laura Thomas
AD

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.

AD
ADA Cube Garden 30C
ADA Cube Garden 30C
cube aquarium - Google Search
cube aquarium - Google Search
Marko’s ADA 30C
Marko’s ADA 30C

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.

an aquarium filled with green plants and rocks on top of a table next to a light
an aquarium filled with green plants and rocks on top of a table next to a light
an aquarium filled with green plants and rocks
an aquarium filled with green plants and rocks
ADA Cube Garden 30C Rimless Aquarium (Ultra High Clarity Low Iron Glass)
ADA Cube Garden 30C Rimless Aquarium (Ultra High Clarity Low Iron Glass)

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.

AD

Here's a simple example of a package in Ada:

30cm cube nature aquarium
30cm cube nature aquarium
ADA
ADA
an aquarium filled with green plants and rocks
an aquarium filled with green plants and rocks
an aquarium with plants in it on top of a wooden table next to a light
an aquarium with plants in it on top of a wooden table next to a light
Aqua Forest Aquarium
Aqua Forest Aquarium
an aquarium filled with plants and rocks on top of a table next to a wall
an aquarium filled with plants and rocks on top of a table next to a wall
-- 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.

AD

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.

an aquarium filled with plants and rocks
an aquarium filled with plants and rocks

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.

AD

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.

AD