Aller au contenu

GO Print

help probleme moteur extrusion


matlafleche

Messages recommandés

bonjour, 

j'ai lancer une impression et celle ci a foirée comme si la buse été boucher! 

ensuite je m'aperçois que dans le menu déplacer un axe - 1mm - extruder  (il affiche des valeur bizarre o(**(0 ) 

donc j'ai penser au moteur donc j ai inverser l'alim Y avec l'extrudeur et la le moteur c'est mit a tournée 

Donc je pense que la carte à perdu des infos, du moins je pense!

est ce possible de tout réinstaller a l'origine?

merci d'avance pour tout vos réponse

Lien vers le commentaire
Partager sur d’autres sites

bon après quelque essaie supplémentaire c'est belle et bien la carte qui as un soucis:

( le moteur de l'extrudeur brancher sur Y fonctionne très bien par contre le moteur de Y brancher sur l'extrudeur ne fonctionne que quelques minutes)  

savez vous comment rentrée dans la carte pour réinstaller le fichier sources dedans et ou trouver le fichier source ?

impossible d'y rentrer avec arduino IDE

Lien vers le commentaire
Partager sur d’autres sites

il y a 58 minutes, matlafleche a dit :

bon après quelque essaie supplémentaire c'est belle et bien la carte qui as un soucis:

( le moteur de l'extrudeur brancher sur Y fonctionne très bien par contre le moteur de Y brancher sur l'extrudeur ne fonctionne que quelques minutes)  

savez vous comment rentrée dans la carte pour réinstaller le fichier sources dedans et ou trouver le fichier source ?

impossible d'y rentrer avec arduino IDE

Bonjour, en espérant que ce ne soir pas la carte qui flanche !

https://dagoma.fr/installer-un-firmware.html

Lien vers le commentaire
Partager sur d’autres sites

merci, je déjà essayer avec dogom app . un message d'erreur s'affiche je cite la maj à connue une erreur 

j'ai essayer avec le marlin récupérer par sur le site dagoma par contre il est en .GZ et non en .HEX si j'ai bien compris le fonctionnement les .HEX sont des MAJ ? 

je ne sais pas quoi faire de plus du coup :/ à par changer la carte 

Lien vers le commentaire
Partager sur d’autres sites

il y a une heure, matlafleche a dit :

merci, je déjà essayer avec dogom app . un message d'erreur s'affiche je cite la maj à connue une erreur 

j'ai essayer avec le marlin récupérer par sur le site dagoma par contre il est en .GZ et non en .HEX si j'ai bien compris le fonctionnement les .HEX sont des MAJ ? 

je ne sais pas quoi faire de plus du coup :/ à par changer la carte 

Télécharge 7zip pour décompresser le .gz ^_^

Lien vers le commentaire
Partager sur d’autres sites

merci,

c'est décompresser , j'ai essayer avec dagome app ainsi que arduino IDE aucun des deux ne fonctionne

arduino IDE message erreur :

C:\Users\MOI\Desktop\fichier STL\upgrade dagoma\dagoma\Marlin\Marlin.ino:52:110: fatal error: U8glib.h: No such file or directory
     #include <U8glib.h> // library for graphics LCD by Oli Kraus (https://github.com/olikraus/U8glib_Arduino)
                                                                                                              ^
compilation terminated.
exit status 1
Erreur de compilation pour la carte Arduino/Genuino Mega or Mega 2560
 
dagome app : la mise à jour a connue une erreur 
:/
 
 
 
Lien vers le commentaire
Partager sur d’autres sites

Il y a 1 heure, matlafleche a dit :

merci,

c'est décompresser , j'ai essayer avec dagome app ainsi que arduino IDE aucun des deux ne fonctionne

arduino IDE message erreur :

C:\Users\MOI\Desktop\fichier STL\upgrade dagoma\dagoma\Marlin\Marlin.ino:52:110: fatal error: U8glib.h: No such file or directory
     #include <U8glib.h> // library for graphics LCD by Oli Kraus (https://github.com/olikraus/U8glib_Arduino)
                                                                                                              ^
compilation terminated.
exit status 1
Erreur de compilation pour la carte Arduino/Genuino Mega or Mega 2560
 
dagome app : la mise à jour a connue une erreur 
:/
 
 
 

Si tu lis le message d'erreur il te dit qu'il manque une librairie.

U8glib

Modifié (le) par Skaarian
Lien vers le commentaire
Partager sur d’autres sites

Il y a 2 heures, matlafleche a dit :

merci,

c'est décompresser , j'ai essayer avec dagome app ainsi que arduino IDE aucun des deux ne fonctionne

arduino IDE message erreur :

C:\Users\MOI\Desktop\fichier STL\upgrade dagoma\dagoma\Marlin\Marlin.ino:52:110: fatal error: U8glib.h: No such file or directory
     #include <U8glib.h> // library for graphics LCD by Oli Kraus (https://github.com/olikraus/U8glib_Arduino)
                                                                                                              ^
compilation terminated.
exit status 1
Erreur de compilation pour la carte Arduino/Genuino Mega or Mega 2560
 
dagome app : la mise à jour a connue une erreur 
:/
 
 
 

Tu lances Arduino, puis dans l'onglet "Outils/Type de carte". Tu sélectionnes "Arduino/Genuino Mega or Mega 2560".

Dans l'onglet "Outils/Programmateur" Tu sélectionnes "AVR ISP" (si ma mémoire est bonne).

En suite, dans l’onglet "Croquis/Inclure une bibliothèque/Gérer les bibliothèques".

Une fenetre s'ouvre.

Dans le menu déroulant tu sélectionne "Possible de mettre à jour". Tu mets les bibliothèques à jour (en cliquant sur chaque une d'entre elle et en appuyant sur le bouton mise à jour a droite).

Puis à nouveau dans Type: tu mets "Tout" et dans la recherche à droite tu écris "U8glib" (c'est le dernier dans la liste). Tu cliques dessus et tu appuis sur le bouton "Installer".

 

Voilà, tu peux téléverser le firmware !

Lien vers le commentaire
Partager sur d’autres sites

Il y a 1 heure, Skaarian a dit :

Tu lances Arduino, puis dans l'onglet "Outils/Type de carte". Tu sélectionnes "Arduino/Genuino Mega or Mega 2560".

Dans l'onglet "Outils/Programmateur" Tu sélectionnes "AVR ISP" (si ma mémoire est bonne).

En suite, dans l’onglet "Croquis/Inclure une bibliothèque/Gérer les bibliothèques".

Une fenetre s'ouvre.

Dans le menu déroulant tu sélectionne "Possible de mettre à jour". Tu mets les bibliothèques à jour (en cliquant sur chaque une d'entre elle et en appuyant sur le bouton mise à jour a droite).

Puis à nouveau dans Type: tu mets "Tout" et dans la recherche à droite tu écris "U8glib" (c'est le dernier dans la liste). Tu cliques dessus et tu appuis sur le bouton "Installer".

 

Voilà, tu peux téléverser le firmware !

ok parfait merci ^^ 

il y as du mieux j'ai mit toutes les bibliothèques à jour maintenant le message d'erreur à changer :

exit status 1
Erreur de compilation pour la carte Arduino/Genuino Mega or Mega 2560


 

Lien vers le commentaire
Partager sur d’autres sites

il y a 57 minutes, matlafleche a dit :

ok parfait merci ^^ 

il y as du mieux j'ai mit toutes les bibliothèques à jour maintenant le message d'erreur à changer :

exit status 1
Erreur de compilation pour la carte Arduino/Genuino Mega or Mega 2560


 

Me suis peut être lourdé sur le programmateur ! J'avais un doute sur ce point.

Il y a 2 heures, Skaarian a dit :

Dans l'onglet "Outils/Programmateur" Tu sélectionnes "AVR ISP" (si ma mémoire est bonne).

Mets "AVRISP MKII"

Lien vers le commentaire
Partager sur d’autres sites

Il y a 2 heures, matlafleche a dit :

ola

j'ai changer le programmateur et j'ai le même message d'erreur en vérifiant et téléversant 

exit status 1
Erreur de compilation pour la carte Arduino/Genuino Mega or Mega 2560

 

Dans les paramètres d'arduino. Tu peux activer les détails des logs.

Active les (une case à cocher ), relance la compilation et montre nous le message d'erreur complet .

Lien vers le commentaire
Partager sur d’autres sites

il y a 59 minutes, matlafleche a dit :

Alors, comme tu as put t'en apercevoir point de vue programmation et arduino je n'y connais pas grand chose :/

pourrais tu me donner plus de détails stp merci d'avance 

Dans le logiciel. Dans les onglets en haut. Tu vas dans paramètres. Il y a deux case à cocher.

Lien vers le commentaire
Partager sur d’autres sites

Le ‎17‎/‎04‎/‎2018 at 22:02, matlafleche a dit :

Alors, comme tu as put t'en apercevoir point de vue programmation et arduino je n'y connais pas grand chose :/

pourrais tu me donner plus de détails stp merci d'avance 

 

bonjour,

c'est bien cela que tu me demander ? 

voici le message d'erreur complet :

 

Archiving built core (caching) in: C:\Users\MOI\AppData\Local\Temp\arduino_cache_956409\core\core_arduino_avr_mega_cpu_atmega2560_ce318738a196ec76983b4e3e381892c3.a
C:\Users\MOI\AppData\Local\Temp\ccxqvtg4.ltrans10.ltrans.o:(.rodata+0x6): undefined reference to `Print::write(unsigned char const*, unsigned int)'
C:\Users\MOI\AppData\Local\Temp\ccxqvtg4.ltrans12.ltrans.o: In function `lcd_implementation_init() [clone .lto_priv.146]':
ccxqvtg4.ltrans12.o:(.text+0x436): undefined reference to `Print::print(char)'
ccxqvtg4.ltrans12.o:(.text+0x454): undefined reference to `Print::print(char)'
C:\Users\MOI\AppData\Local\Temp\ccxqvtg4.ltrans12.ltrans.o:(.rodata+0x6): undefined reference to `Print::write(unsigned char const*, unsigned int)'
C:\Users\MOI\AppData\Local\Temp\ccxqvtg4.ltrans12.ltrans.o:(.rodata+0x12): undefined reference to `Print::write(unsigned char const*, unsigned int)'
C:\Users\MOI\AppData\Local\Temp\ccxqvtg4.ltrans7.ltrans.o: In function `gcode_M48()':
ccxqvtg4.ltrans7.o:(.text.unlikely+0xa48): undefined reference to `randomSeed(unsigned long)'
ccxqvtg4.ltrans7.o:(.text.unlikely+0xad6): undefined reference to `random(long, long)'
ccxqvtg4.ltrans7.o:(.text.unlikely+0xaf0): undefined reference to `random(long, long)'
ccxqvtg4.ltrans7.o:(.text.unlikely+0xb22): undefined reference to `random(long, long)'
ccxqvtg4.ltrans7.o:(.text.unlikely+0xc36): undefined reference to `random(long, long)'
c:/users/moi/documents/arduinodata/packages/arduino/tools/avr-gcc/4.9.2-atmel3.5.4-arduino2/bin/../lib/gcc/avr/4.9.2/../../../../avr/lib/avr6/crtatmega2560.o:(.init9+0x0): undefined reference to `main'
c:/users/moi/documents/arduinodata/packages/arduino/tools/avr-gcc/4.9.2-atmel3.5.4-arduino2/bin/../lib/gcc/avr/4.9.2/../../../../avr/bin/ld.exe: error: could not unlink output file
collect2.exe: error: ld returned 1 exit status
exit status 1
Erreur de compilation pour la carte Arduino/Genuino Mega or Mega 2560

 

Capture.PNG

Lien vers le commentaire
Partager sur d’autres sites

@matlafleche Tu l'as téléchargé sur le site de dagoma le marlin ? J'ai l'impression mais je ne suis pas un expert qu'il y a un problème avec la passerelle USB.

As tu essayé de débrancher le moteur de la prise défectueuse puis de téléverser ? Des fois un truc qui fonctionne mal fait tout buger ! (Si ça fonctionne sans le moteur, tu peux changer de carte !)

Modifié (le) par Skaarian
Lien vers le commentaire
Partager sur d’autres sites

avec z122:

il doit me manquer quelque chose dans l'arduino ide non mais quoi :/

 
sketch\MarlinSerial.cpp: In function 'void store_char(unsigned char)':
MarlinSerial.cpp:141: error: 'rx_buffer' was not declared in this scope
       const uint8_t h = rx_buffer.head,
                         ^
MarlinSerial.cpp:148: error: 'i' was not declared in this scope
       if (i != rx_buffer.tail) {
           ^
In file included from sketch\MarlinSerial.cpp:32:0:
sketch\MarlinSerial.cpp: In function 'void USART4_RX_vect()':
MarlinSerial.h:64: error: 'UDR4' was not declared in this scope
 #define M_UDRx             SERIAL_REGNAME(UDR,SERIAL_PORT,)
                                           ^
sketch\MarlinSerial.h:52:63: note: in definition of macro 'SERIAL_REGNAME_INTERNAL'
   #define SERIAL_REGNAME_INTERNAL(registerbase,number,suffix) registerbase##number##suffix
                                                               ^
sketch\MarlinSerial.h:64:28: note: in expansion of macro 'SERIAL_REGNAME'
 #define M_UDRx             SERIAL_REGNAME(UDR,SERIAL_PORT,)
                            ^
sketch\MarlinSerial.cpp:191:31: note: in expansion of macro 'M_UDRx'
       const unsigned char c = M_UDRx;
                               ^
sketch\MarlinSerial.cpp: In static member function 'static void MarlinSerial::begin(long int)':
MarlinSerial.h:56: error: 'UCSR4A' was not declared in this scope
 #define M_UCSRxA           SERIAL_REGNAME(UCSR,SERIAL_PORT,A) // defines M_UCSRxA to be UCSRnA where n is the serial port number
                                           ^
sketch\MarlinSerial.h:52:63: note: in definition of macro 'SERIAL_REGNAME_INTERNAL'
   #define SERIAL_REGNAME_INTERNAL(registerbase,number,suffix) registerbase##number##suffix
                                                               ^
sketch\MarlinSerial.h:56:28: note: in expansion of macro 'SERIAL_REGNAME'
 #define M_UCSRxA           SERIAL_REGNAME(UCSR,SERIAL_PORT,A) // defines M_UCSRxA to be UCSRnA where n is the serial port number
                            ^
sketch\MarlinSerial.cpp:210:7: note: in expansion of macro 'M_UCSRxA'
       M_UCSRxA = _BV(M_U2Xx);
       ^
In file included from c:\users\moi\documents\arduinodata\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.4-arduino2\avr\include\avr\io.h:99:0,
                 from sketch\fastio.h:32,
                 from sketch\MarlinConfig.h:26,
                 from sketch\MarlinSerial.h:35,
                 from sketch\MarlinSerial.cpp:32:
MarlinSerial.h:69: error: 'U2X4' was not declared in this scope
 #define M_U2Xx             SERIAL_REGNAME(U2X,SERIAL_PORT,)
                                           ^
sketch\MarlinSerial.h:48:52: note: in expansion of macro 'SERIAL_REGNAME_INTERNAL'
 #define SERIAL_REGNAME(registerbase,number,suffix) SERIAL_REGNAME_INTERNAL(registerbase,number,suffix)
                                                    ^
sketch\MarlinSerial.h:69:28: note: in expansion of macro 'SERIAL_REGNAME'
 #define M_U2Xx             SERIAL_REGNAME(U2X,SERIAL_PORT,)
                            ^
sketch\MarlinSerial.cpp:210:22: note: in expansion of macro 'M_U2Xx'
       M_UCSRxA = _BV(M_U2Xx);
                      ^
In file included from sketch\MarlinSerial.cpp:32:0:
MarlinSerial.h:56: error: 'UCSR4A' was not declared in this scope
 #define M_UCSRxA           SERIAL_REGNAME(UCSR,SERIAL_PORT,A) // defines M_UCSRxA to be UCSRnA where n is the serial port number
                                           ^
sketch\MarlinSerial.h:52:63: note: in definition of macro 'SERIAL_REGNAME_INTERNAL'
   #define SERIAL_REGNAME_INTERNAL(registerbase,number,suffix) registerbase##number##suffix
                                                               ^
sketch\MarlinSerial.h:56:28: note: in expansion of macro 'SERIAL_REGNAME'
 #define M_UCSRxA           SERIAL_REGNAME(UCSR,SERIAL_PORT,A) // defines M_UCSRxA to be UCSRnA where n is the serial port number
                            ^
sketch\MarlinSerial.cpp:214:7: note: in expansion of macro 'M_UCSRxA'
       M_UCSRxA = 0;
       ^
MarlinSerial.h:65: error: 'UBRR4H' was not declared in this scope
 #define M_UBRRxH           SERIAL_REGNAME(UBRR,SERIAL_PORT,H)
                                           ^
sketch\MarlinSerial.h:52:63: note: in definition of macro 'SERIAL_REGNAME_INTERNAL'
   #define SERIAL_REGNAME_INTERNAL(registerbase,number,suffix) registerbase##number##suffix
                                                               ^
sketch\MarlinSerial.h:65:28: note: in expansion of macro 'SERIAL_REGNAME'
 #define M_UBRRxH           SERIAL_REGNAME(UBRR,SERIAL_PORT,H)
                            ^
sketch\MarlinSerial.cpp:219:5: note: in expansion of macro 'M_UBRRxH'
     M_UBRRxH = baud_setting >> 8;
     ^
MarlinSerial.h:66: error: 'UBRR4L' was not declared in this scope
 #define M_UBRRxL           SERIAL_REGNAME(UBRR,SERIAL_PORT,L)
                                           ^
sketch\MarlinSerial.h:52:63: note: in definition of macro 'SERIAL_REGNAME_INTERNAL'
   #define SERIAL_REGNAME_INTERNAL(registerbase,number,suffix) registerbase##number##suffix
                                                               ^
sketch\MarlinSerial.h:66:28: note: in expansion of macro 'SERIAL_REGNAME'
 #define M_UBRRxL           SERIAL_REGNAME(UBRR,SERIAL_PORT,L)
                            ^
sketch\MarlinSerial.cpp:220:5: note: in expansion of macro 'M_UBRRxL'
     M_UBRRxL = baud_setting;
     ^
In file included from sketch\fastio.h:33:0,
                 from sketch\MarlinConfig.h:26,
                 from sketch\MarlinSerial.h:35,
                 from sketch\MarlinSerial.cpp:32:
MarlinSerial.h:57: error: 'UCSR4B' was not declared in this scope
 #define M_UCSRxB           SERIAL_REGNAME(UCSR,SERIAL_PORT,B)
                                           ^
sketch\macros.h:98:19: note: in definition of macro 'SBI'
 #define SBI(n,b) (n |= _BV(b))
                   ^
sketch\MarlinSerial.h:48:52: note: in expansion of macro 'SERIAL_REGNAME_INTERNAL'
 #define SERIAL_REGNAME(registerbase,number,suffix) SERIAL_REGNAME_INTERNAL(registerbase,number,suffix)
                                                    ^
sketch\MarlinSerial.h:57:28: note: in expansion of macro 'SERIAL_REGNAME'
 #define M_UCSRxB           SERIAL_REGNAME(UCSR,SERIAL_PORT,B)
                            ^
sketch\MarlinSerial.cpp:222:9: note: in expansion of macro 'M_UCSRxB'
     SBI(M_UCSRxB, M_RXENx);
         ^
In file included from c:\users\moi\documents\arduinodata\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.4-arduino2\avr\include\avr\io.h:99:0,
                 from sketch\fastio.h:32,
                 from sketch\MarlinConfig.h:26,
                 from sketch\MarlinSerial.h:35,
                 from sketch\MarlinSerial.cpp:32:
MarlinSerial.h:58: error: 'RXEN4' was not declared in this scope
 #define M_RXENx            SERIAL_REGNAME(RXEN,SERIAL_PORT,)
                                           ^
sketch\MarlinSerial.cpp:222:5: note: in expansion of macro 'SBI'
     SBI(M_UCSRxB, M_RXENx);
     ^
sketch\MarlinSerial.h:48:52: note: in expansion of macro 'SERIAL_REGNAME_INTERNAL'
 #define SERIAL_REGNAME(registerbase,number,suffix) SERIAL_REGNAME_INTERNAL(registerbase,number,suffix)
                                                    ^
sketch\MarlinSerial.h:58:28: note: in expansion of macro 'SERIAL_REGNAME'
 #define M_RXENx            SERIAL_REGNAME(RXEN,SERIAL_PORT,)
                            ^
sketch\MarlinSerial.cpp:222:19: note: in expansion of macro 'M_RXENx'
     SBI(M_UCSRxB, M_RXENx);
                   ^
MarlinSerial.h:59: error: 'TXEN4' was not declared in this scope
 #define M_TXENx            SERIAL_REGNAME(TXEN,SERIAL_PORT,)
                                           ^
sketch\MarlinSerial.cpp:223:5: note: in expansion of macro 'SBI'
     SBI(M_UCSRxB, M_TXENx);
     ^
sketch\MarlinSerial.h:48:52: note: in expansion of macro 'SERIAL_REGNAME_INTERNAL'
 #define SERIAL_REGNAME(registerbase,number,suffix) SERIAL_REGNAME_INTERNAL(registerbase,number,suffix)
                                                    ^
sketch\MarlinSerial.h:59:28: note: in expansion of macro 'SERIAL_REGNAME'
 #define M_TXENx            SERIAL_REGNAME(TXEN,SERIAL_PORT,)
                            ^
sketch\MarlinSerial.cpp:223:19: note: in expansion of macro 'M_TXENx'
     SBI(M_UCSRxB, M_TXENx);
                   ^
MarlinSerial.h:61: error: 'RXCIE4' was not declared in this scope
 #define M_RXCIEx           SERIAL_REGNAME(RXCIE,SERIAL_PORT,)
                                           ^
sketch\MarlinSerial.cpp:224:5: note: in expansion of macro 'SBI'
     SBI(M_UCSRxB, M_RXCIEx);
     ^
sketch\MarlinSerial.h:48:52: note: in expansion of macro 'SERIAL_REGNAME_INTERNAL'
 #define SERIAL_REGNAME(registerbase,number,suffix) SERIAL_REGNAME_INTERNAL(registerbase,number,suffix)
                                                    ^
sketch\MarlinSerial.h:61:28: note: in expansion of macro 'SERIAL_REGNAME'
 #define M_RXCIEx           SERIAL_REGNAME(RXCIE,SERIAL_PORT,)
                            ^
sketch\MarlinSerial.cpp:224:19: note: in expansion of macro 'M_RXCIEx'
     SBI(M_UCSRxB, M_RXCIEx);
                   ^
In file included from sketch\fastio.h:33:0,
                 from sketch\MarlinConfig.h:26,
                 from sketch\MarlinSerial.h:35,
                 from sketch\MarlinSerial.cpp:32:
sketch\MarlinSerial.cpp: In static member function 'static void MarlinSerial::end()':
MarlinSerial.h:57: error: 'UCSR4B' was not declared in this scope
 #define M_UCSRxB           SERIAL_REGNAME(UCSR,SERIAL_PORT,B)
                                           ^
sketch\macros.h:99:19: note: in definition of macro 'CBI'
 #define CBI(n,b) (n &= ~_BV(b))
                   ^
sketch\MarlinSerial.h:48:52: note: in expansion of macro 'SERIAL_REGNAME_INTERNAL'
 #define SERIAL_REGNAME(registerbase,number,suffix) SERIAL_REGNAME_INTERNAL(registerbase,number,suffix)
                                                    ^
sketch\MarlinSerial.h:57:28: note: in expansion of macro 'SERIAL_REGNAME'
 #define M_UCSRxB           SERIAL_REGNAME(UCSR,SERIAL_PORT,B)
                            ^
sketch\MarlinSerial.cpp:232:9: note: in expansion of macro 'M_UCSRxB'
     CBI(M_UCSRxB, M_RXENx);
         ^
In file included from c:\users\moi\documents\arduinodata\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.4-arduino2\avr\include\avr\io.h:99:0,
                 from sketch\fastio.h:32,
                 from sketch\MarlinConfig.h:26,
                 from sketch\MarlinSerial.h:35,
                 from sketch\MarlinSerial.cpp:32:
MarlinSerial.h:58: error: 'RXEN4' was not declared in this scope
 #define M_RXENx            SERIAL_REGNAME(RXEN,SERIAL_PORT,)
                                           ^
sketch\MarlinSerial.cpp:232:5: note: in expansion of macro 'CBI'
     CBI(M_UCSRxB, M_RXENx);
     ^
sketch\MarlinSerial.h:48:52: note: in expansion of macro 'SERIAL_REGNAME_INTERNAL'
 #define SERIAL_REGNAME(registerbase,number,suffix) SERIAL_REGNAME_INTERNAL(registerbase,number,suffix)
                                                    ^
sketch\MarlinSerial.h:58:28: note: in expansion of macro 'SERIAL_REGNAME'
 #define M_RXENx            SERIAL_REGNAME(RXEN,SERIAL_PORT,)
                            ^
sketch\MarlinSerial.cpp:232:19: note: in expansion of macro 'M_RXENx'
     CBI(M_UCSRxB, M_RXENx);
                   ^
MarlinSerial.h:59: error: 'TXEN4' was not declared in this scope
 #define M_TXENx            SERIAL_REGNAME(TXEN,SERIAL_PORT,)
                                           ^
sketch\MarlinSerial.cpp:233:5: note: in expansion of macro 'CBI'
     CBI(M_UCSRxB, M_TXENx);
     ^
sketch\MarlinSerial.h:48:52: note: in expansion of macro 'SERIAL_REGNAME_INTERNAL'
 #define SERIAL_REGNAME(registerbase,number,suffix) SERIAL_REGNAME_INTERNAL(registerbase,number,suffix)
                                                    ^
sketch\MarlinSerial.h:59:28: note: in expansion of macro 'SERIAL_REGNAME'
 #define M_TXENx            SERIAL_REGNAME(TXEN,SERIAL_PORT,)
                            ^
sketch\MarlinSerial.cpp:233:19: note: in expansion of macro 'M_TXENx'
     CBI(M_UCSRxB, M_TXENx);
                   ^
MarlinSerial.h:61: error: 'RXCIE4' was not declared in this scope
 #define M_RXCIEx           SERIAL_REGNAME(RXCIE,SERIAL_PORT,)
                                           ^
sketch\MarlinSerial.cpp:234:5: note: in expansion of macro 'CBI'
     CBI(M_UCSRxB, M_RXCIEx);
     ^
sketch\MarlinSerial.h:48:52: note: in expansion of macro 'SERIAL_REGNAME_INTERNAL'
 #define SERIAL_REGNAME(registerbase,number,suffix) SERIAL_REGNAME_INTERNAL(registerbase,number,suffix)
                                                    ^
sketch\MarlinSerial.h:61:28: note: in expansion of macro 'SERIAL_REGNAME'
 #define M_RXCIEx           SERIAL_REGNAME(RXCIE,SERIAL_PORT,)
                            ^
sketch\MarlinSerial.cpp:234:19: note: in expansion of macro 'M_RXCIEx'
     CBI(M_UCSRxB, M_RXCIEx);
                   ^
MarlinSerial.h:63: error: 'UDRIE4' was not declared in this scope
 #define M_UDRIEx           SERIAL_REGNAME(UDRIE,SERIAL_PORT,)
                                           ^
sketch\MarlinSerial.cpp:235:5: note: in expansion of macro 'CBI'
     CBI(M_UCSRxB, M_UDRIEx);
     ^
sketch\MarlinSerial.h:48:52: note: in expansion of macro 'SERIAL_REGNAME_INTERNAL'
 #define SERIAL_REGNAME(registerbase,number,suffix) SERIAL_REGNAME_INTERNAL(registerbase,number,suffix)
                                                    ^
sketch\MarlinSerial.h:63:28: note: in expansion of macro 'SERIAL_REGNAME'
 #define M_UDRIEx           SERIAL_REGNAME(UDRIE,SERIAL_PORT,)
                            ^
sketch\MarlinSerial.cpp:235:19: note: in expansion of macro 'M_UDRIEx'
     CBI(M_UCSRxB, M_UDRIEx);
                   ^
In file included from sketch\fastio.h:33:0,
                 from sketch\MarlinConfig.h:26,
                 from sketch\MarlinSerial.h:35,
                 from sketch\MarlinSerial.cpp:32:
sketch\MarlinSerial.cpp: In static member function 'static void MarlinSerial::checkRx()':
MarlinSerial.h:56: error: 'UCSR4A' was not declared in this scope
 #define M_UCSRxA           SERIAL_REGNAME(UCSR,SERIAL_PORT,A) // defines M_UCSRxA to be UCSRnA where n is the serial port number
                                           ^
sketch\macros.h:97:22: note: in definition of macro 'TEST'
 #define TEST(n,b) (((n)&_BV(b))!=0)
                      ^
sketch\MarlinSerial.h:48:52: note: in expansion of macro 'SERIAL_REGNAME_INTERNAL'
 #define SERIAL_REGNAME(registerbase,number,suffix) SERIAL_REGNAME_INTERNAL(registerbase,number,suffix)
                                                    ^
sketch\MarlinSerial.h:56:28: note: in expansion of macro 'SERIAL_REGNAME'
 #define M_UCSRxA           SERIAL_REGNAME(UCSR,SERIAL_PORT,A) // defines M_UCSRxA to be UCSRnA where n is the serial port number
                            ^
sketch\MarlinSerial.cpp:239:14: note: in expansion of macro 'M_UCSRxA'
     if (TEST(M_UCSRxA, M_RXCx)) {
              ^
In file included from c:\users\moi\documents\arduinodata\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.4-arduino2\avr\include\avr\io.h:99:0,
                 from sketch\fastio.h:32,
                 from sketch\MarlinConfig.h:26,
                 from sketch\MarlinSerial.h:35,
                 from sketch\MarlinSerial.cpp:32:
MarlinSerial.h:67: error: 'RXC4' was not declared in this scope
 #define M_RXCx             SERIAL_REGNAME(RXC,SERIAL_PORT,)
                                           ^
sketch\MarlinSerial.cpp:239:9: note: in expansion of macro 'TEST'
     if (TEST(M_UCSRxA, M_RXCx)) {
         ^
sketch\MarlinSerial.h:48:52: note: in expansion of macro 'SERIAL_REGNAME_INTERNAL'
 #define SERIAL_REGNAME(registerbase,number,suffix) SERIAL_REGNAME_INTERNAL(registerbase,number,suffix)
                                                    ^
sketch\MarlinSerial.h:67:28: note: in expansion of macro 'SERIAL_REGNAME'
 #define M_RXCx             SERIAL_REGNAME(RXC,SERIAL_PORT,)
                            ^
sketch\MarlinSerial.cpp:239:24: note: in expansion of macro 'M_RXCx'
     if (TEST(M_UCSRxA, M_RXCx)) {
                        ^
In file included from sketch\MarlinSerial.cpp:32:0:
MarlinSerial.h:64: error: 'UDR4' was not declared in this scope
 #define M_UDRx             SERIAL_REGNAME(UDR,SERIAL_PORT,)
                                           ^
sketch\MarlinSerial.h:52:63: note: in definition of macro 'SERIAL_REGNAME_INTERNAL'
   #define SERIAL_REGNAME_INTERNAL(registerbase,number,suffix) registerbase##number##suffix
                                                               ^
sketch\MarlinSerial.h:64:28: note: in expansion of macro 'SERIAL_REGNAME'
 #define M_UDRx             SERIAL_REGNAME(UDR,SERIAL_PORT,)
                            ^
sketch\MarlinSerial.cpp:240:25: note: in expansion of macro 'M_UDRx'
       const uint8_t c = M_UDRx;
                         ^
sketch\MarlinSerial.cpp: In static member function 'static int MarlinSerial::peek()':
MarlinSerial.cpp:247: error: 'rx_buffer' was not declared in this scope
       const int v = rx_buffer.head == rx_buffer.tail ? -1 : rx_buffer.buffer[rx_buffer.tail];
                     ^
sketch\MarlinSerial.cpp: In static member function 'static int MarlinSerial::read()':
MarlinSerial.cpp:255: error: 'rx_buffer' was not declared in this scope
       const uint8_t t = rx_buffer.tail;
                         ^
sketch\MarlinSerial.cpp: In static member function 'static uint8_t MarlinSerial::available()':
MarlinSerial.cpp:268: error: 'rx_buffer' was not declared in this scope
       const uint8_t h = rx_buffer.head,
                         ^
MarlinSerial.cpp:271: error: 't' was not declared in this scope
     return (uint8_t)(RX_BUFFER_SIZE + h - t) & (RX_BUFFER_SIZE - 1);
                                           ^
sketch\MarlinSerial.cpp: In static member function 'static void MarlinSerial::flush()':
MarlinSerial.cpp:282: error: 'rx_buffer' was not declared in this scope
       rx_buffer.head = rx_buffer.tail;
       ^
In file included from sketch\fastio.h:33:0,
                 from sketch\MarlinConfig.h:26,
                 from sketch\MarlinSerial.h:35,
                 from sketch\MarlinSerial.cpp:32:
sketch\MarlinSerial.cpp: In static member function 'static void MarlinSerial::write(uint8_t)':
MarlinSerial.h:56: error: 'UCSR4A' was not declared in this scope
 #define M_UCSRxA           SERIAL_REGNAME(UCSR,SERIAL_PORT,A) // defines M_UCSRxA to be UCSRnA where n is the serial port number
                                           ^
sketch\macros.h:97:22: note: in definition of macro 'TEST'
 #define TEST(n,b) (((n)&_BV(b))!=0)
                      ^
sketch\MarlinSerial.h:48:52: note: in expansion of macro 'SERIAL_REGNAME_INTERNAL'
 #define SERIAL_REGNAME(registerbase,number,suffix) SERIAL_REGNAME_INTERNAL(registerbase,number,suffix)
                                                    ^
sketch\MarlinSerial.h:56:28: note: in expansion of macro 'SERIAL_REGNAME'
 #define M_UCSRxA           SERIAL_REGNAME(UCSR,SERIAL_PORT,A) // defines M_UCSRxA to be UCSRnA where n is the serial port number
                            ^
sketch\MarlinSerial.cpp:360:20: note: in expansion of macro 'M_UCSRxA'
       while (!TEST(M_UCSRxA, M_UDREx))
                    ^
In file included from c:\users\moi\documents\arduinodata\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.4-arduino2\avr\include\avr\io.h:99:0,
                 from sketch\fastio.h:32,
                 from sketch\MarlinConfig.h:26,
                 from sketch\MarlinSerial.h:35,
                 from sketch\MarlinSerial.cpp:32:
MarlinSerial.h:62: error: 'UDRE4' was not declared in this scope
 #define M_UDREx            SERIAL_REGNAME(UDRE,SERIAL_PORT,)
                                           ^
sketch\MarlinSerial.cpp:360:15: note: in expansion of macro 'TEST'
       while (!TEST(M_UCSRxA, M_UDREx))
               ^
sketch\MarlinSerial.h:48:52: note: in expansion of macro 'SERIAL_REGNAME_INTERNAL'
 #define SERIAL_REGNAME(registerbase,number,suffix) SERIAL_REGNAME_INTERNAL(registerbase,number,suffix)
                                                    ^
sketch\MarlinSerial.h:62:28: note: in expansion of macro 'SERIAL_REGNAME'
 #define M_UDREx            SERIAL_REGNAME(UDRE,SERIAL_PORT,)
                            ^
sketch\MarlinSerial.cpp:360:30: note: in expansion of macro 'M_UDREx'
       while (!TEST(M_UCSRxA, M_UDREx))
                              ^
In file included from sketch\MarlinSerial.cpp:32:0:
MarlinSerial.h:64: error: 'UDR4' was not declared in this scope
 #define M_UDRx             SERIAL_REGNAME(UDR,SERIAL_PORT,)
                                           ^
sketch\MarlinSerial.h:52:63: note: in definition of macro 'SERIAL_REGNAME_INTERNAL'
   #define SERIAL_REGNAME_INTERNAL(registerbase,number,suffix) registerbase##number##suffix
                                                               ^
sketch\MarlinSerial.h:64:28: note: in expansion of macro 'SERIAL_REGNAME'
 #define M_UDRx             SERIAL_REGNAME(UDR,SERIAL_PORT,)
                            ^
sketch\MarlinSerial.cpp:362:7: note: in expansion of macro 'M_UDRx'
       M_UDRx = c;
       ^
exit status 1
'rx_buffer' was not declared in this scope
 
Lien vers le commentaire
Partager sur d’autres sites

Le ‎19‎/‎04‎/‎2018 at 19:12, Skaarian a dit :

Désinstaller / réinstaller Arduino. Tu as essayé ?

oui j'ai essayer et ca n'as pas marcher du coup j'ai installer toutes les bibliothèques arduino et ca fonctionne en tout cas pour le programme d'origine par contre pour les modifs

de Z122 le message d'erreur reste le même 

 

merci pour ton aide 

Lien vers le commentaire
Partager sur d’autres sites

Créer un compte ou se connecter pour commenter

Vous devez être membre afin de pouvoir déposer un commentaire

Créer un compte

Créez un compte sur notre communauté. C’est facile !

Créer un nouveau compte

Se connecter

Vous avez déjà un compte ? Connectez-vous ici.

Connectez-vous maintenant
×
×
  • Créer...