Déversement programme

Bonjour j’ai message d’erreur au déversement, quelqu’un sait comment le résoudre?

Le croquis utilise 16468 octets (53%) de l’espace de stockage de programmes. Le maximum est de 30720 octets.
Les variables globales utilisent 1093 octets (53%) de mémoire dynamique, ce qui laisse 955 octets pour les variables locales. Le maximum est de 2048 octets.
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0xa5
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0xa5
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0xa5
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0xa5
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0xa5
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0xa5
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0xa5
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0xa5
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0xa5
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0xa5
Failed uploading: uploading error: exit status 1

Merci

n’aurais tu pas AGIO qui serait connecté en même temps ?

Select Tools > Processor > ATmega328P (Old Bootloader) from the Arduino IDE’s menus and then try uploading again.

Dans le menu Outils, il faut changer le processeur sur (Old Bootloader).

Bonjour,

il s’agissait à priori ATmega328P OLD BOOTLOADER, téléversement à fonctionné . MERCI

J’ai également un souci avec le programme pour le montage panda, lors de la vérification j’ai ce message:

C:\Users\pdiar\OneDrive\Documents\Arduino\Autosteer_gps_teensy_v5_5\Autosteer_gps_teensy_v5_5.ino: In function ‘void setup()’:
C:\Users\pdiar\OneDrive\Documents\Arduino\Autosteer_gps_teensy_v5_5\Autosteer_gps_teensy_v5_5.ino:253:50: warning: passing NULL to non-pointer argument 3 of ‘boolean BNO080::begin(uint8_t, TwoWire&, uint8_t)’ [-Wconversion-null]
253 | if (bno08x.begin(bno08xAddress, ImuWire, NULL))
| ^~~~
In file included from C:\Users\pdiar\OneDrive\Documents\Arduino\Autosteer_gps_teensy_v5_5\Autosteer_gps_teensy_v5_5.ino:92:
C:\Users\pdiar\OneDrive\Documents\Arduino\Autosteer_gps_teensy_v5_5\BNO08x_AOG.h:135:101: note: declared here
135 | boolean begin(uint8_t deviceAddress = BNO080_DEFAULT_ADDRESS, TwoWire &wirePort = Wire, uint8_t intPin = 255); //By default use the default I2C addres, and use Wire port, and don’t declare an INT pin
| ^~~~
C:\Users\pdiar\OneDrive\Documents\Arduino\Autosteer_gps_teensy_v5_5\zRelPos.ino: In function ‘void relPosDecode()’:
C:\Users\pdiar\OneDrive\Documents\Arduino\Autosteer_gps_teensy_v5_5\zRelPos.ino:5:42: warning: variable ‘isMoving’ set but not used [-Wunused-but-set-variable]
5 | bool gnssFixOk, diffSoln, relPosValid, isMoving, refPosMiss, refObsMiss ;
| ^~~~~~~~
C:\Users\pdiar\OneDrive\Documents\Arduino\Autosteer_gps_teensy_v5_5\zRelPos.ino:5:52: warning: variable ‘refPosMiss’ set but not used [-Wunused-but-set-variable]
5 | bool gnssFixOk, diffSoln, relPosValid, isMoving, refPosMiss, refObsMiss ;
| ^~~~~~~~~~
C:\Users\pdiar\OneDrive\Documents\Arduino\Autosteer_gps_teensy_v5_5\zRelPos.ino:5:64: warning: variable ‘refObsMiss’ set but not used [-Wunused-but-set-variable]
5 | bool gnssFixOk, diffSoln, relPosValid, isMoving, refPosMiss, refObsMiss ;
| ^~~~~~~~~~
C:\Users\pdiar\OneDrive\Documents\Arduino\Autosteer_gps_teensy_v5_5\zRelPos.ino:6:8: warning: variable ‘refPosHeadingValid’ set but not used [-Wunused-but-set-variable]
6 | bool refPosHeadingValid, relPosNormalized;
| ^~~~~~~~~~~~~~~~~~
C:\Users\pdiar\OneDrive\Documents\Arduino\Autosteer_gps_teensy_v5_5\zRelPos.ino:6:28: warning: variable ‘relPosNormalized’ set but not used [-Wunused-but-set-variable]
6 | bool refPosHeadingValid, relPosNormalized;
| ^~~~~~~~~~~~~~~~
In file included from C:\Users\pdiar\OneDrive\Documents\Arduino\Autosteer_gps_teensy_v5_5\Autosteer_gps_teensy_v5_5.ino:90:
In member function ‘void NMEAParser::addHandler(const char*, NMEAParser::NMEAHandler) [with unsigned int S = 2]’,
inlined from ‘void setup()’ at C:\Users\pdiar\OneDrive\Documents\Arduino\Autosteer_gps_teensy_v5_5\Autosteer_gps_teensy_v5_5.ino:180:20:
C:\Users\pdiar\OneDrive\Documents\Arduino\Autosteer_gps_teensy_v5_5\zNMEAParser.h:340:18: warning: ‘char* strncpy(char*, const char*, size_t)’ output truncated before terminating nul copying 5 bytes from a string of the same length [-Wstringop-truncation]
340 | strncpy(mHandlers[mHandlerCount].mToken, inToken, 5);
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Memory Usage on Teensy 4.1:
FLASH: code:243136, data:83428, headers:8764 free for files:7791136
RAM1: variables:42628, code:108152, padding:22920 free for local variables:350588
RAM2: variables:12448 free for malloc/new:511840
Teensy should be selected from “teensy ports” rather
than “Serial ports” in Arduino’s Tools > Port menu

Savez vous de quoi vient le problème?

Cdlt, GDI

c’est un code pour teensy normal as tu un teensy ?

Oui un teensy 4.1, j’ai suivi le montage donné sur wiki

as tu installe le teensuduino ?

Si tu parle du module teensy dans arduino ide , j’ai installé la version 1.58.0 qui est compatible avec teensy 4.1, je ne pense pas que problème vienne de là.

Installe la version teensyduino 1.57, il y a un soucis avec la 1.58

1 Like

j’ai installé la version 1.57.2 et le problème persiste

C:\Users\pdiar\OneDrive\Documents\Arduino\Autosteer_gps_teensy_v5_5\Autosteer_gps_teensy_v5_5.ino: In function ‘void setup()’:
C:\Users\pdiar\OneDrive\Documents\Arduino\Autosteer_gps_teensy_v5_5\Autosteer_gps_teensy_v5_5.ino:253:54: warning: passing NULL to non-pointer argument 3 of ‘boolean BNO080::begin(uint8_t, TwoWire&, uint8_t)’ [-Wconversion-null]
if (bno08x.begin(bno08xAddress, ImuWire, NULL))
^
C:\Users\pdiar\OneDrive\Documents\Arduino\Autosteer_gps_teensy_v5_5\zRelPos.ino: In function ‘void relPosDecode()’:
C:\Users\pdiar\OneDrive\Documents\Arduino\Autosteer_gps_teensy_v5_5\zRelPos.ino:5:42: warning: variable ‘isMoving’ set but not used [-Wunused-but-set-variable]
bool gnssFixOk, diffSoln, relPosValid, isMoving, refPosMiss, refObsMiss ;
^
C:\Users\pdiar\OneDrive\Documents\Arduino\Autosteer_gps_teensy_v5_5\zRelPos.ino:5:52: warning: variable ‘refPosMiss’ set but not used [-Wunused-but-set-variable]
bool gnssFixOk, diffSoln, relPosValid, isMoving, refPosMiss, refObsMiss ;
^
C:\Users\pdiar\OneDrive\Documents\Arduino\Autosteer_gps_teensy_v5_5\zRelPos.ino:5:64: warning: variable ‘refObsMiss’ set but not used [-Wunused-but-set-variable]
bool gnssFixOk, diffSoln, relPosValid, isMoving, refPosMiss, refObsMiss ;
^
C:\Users\pdiar\OneDrive\Documents\Arduino\Autosteer_gps_teensy_v5_5\zRelPos.ino:6:8: warning: variable ‘refPosHeadingValid’ set but not used [-Wunused-but-set-variable]
bool refPosHeadingValid, relPosNormalized;
^
C:\Users\pdiar\OneDrive\Documents\Arduino\Autosteer_gps_teensy_v5_5\zRelPos.ino:6:28: warning: variable ‘relPosNormalized’ set but not used [-Wunused-but-set-variable]
bool refPosHeadingValid, relPosNormalized;
^
Memory Usage on Teensy 4.1:
FLASH: code:237776, data:78300, headers:9012 free for files:7801376
RAM1: variables:34276, code:100328, padding:30744 free for local variables:358940
RAM2: variables:12416 free for malloc/new:511872

je n’aurai pas oublié un fichier dans le dossier qui poserait un pb?

Mais en fait, ca ne sont que des warning, ca ne devrait pas poser de problème. Ton code ne s’envoi pas au teensy? Le teensy ne fonctionne pas?

J’ai effectivement déversé le programme mais le signal gps fonctionne quelques secondes (2 à 3 s) puis rien durant 10 secondes environ, est ce normal?

A noter que j’ai acheté une carte AS-RTK2B-LIT-L1L2-SMA-00 (modèle lite).