Code Monkey home page Code Monkey logo

climb-obc-hardwaretest's People

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

robertk66

climb-obc-hardwaretest's Issues

Check(?) and Re-Initialization (of Register Set / modules)

To get recovery from bit flips in CPU Configuration registers there should be a mechanism to re-initialize all needed (IO/Configuration-) Registers.
It would also be nice to have a check prior to re-initialization. (Not sure if this can be done with all registers but where it works it would be another useful indicator (error counter) to record during the radiation tests.

make flexible UART Layer1 module

to be used by Thruster, COM (StacieA-C IF), CLI and/or Stacie-S IF.
It should be usable with Uart0 .. 3 and have a configurable TX ringbuffer.

UART-A to UART-C test routine

Interconnect UART-A to UART-C externally and send simple test strings to verify the functionality of the UART interface and hardware.

Port (and refactor) RTC routines from pegasus software

In the end we should be able to

  • read/set time
  • recover a 'epoch time' after resets
  • indicate if and why recovery of epoch time was not successful after different kind of resets.

For the radiation tests the epoch time and recovery is not yet important/needed but it would be good to have a robust 'Sternzeit-module' from early on .....

RS485 test

Use an external RS485 convertert at the LogBerry to verify functionality of this interface with simple test strings.

Add watchdog message to serial interface

Add following message to be transmitted regularly from the OBC to the LogBerry: "Supervision watchdog feed". This resets the external watchdog on the LogBerry which triggers a power cycle after 5 minutes without receiving this message.

Unit: Secunda - no 32,768kHz oscillation?

Tests with the clkOut command first time showed no Output when switched to "clkOut RTC".

After touching the Pins of the RTC Xtal it was ok.
Following tests with several PowerDown/Up cycles and also with Debug sessions restarts and so on I never could reproduced the problem a second time.

make RGB-LED work

On the OBC we have a RGB LED WS2812 connected to PIN67 (IO Port P2[6]).
It would be nice to have a function available to control this LED by means of setting RGB value.

(on the LPCX board there is a RGB led with 3 output pins able to get 7 different colors. We also could write an additional 'Hardware abstraction' here for having same routines work on both boards...)

SSP Layer1 - not working stable if used massively parallel

During development of radiation tests, I tried to use Flash and Mram memory at the same time and run into errors with bus blocking. I think the logic from IRQ - Layer1 - Layer2 signalling - especially in regard to busy bus / wait for unload sender in IRQ - is not working stable yet!

Workaround for radiation test: use all connect devices (MRAM - Flash1 - Flash2) strictly sequential!

Add commands to set/clear predefined GPIO pins

Implement CLI commands to set/reset GPIO pins for commissioning tests. Especially important for CS and GPIO pins, but may also be used to test the solder connection of arbitrary LPC pins which are accessible for measurement.

A command in the way of test(PX[xx], state) would be nice. X is the Port number, xx the pin number and state is the output state 0/1. The command should initialize the PIN as GPIO, set the state accordingly.

Make Command Infrastructure on Debug UART

In order to get a command Line interface we can use the UART Side B as debug interface for commanding and output. There should be a command loop similar to PEG but with better cmd structure (better fitting later COM Packages).

Fix compile errors under Linux

When MCUX is used under Linux this repos does not compile. Reason are several 'typos' mainly within include directives asking for .h files with wrong capitalized letters in it!

Sequencer for Radiation test

Make a module controlling the Radiation test. It should be able to

  • have (compile time) Configuration of different timings (e.g. Read/Write cycles per min/hour and per memory type)
  • Make Block read tests on all Memory types (with 2 or 3 different patterns?)
  • Make Block write tests on all Memory types (with 2 or 3 different patterns?)

The block read/write will be provided by 'Layer2'-modules. (see and start with EEPROM which is also available on the LPCX board)

EM1-HW: Watchdog is not triggered with Power Up

When the software does not touch the WATCHDOG_FEED pin at all the watchdog reset is never triggered.

The green LED does light up for a very short time, but it seems that the first monoflop (IC5-1) is not triggered during normal power up operation (via USB - LPC-LINK2).

Interfacing Telemetry output from OBC to radiation test harness

The idea here is to provide

  1. Some Indication to the outside world, that software still operates nominal - (message on UART or regular toggling of dedicated IO-Pin
  2. Some Indication of the various memory test results (checksum ok-failed counts operational read/write errors ....) -> I propose messages on UART B (TXD2/RXD2 pin 64/65)
  3. optional commands to control some aspects of the tests during test run. (e.g. Enable/disable some parts of tests - control speed/treshholds of tests, ...

The concrete content here is TBD and I herewith open the discussion under this issue ;-)

Add ADC support (TEMP Sensor)

Add measurement readout and regular transmission temperature and supply currents, acquired by ADC.
Code is available.

Make/Port Stacie A/C COM Module

To prepare COM tests we should port and adapt PEG Software to make a module structure ready for testing communications with STACIE hardware.

Transmit GPIO states

Regularly transmit state of following signals:
RBF
Supply Rail
Bootloder Selection

Pin definitions and code available

Implement remote access

Implement remote access (e.g. Teamviewer) using a PC provided by Carsten, which will be placed in the control room at Seibersdorf. The three LogBerries are connected via a switch to the PC. SSH and FTP to access the LogBerries should be sufficient.

AdoHardwareTest new features

@andreassinn : This could be our base for adding features in regard to OBC board commissioning.

At this moment only CLI runs (on UART2) and nothing else gets initialized or tested.

My plan is to move more and more modules from the test_adolib_lpcexpresso1769 project to the lib and make them available here. Pls. let me know if and what you are expecting first.

Basic Wiki Instructions

I tried to set up a Wiki page with the very basic instructions how to get started with the MCUX SW and work with the debugger boards.

However there is no "edit" or "new page" option available for my account. Maybe permissions have to be set...

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.