Giter Club home page Giter Club logo

prog_cartap's Introduction

Programmation Carte à Puce

Regroupement des TP d'initiation à la programmation carte à puce en Master 1 à l'université paris 8

Ces différents TP aboutissent à un projet de porte monnaie et à sa sécurisation à partir d'une carte à puce

La norme utilisé est ISO 7816 et la communication avec la carte ce fait grace au commandes APDU.

Le compilateur utilisé est gcc-avr et le programme est écrit en C et la simulation ce fait grace au programme scat.

Installation de l'espace de travail

Dans un environnement linux:
  1. Installer les paquets:
  • gcc-avr
  • avr-libc
  • binutils-avr
  • libpcsclite-dev
  • pcsc-tools
  • avrdude
  • pcscd (et le lancer)
2. Installer le paquet libreadline-dev
  1. Copier le fichier 10-tty.rules dans le répertoire /etc/udev/rules.d, cela permet d'avoir les droit d'écriture sur le programmateur et relancer le service udev.

Compiler et Exécuter

Pour compiler: 1. Déplacez-vous dans le dossier hello 2. Tapez la commande make progcarte NB: Le programme doit se trouver dans un fichiers hello.c (consulter le makefile)

Pour exécuter:

  1. Dans le dossier du projet exécuter le programme scat
  2. Puis dans le prompt taper la commande à exécuter Syntaxe: classe ins P1 P2 P3 [data] Dans ce projet la classe 80 a été utilisé vous pouvez vérifier l'instruction dans le code avant la mise à jour de ce readme.

#C#programmationC#cartap#systemeembarque#avr#avrgcc#cartapuce#scat #MLF

prog_cartap's People

Contributors

mlffall avatar

Watchers

 avatar

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.