Project introduction

This is a manual to Prosthetic Device Communication Protocol (PDCP) designed by Yves Losier and implemented as Master Thesis project by
Andrzej Zamojski (TU of Lodz, Poland)
and
Andreas Nordal (NTNU in Trondheim, Norway).
Supervisor of both of them was Øyvind Stavdahl (Cybernetic Department, NTNU)

PDCP was previously only implemented on PIC microcontrollers, as result of interface development. To spread the idea of a standardized interface for prosthetics, it was decided to implement PDCP for the AVR platform, which is widely used in prosthesis industry.

Team of Andreas and Andrzej divided protocol implementation into 2 parts:

Hardware Abstraction Layer ( HAL )
designed by Andrzej Zamojski (AZ) (mail)
High Level Layer ( HLL )
designed by Andreas Nordal (AN) (mail)

Purpose of HAL layer : provide transparency of hardware for higher layers of interface. Designers of
higher layers of PDCP should not take care (as far as it`s not needed) of any aspects of hardware (like port initialization, interrupt routines responsible for communication with CAN controller and others). Parts of the code, which should be refreshed by application designer, are specially described.

Purpose of HLL layer : provide abstractions of the PDCP protocol itself. Functionality and aspects of the protocol are captured through functions and datatypes.
binding.




Important functionalities

The most importan functionalities provided by designed interface was shortly described on the pages:

Hardware resources

Hardware resources used for protocol implementation are:

Software platform

Software was tested using AVR Studio version 4.19 and JTAGICE mkII debugger.
Software can also be compiled using provided makefile, which was tested with avr-gcc 4.3.3.


Name convention

To facilitate software development following name convention was used within the project:




 All Classes Files Functions Enumerations Enumerator Defines