créer un projet mplabx en important le projet mplab, régler les problèmes de dossier problème d'utilisateur etest8 en ER2AU, pas sur machine 2EN-E12 ------------------------ C:\applis\Microchip\MPLABX\mplab_ide\bin>mplab_ide.exe C:\applis\Microchip\MPLABX\mplab_ide\bin> The launcher has determined that the parent process has a console and will reuse it for its own console output. Closing the console will result in termination o f the running program. Use '--console suppress' to suppress console output. Use '--console new' to create a separate console window. java.io.FileNotFoundException: C:\Users\etest8\AppData\Roaming\.mplab_ide\dev\v2 .05\var\cache\lastModified\all-checksum.txt (Le chemin dÆaccÞs spÚcifiÚ est intr ouvable) at java.io.FileOutputStream.open(Native Method) at java.io.FileOutputStream.(Unknown Source) at java.io.FileOutputStream.(Unknown Source) at org.netbeans.Stamps.compareAndUpdateFile(Stamps.java:474) at org.netbeans.Stamps.stamp(Stamps.java:359) at org.netbeans.Stamps.moduleJARs(Stamps.java:306) at org.netbeans.Stamps.lastModified(Stamps.java:122) at org.netbeans.Archive.(Archive.java:116) at org.netbeans.JarClassLoader.initializeCache(JarClassLoader.java:104) at org.netbeans.MainImpl$BootClassLoader.run(MainImpl.java:295) at org.netbeans.CLIHandler.initialize(CLIHandler.java:499) at org.netbeans.CLIHandler.initialize(CLIHandler.java:349) at org.netbeans.MainImpl.execute(MainImpl.java:185) at org.netbeans.MainImpl.main(MainImpl.java:81) at org.netbeans.Main.main(Main.java:78) fÚvr. 06, 2015 5:39:57 PM org.netbeans.Stamps discardCachesImpl WARNING: Cannot create C:\Users\etest8\AppData\Roaming\.mplab_ide\dev\v2.05\.las tModified java.io.IOException: Le chemin dÆaccÞs spÚcifiÚ est introuvable at java.io.WinNTFileSystem.createFileExclusively(Native Method) at java.io.File.createNewFile(Unknown Source) at org.netbeans.Stamps.discardCachesImpl(Stamps.java:276) at org.netbeans.Stamps.stamp(Stamps.java:360) at org.netbeans.Stamps.moduleJARs(Stamps.java:306) at org.netbeans.Stamps.lastModified(Stamps.java:122) at org.netbeans.Archive.(Archive.java:116) at org.netbeans.JarClassLoader.initializeCache(JarClassLoader.java:104) at org.netbeans.MainImpl$BootClassLoader.run(MainImpl.java:295) at org.netbeans.CLIHandler.initialize(CLIHandler.java:499) at org.netbeans.CLIHandler.initialize(CLIHandler.java:349) at org.netbeans.MainImpl.execute(MainImpl.java:185) at org.netbeans.MainImpl.main(MainImpl.java:81) at org.netbeans.Main.main(Main.java:78) java.io.IOException: Le chemin dÆaccÞs spÚcifiÚ est introuvable at java.io.WinNTFileSystem.createFileExclusively(Native Method) at java.io.File.createNewFile(Unknown Source) at org.netbeans.CLIHandler.initialize(CLIHandler.java:518) at org.netbeans.CLIHandler.initialize(CLIHandler.java:349) at org.netbeans.MainImpl.execute(MainImpl.java:185) at org.netbeans.MainImpl.main(MainImpl.java:81) at org.netbeans.Main.main(Main.java:78) java.io.IOException: Le chemin dÆaccÞs spÚcifiÚ est introuvable at java.io.WinNTFileSystem.createFileExclusively(Native Method) at java.io.File.createNewFile(Unknown Source) at org.netbeans.CLIHandler.initialize(CLIHandler.java:518) at org.netbeans.CLIHandler.initialize(CLIHandler.java:349) at org.netbeans.MainImpl.execute(MainImpl.java:185) at org.netbeans.MainImpl.main(MainImpl.java:81) at org.netbeans.Main.main(Main.java:78) java.io.IOException: Le chemin dÆaccÞs spÚcifiÚ est introuvable at java.io.WinNTFileSystem.createFileExclusively(Native Method) at java.io.File.createNewFile(Unknown Source) at org.netbeans.CLIHandler.initialize(CLIHandler.java:518) at org.netbeans.CLIHandler.initialize(CLIHandler.java:349) at org.netbeans.MainImpl.execute(MainImpl.java:185) at org.netbeans.MainImpl.main(MainImpl.java:81) at org.netbeans.Main.main(Main.java:78) java.io.IOException: Le chemin dÆaccÞs spÚcifiÚ est introuvable at java.io.WinNTFileSystem.createFileExclusively(Native Method) at java.io.File.createNewFile(Unknown Source) at org.netbeans.CLIHandler.initialize(CLIHandler.java:518) at org.netbeans.CLIHandler.initialize(CLIHandler.java:349) at org.netbeans.MainImpl.execute(MainImpl.java:185) at org.netbeans.MainImpl.main(MainImpl.java:81) at org.netbeans.Main.main(Main.java:78) java.io.IOException: Le chemin dÆaccÞs spÚcifiÚ est introuvable at java.io.WinNTFileSystem.createFileExclusively(Native Method) at java.io.File.createNewFile(Unknown Source) at org.netbeans.CLIHandler.initialize(CLIHandler.java:518) at org.netbeans.CLIHandler.initialize(CLIHandler.java:349) at org.netbeans.MainImpl.execute(MainImpl.java:185) at org.netbeans.MainImpl.main(MainImpl.java:81) at org.netbeans.Main.main(Main.java:78) java.io.FileNotFoundException: C:\Users\etest8\AppData\Roaming\.mplab_ide\dev\v2 .05\var\log\messages.log (Le chemin dÆaccÞs spÚcifiÚ est introuvable) at java.io.FileOutputStream.open(Native Method) at java.io.FileOutputStream.(Unknown Source) at org.netbeans.core.startup.TopLogging.defaultHandler(TopLogging.java:4 18) at org.netbeans.core.startup.TopLogging.(TopLogging.java:174) at org.netbeans.core.startup.TopLogging.initialize(TopLogging.java:210) at org.netbeans.core.startup.TopLogging.initialize(TopLogging.java:191) at org.netbeans.core.startup.CLIOptions.initialize(CLIOptions.java:229) at org.netbeans.core.startup.Main.start(Main.java:230) at org.netbeans.core.startup.TopThreadGroup.run(TopThreadGroup.java:114) at java.lang.Thread.run(Unknown Source) Cannot create system directory in C:\Users\etest8\AppData\Roaming\.mplab_ide\dev \v2.05\config. C:\applis\Microchip\MPLABX\mplab_ide\bin> C:\applis\Microchip\MPLABX\mplab_ide\bin> C:\applis\Microchip\MPLABX\mplab_ide\bin> -----plan-adressage-eren.txt----- --- VLAN 1600 --- préfixe réseau : 172.16.0.0/26 passerelle par défaut : 172.16.0.1 plage @IP fixes : 172.16.0.2 - 33 plage @IP DHCP : 172.16.0.34 - 62 --- VLAN 1601 --- préfixe réseau : 172.16.1.64/26 passerelle par défaut : 172.16.0.65 plage @IP fixes : 172.16.0.66 - 97 plage @IP DHCP : 172.16.0.98 - 126 --- VLAN 1602 --- préfixe réseau : 172.16.1.128/26 passerelle par défaut : 172.16.0.129 plage @IP fixes : 172.16.0.130 - 161 plage @IP DHCP : 172.16.0.162 - 190 ----- adaptateur carte arduino ----- projet dans : ~/mplabx/libraries/TCPIP/Demo_BVDP_TestCarteArduino dans MainDemo.c void InitArduino( void) { int TestI2C=0; int TestSPI=0; int TestAnalogique=0; int TestSortieNumerique=1; int TestEntreeNumerique=0; int TestTLV=0; =====création d'un nouveau projet mplabx===== C:\applis\Microchip\harmony\v0_70_01b\apps\tcpip\tcpip_udp_server copié e: d:\etudiants click droit sur le projet puis locate headers il gueule: In file included from ../src/system_config/pic32_eth_sk_int_dyn/system_init.c:38:0: ../src/app.h:48:32: fatal error: system/int/sys_int.h: No such file or directory trouvé manuellement dans : C:\applis\Microchip\harmony\v0_70_01b\framework\system\int click droit sur le projet -> Properties general éditer les source folders remplacer : ../../../../../framework par C:\applis\Microchip\harmony\v0_70_01b\framework ../../../../../bsp/explorer16/pic32mx795f512l C:\applis\Microchip\harmony\v0_70_01b\bsp/explorer16/pic32mx795f512l avec notepad, rechercher et remplacer dans D:\etudiants\tcpip_udp_server\firmware\pic32_ethernet_starter_kit.X\nbproject\configurations.xml ../../../../../ par C:\applis\Microchip\harmony\v0_70_01b\framework =====en auto===== dézipper projet TCPIP Demo App Etudiant.zip editer le mcp et remplacer C:\Program Files\Microchip\Library par C:\applis\libraries importer le projet depuis mplabx il manque certains fichiers: Missing Files C:\applis\libraries\Microchip\TCPIP Stack\HTTP.c C:\applis\libraries\Microchip\TCPIP Stack\MPFS.c C:\applis\libraries\Microchip\TCPIP Stack\BigInt_helper_C32.S C:\applis\libraries\Microchip\Include\TCPIP Stack\HTTP.h C:\applis\libraries\Microchip\Include\TCPIP Stack\MPFS.h C:\applis\libraries\Microchip\Include\Crypto\AES.h C:\applis\libraries\Microchip\Include\Crypto\AES_CBC.h C:\applis\libraries\Microchip\Include\Crypto\AES_CFB.h C:\applis\libraries\Microchip\Include\Crypto\AES_CTR.h C:\applis\libraries\Microchip\Include\Crypto\AES_ECB.h C:\applis\libraries\Microchip\Include\Crypto\AES_OFB.h C:\applis\libraries\Microchip\Include\Crypto\AES_ECB_PIC32.h C:\applis\libraries\Microchip\Crypto\AES_PIC32MX.a CE N'EST PAS GRAVE!!!!! configuration d'une ip fixe pour le pc serveur 192.168.1.201 car il ne trouve pas de bail DHCP pour les tests, se logger sur machine e33 avec login etest8 et pass:iut-XXXXXXX8 =====A FAIRE===== Activer le debug (pour dbprintf qui ne marche plus===== faire clean & build project après édition du fichier qui règle l'ip de la carte TCPIPConfig PIC32 Internal Ethernet.h adresse mac du pc serveur en auto problème lorsque je dézippe le fichier sur machine étudiant car le chemin complet est trop long, renommer le zip en a.zip ou dézipper vers... il n'y a pas besoin de librairies avec ce projet car les lib sont incluses dans le projet ===== test en EN===== prises 3 et 4 dans — VLAN 1600 — préfixe réseau : 172.16.0.0/26 passerelle par défaut : 172.16.0.1 plage @IP fixes : 172.16.0.2 - 33 plage @IP DHCP : 172.16.0.34 - 62 ===PC SERVEUR en EN=== seconde carte réseau du pc branché sur port 3 ip attribuée par DHCP au pc: 172.16.0.34 adresse mac: 00 50 22 b4 d2 de carte pic connectée au port 4 attribution ip statique 172.16.0.2 ===config projet=== modifier l'ip dans mplabx=>alternative Configurations => TCPIPConfig PIC32 Internal Ethernet.h voir si on peut faire du ménage dans les fichiers pour ne garder qu'une configuration... définir un mécanisme ip/port et faire un script bat pour lance16 faire une explication des différents port du commutateur et indiquer les branchements expliquer les commandes arp -a =====questions????===== regarder quel fichiers de librairies sont utilisés par le projet mplabx, il n'y a pas de lien vers c:\applis\librairie apparemment il y a les .o dans .X/build/default nettoyer à la main et réessayer de compiler sur machine EN au pire, mettre les fichiers de la librairie dont j'ai besoin avec le projet et changer les adresses des fichiers en relatif... pour les autos, vérifier que les librairies installées permettront d'utiliser l'ethernet et le reste (i2c,spi etc...) voir mon projet de test carte arduino (est ce que c'est les librairies harmony? =====ressources philippe===== http://www.inetdoc.net/travaux_pratiques/infra.tp/infra.tp.example.html =====en en===== ip machine serveur en dhcp: myRemoteNode.IPAddr.v[0] = 172; myRemoteNode.IPAddr.v[1] = 16; myRemoteNode.IPAddr.v[2] = 0; myRemoteNode.IPAddr.v[3] = 34; //adresse MAC du pc avec lequel la carte pic communique myRemoteNode.MACAddr.v[0] = 0x00; myRemoteNode.MACAddr.v[1] = 0x50; myRemoteNode.MACAddr.v[2] = 0x22; myRemoteNode.MACAddr.v[3] = 0xB4; myRemoteNode.MACAddr.v[4] = 0xd2; myRemoteNode.MACAddr.v[5] = 0xde; cartes pic ip statique: 172.16.0. numero carte pic+1 numeros de ports à utiliser pour la carte 4: 30041 30042 D:\etudiants\test>ipconfig /all Configuration IP de Windows Nom de l'hôte . . . . . . . . . . : P-GE2I-TFEN-E12 Suffixe DNS principal . . . . . . : iut.iut-tlse3.fr Type de noeud. . . . . . . . . . : Hybride Routage IP activé . . . . . . . . : Non Proxy WINS activé . . . . . . . . : Non Liste de recherche du suffixe DNS.: iut.iut-tlse3.fr Carte Ethernet Connexion au réseau local 4 : Suffixe DNS propre à la connexion. . . : Description. . . . . . . . . . . . . . : Carte réseau Fast Ethernet Realtek R TL8139/810x Family Adresse physique . . . . . . . . . . . : 00-50-22-B4-D2-DE DHCP activé. . . . . . . . . . . . . . : Oui Configuration automatique activée. . . : Oui Adresse IPv6 de liaison locale. . . . .: fe80::f9cc:8e88:9acc:7070%14(préféré) Adresse IPv4. . . . . . . . . . . . . .: 172.16.0.36(préféré) Masque de sous-réseau. . . . . . . . . : 255.255.255.192 Bail obtenu. . . . . . . . . . . . . . : mardi 17 février 2015 12:40:29 Bail expirant. . . . . . . . . . . . . : mercredi 18 février 2015 12:40:27 Passerelle par défaut. . . . . . . . . : 172.16.0.1 Serveur DHCP . . . . . . . . . . . . . : 172.16.0.1 IAID DHCPv6 . . . . . . . . . . . : 452992282 DUID de client DHCPv6. . . . . . . . : 00-01-00-01-1C-24-69-44-54-04-A6-1D-26-F8 Serveurs DNS. . . . . . . . . . . . . : 10.6.13.250 194.214.185.9 NetBIOS sur Tcpip. . . . . . . . . . . : Activé Carte Ethernet Connexion au réseau local : Suffixe DNS propre à la connexion. . . : iut.iut-tlse3.fr Description. . . . . . . . . . . . . . : Realtek PCIe GBE Family Controller Adresse physique . . . . . . . . . . . : 54-04-A6-1D-26-F8 DHCP activé. . . . . . . . . . . . . . : Oui Configuration automatique activée. . . : Oui Adresse IPv6 de liaison locale. . . . .: fe80::8ce1:615b:4e96:c126%11(préféré ) Adresse IPv4. . . . . . . . . . . . . .: 10.6.13.128(préféré) Masque de sous-réseau. . . . . . . . . : 255.255.255.0 Bail obtenu. . . . . . . . . . . . . . : mardi 17 février 2015 12:40:27 Bail expirant. . . . . . . . . . . . . : mercredi 18 février 2015 12:40:25 Passerelle par défaut. . . . . . . . . : 10.6.13.250 Serveur DHCP . . . . . . . . . . . . . : 10.6.13.250 IAID DHCPv6 . . . . . . . . . . . : 236247785 DUID de client DHCPv6. . . . . . . . : 00-01-00-01-1C-24-69-44-54-04-A6-1D-26-F8 Serveurs DNS. . . . . . . . . . . . . : 10.6.1.2 194.214.185.9 Serveur WINS principal . . . . . . . . : 10.64.1.11 Serveur WINS secondaire. . . . . . . . : 10.1.1.11 NetBIOS sur Tcpip. . . . . . . . . . . : Activé Carte Tunnel isatap.iut.iut-tlse3.fr : Statut du média. . . . . . . . . . . . : Média déconnecté Suffixe DNS propre à la connexion. . . : iut.iut-tlse3.fr Description. . . . . . . . . . . . . . : Carte Microsoft ISATAP Adresse physique . . . . . . . . . . . : 00-00-00-00-00-00-00-E0 DHCP activé. . . . . . . . . . . . . . : Non Configuration automatique activée. . . : Oui Carte Tunnel Connexion au réseau local* 9 : Statut du média. . . . . . . . . . . . : Média déconnecté Suffixe DNS propre à la connexion. . . : Description. . . . . . . . . . . . . . : Teredo Tunneling Pseudo-Interface Adresse physique . . . . . . . . . . . : 00-00-00-00-00-00-00-E0 DHCP activé. . . . . . . . . . . . . . : Non Configuration automatique activée. . . : Oui Carte Tunnel isatap.{0D6A8D6F-B1D2-4A3C-906C-FEAFFC4056FA} : Statut du média. . . . . . . . . . . . : Média déconnecté Suffixe DNS propre à la connexion. . . : Description. . . . . . . . . . . . . . : Carte Microsoft ISATAP #2 Adresse physique . . . . . . . . . . . : 00-00-00-00-00-00-00-E0 DHCP activé. . . . . . . . . . . . . . : Non Configuration automatique activée. . . : Oui en EN, le reglage du projet MPLAB #define MY_DEFAULT_GATE_BYTE1 (192ul) #define MY_DEFAULT_GATE_BYTE2 (168ul) #define MY_DEFAULT_GATE_BYTE3 (1ul) #define MY_DEFAULT_GATE_BYTE4 (1ul) fait qu'il y a pleins de requettes ARP vers cette IP... quelle "bonne" valeur utiliser....? en EN: 172.16.0.1 arp -a Interface : 10.6.13.128 --- 0xb Adresse Internet Adresse physique Type 10.6.13.144 34-17-eb-c7-f2-66 dynamique 10.6.13.250 00-1b-21-7c-e0-10 dynamique 10.6.13.255 ff-ff-ff-ff-ff-ff statique 224.0.0.22 01-00-5e-00-00-16 statique 224.0.0.252 01-00-5e-00-00-fc statique 239.255.255.250 01-00-5e-7f-ff-fa statique 255.255.255.255 ff-ff-ff-ff-ff-ff statique Interface : 172.16.0.36 --- 0xe Adresse Internet Adresse physique Type 172.16.0.1 00-14-1c-a7-5a-80 dynamique 172.16.0.2 00-04-a3-13-0b-86 dynamique 172.16.0.5 00-04-a3-13-0b-86 dynamique 172.16.0.63 ff-ff-ff-ff-ff-ff statique 224.0.0.22 01-00-5e-00-00-16 statique 224.0.0.252 01-00-5e-00-00-fc statique 239.255.255.250 01-00-5e-7f-ff-fa statique 255.255.255.255 ff-ff-ff-ff-ff-ff statique en EN: indiquer qu'il faut connecter la carte pic sur la prise 4 du commutateur console d'administration des routeurs cisco en EN: cisco lemo2paGE2I =====remarques samir===== --- Vérifier que “PIC32 Starter kit” est bien coché dans le menu « Debugger→ Select Tool » +++ ?!