Skip to content

Releases: Pepe-57/nano-os

Firmware 1.2.0 and Nano-OS 1.1.0

30 Mar 23:17
a6c38cb
Compare
Choose a tag to compare

Firmware

  • General improvements

OS

New features

  • IO driver
  • Simple calculator
  • General improvements

Terminal commands:

  • help, displays all commands
  • ram, displays RAM, usage: ram [start address] [end address]
  • diec, Direct Instruction Execution on Core, usage: diec [in, data, Instruction]
  • sysinfo, displays system information
  • setpin, sets pin value, usage: setpin <pin(1 or 2), value, 0 LOW or 1 HIGH>
  • getpin, gets pin value, usage: getpin <pin(3 or 4)>
  • calculator, simple calculator

How to install

Requirements

  • A microcontroller, Arduino recommended
  • Minimum of one Pcpu-Nano1
  • Arduino IDE

Installation steps

  1. Download Nano-OS from releases
  2. Extract the archive to your desired location
  3. Open NanoOS.ino
  4. Select your microcontroller and upload the sketch
  5. Open the serial monitor and set the baud rate to 115200
  6. Press reset on the microcontroller
  7. Now it is ready to use

Firmware 1.1.0 and Nano-os 1.0.0

03 Mar 19:49
07fafac
Compare
Choose a tag to compare

Firmware

Bug fixes:

  • Fixed And gate not working due to incorrect timing

New features and changes:

  • Added DIEC (Direct Instruction Execution on Core)
  • Added set memory
  • Added support for single Nano1
  • Changed jump0 PIN 11 to 12
  • Changed jump1 PIN 7 to 8

DIEC

DIEC or Direct Instruction Execution on the Core allows the user to execute machine code directly on the core without any assembling or compiling.

OS

Nano-OS is a microcontroller operating system written in C++. It uses Pcpu-Nano1 as a core and Arduino as memory. It is currently in development. More features will be added in the future.

Commands:

  • help, displays all commands
  • ram, displays RAM, usage: ram [start address] [end address]
  • diec, Direct Instruction Execution on Core, usage: diec [in, data, Instruction]
  • sysinfo, displays system information

How to install

Requirements

  • A microcontroller, Arduino recommended
  • Minimum of one Pcpu-Nano1
  • Arduino IDE

Installation steps

  1. Download and install Arduino IDE
  2. Download Nano-os
  3. Extract the archive to /Documents/Arduino/libraries
  4. Open Arduino IDE and click File -> Examples -> NanoOS -> nano_os
  5. Select your microcontroller and upload the sketch
  6. Open the serial monitor and set the baud rate to the same as 'Serial.begin()'
  7. Press reset on the microcontroller and clear the serial monitor
  8. Now it is ready to use

Firmware 1.0.0

28 Feb 20:52
d014c38
Compare
Choose a tag to compare

First version of Nano-Firmware

Features:

  • Each Nano1 acts as core
  • 2 core support
  • All computations done by using a single NAND gate
  • Logic gate emulation
  • Arduino as ram and rom