Table des matières!:
Table des matières!:
INTRODUCTION _________________________________________________________________________ 1
1.1 TRAVAIL EXISTANT_________________________________________________________________ 1
1.2 OBJECTIFS _________________________________________________________________________ 1
1.3 APPLICATIONS _____________________________________________________________________ 2
1.4 PRODUITS DU MARCHE _____________________________________________________________ 2
1.5 ORGANISATION DU TRAVAIL ________________________________________________________ 3
MATERIEL A DISPOSITION _______________________________________________________________ 4
2.1 KIT DE DEVELOPPEMENT NIOS_______________________________________________________ 4
2.2 KIT DE DEVELOPPEMENT ETHERNET POUR NIOS ______________________________________ 5
2.3 CAMERA 2D ________________________________________________________________________ 5
2.4 LOGICIELS _________________________________________________________________________ 6
2.4.1 QUARTUS __________________________________________________________________________ 6
2.4.2 SOPC Builder ____________________________________________________________________ 6
2.4.3 NIOS SDK _______________________________________________________________________ 6
2.4.3 Ultra Edit________________________________________________________________________ 6
2.4.4 Visual C++ ______________________________________________________________________ 6
2.4.5 Logiciel CamAff___________________________________________________________________ 6
2.4.6 Sniffer XP________________________________________________________________________ 6
RESEAUX INFORMATIQUES ______________________________________________________________ 7
3.1 GENERALITES ______________________________________________________________________ 7
3.2 DIVISION EN COUCHES______________________________________________________________ 7
3.3 COUCHE DE LIEN : ETHERNET _______________________________________________________ 8
3.4 COUCHE RESEAU : IP ________________________________________________________________ 9
3.5 COUCHE TRANSPORT : TCP ET UDP ___________________________________________________ 9
3.6 COUCHE APPLICATION : HTTP_______________________________________________________ 11
ARCHITECTURE GENERALE DU SYSTEME ________________________________________________ 12
4.1 SCHEMA BLOC ____________________________________________________________________ 12
4.2 LES DIFFERENTS COMPOSANTS EN DETAILS _________________________________________ 13
4.2.1 Module sous SoPc Builder __________________________________________________________ 13
4.2.2 Processeur Nios__________________________________________________________________ 14
4.2.3 La mémoire de boot (ROM) _________________________________________________________ 14
4.2.4 UART__________________________________________________________________________ 15
4.2.5 Timer __________________________________________________________________________ 15
4.2.6 Boutons ________________________________________________________________________ 16
4.2.7 Les LED’s ______________________________________________________________________ 16
4.2.8 Affichage 7 segments ______________________________________________________________ 17
4.2.9 La bus de mémoire externe _________________________________________________________ 17
4.2.10 La mémoire statique (SRAM) _______________________________________________________ 17
4.2.11 La mémoire flash ________________________________________________________________ 18
4.3 SCHEMA LOGIQUE _________________________________________________________________ 18
4.4 PLAN MEMOIRE ET INTERRUPTIONS _________________________________________________ 19
INTERFACE AVEC LA CAMERA __________________________________________________________ 20
5.1 REMARQUES PREALABLES _________________________________________________________ 20
5.2 SYNCHRONISATION SUR LES DONNEES DE LA CAMERA_______________________________ 21
5.3 NOUVELLE STRUCTURE ____________________________________________________________ 22
5.4 HORLOGE METASTABLE ___________________________________________________________ 23
5.5 INTEGRATION DES INTERFACES DANS LA LOGIQUE PROGRAMMABLE _________________ 23
5.6 REGISTRES DE L’INTERFACE________________________________________________________ 24
5.6.1 Registre de contrôle_______________________________________________________________ 24
5.6.2 Registre d’état ___________________________________________________________________ 25
5.6.3 Registre des compteurs ____________________________________________________________ 25
5.6.4 Registre de données _______________________________________________________________ 25
5.7 UTILISATION AU TRAVERS DU PROCESSEUR _________________________________________ 25
5.8 LIMITE DU SYSTEME _______________________________________________________________ 26