Bonsoir à tous.
J'ai une Mega 2560, un SSD1306, un USBasp, je suis la procédure, mais ça ne marche pas.
Le dossier Nextsteprc est sur la racine.
Mon fichier fichier hex est le suivant :
^
PCB=MEGA2560 ^
LCD=SSD1306 ^
^
PWRMANAGE=NO ^
SHUTDOWN_CONFIRMATION=NO ^
^
EXT=STD ^
FRSKY_HUB=NO ^
GPS=NO ^
VARIO=NO ^
^
SDCARD=NO ^
RTCLOCK=NO ^
AUDIO=NO ^
VOICE=NO ^
HAPTIC=NO ^
^
DEFAULT_MODE=1 ^
NAVIGATION=NO ^
DBLKEYS=YES ^
AUTOSWITCH=YES ^
AUTOSOURCE=YES ^
^
HELI=NO ^
FLIGHT_MODES=YES ^
CURVES=YES ^
GVARS=YES ^
OFFSET_ON_INPUT=YES ^
PPM_CENTER_ADJUSTABLE=YES ^
PPM_LIMITS_SYMETRICAL=YES ^
PPM_UNIT=PERCENT_PREC1 ^
^
TRANSLATIONS=FR ^
TTS=FR ^
FONT=STD ^
SPLASH=YES ^
TEMPLATES=NO ^
BATTGRAPH=NO ^
THR_TRACE=YES ^
EEPROM_PROGRESS_BAR=NO
Je l'ai envoyé via l'USBasp vers la 2560, a priori sans aucune erreur.
Je lance ensuite companion 2.1.0 (inclus dans le dossier F. Aguerre). Je règle les paramètres comme indiqué, sélectionne le port, et quand je veux transférer le fichier, j'obtiens cette fenêtre :
C:/Nextstep_Rc/companion/avrdude.exe -c stk500v2 -p m2560 -D-F -P com3 -U flash:w:C:/Nextstep_Rc/opentx.hex:i
=================================================================================
C:\Nextstep_Rc\companion\avrdude.exe: invalid option -- -
Usage: avrdude.exe [options]
Options:
-p <partno> Required. Specify AVR device.
-b <baudrate> Override RS-232 baud rate.
-B <bitclock> Specify JTAG/STK500v2 bit clock period (us).
-C <config-file> Specify location of configuration file.
-c <programmer> Specify programmer type.
-D Disable auto erase for flash memory
-i <delay> ISP Clock Delay [in microseconds]
-P <port> Specify connection port.
-F Override invalid signature check.
-e Perform a chip erase.
-O Perform RC oscillator calibration (see AVR053).
-U <memtype>:r|w|v:<filename>[:format]
Memory operation specification.
Multiple -U options are allowed, each request
is performed in the order specified.
-n Do not write anything to the device.
-V Do not verify.
-u Disable safemode, default when running from a script.
-s Silent safemode operation, will not ask you if
fuses should be changed back.
-t Enter terminal mode.
-E <exitspec>[,<exitspec>] List programmer exit specifications.
-x <extended_param> Pass <extended_param> to programmer.
-y Count # erase cycles in EEPROM.
-Y <number> Initialize erase cycle # in EEPROM.
-v Verbose output. -v -v for more.
-q Quell progress output. -q -q for less.
-? Display this usage.
avrdude version 5.11.1, URL: <http://savannah.nongnu.org/projects/avrdude/>
=================================================================================
J'aimerais bien comprendre ce que je fais de mal.
Cordialement
Thierry
J'ai une Mega 2560, un SSD1306, un USBasp, je suis la procédure, mais ça ne marche pas.
Le dossier Nextsteprc est sur la racine.
Mon fichier fichier hex est le suivant :
^
PCB=MEGA2560 ^
LCD=SSD1306 ^
^
PWRMANAGE=NO ^
SHUTDOWN_CONFIRMATION=NO ^
^
EXT=STD ^
FRSKY_HUB=NO ^
GPS=NO ^
VARIO=NO ^
^
SDCARD=NO ^
RTCLOCK=NO ^
AUDIO=NO ^
VOICE=NO ^
HAPTIC=NO ^
^
DEFAULT_MODE=1 ^
NAVIGATION=NO ^
DBLKEYS=YES ^
AUTOSWITCH=YES ^
AUTOSOURCE=YES ^
^
HELI=NO ^
FLIGHT_MODES=YES ^
CURVES=YES ^
GVARS=YES ^
OFFSET_ON_INPUT=YES ^
PPM_CENTER_ADJUSTABLE=YES ^
PPM_LIMITS_SYMETRICAL=YES ^
PPM_UNIT=PERCENT_PREC1 ^
^
TRANSLATIONS=FR ^
TTS=FR ^
FONT=STD ^
SPLASH=YES ^
TEMPLATES=NO ^
BATTGRAPH=NO ^
THR_TRACE=YES ^
EEPROM_PROGRESS_BAR=NO
Je l'ai envoyé via l'USBasp vers la 2560, a priori sans aucune erreur.
Je lance ensuite companion 2.1.0 (inclus dans le dossier F. Aguerre). Je règle les paramètres comme indiqué, sélectionne le port, et quand je veux transférer le fichier, j'obtiens cette fenêtre :
C:/Nextstep_Rc/companion/avrdude.exe -c stk500v2 -p m2560 -D-F -P com3 -U flash:w:C:/Nextstep_Rc/opentx.hex:i
=================================================================================
C:\Nextstep_Rc\companion\avrdude.exe: invalid option -- -
Usage: avrdude.exe [options]
Options:
-p <partno> Required. Specify AVR device.
-b <baudrate> Override RS-232 baud rate.
-B <bitclock> Specify JTAG/STK500v2 bit clock period (us).
-C <config-file> Specify location of configuration file.
-c <programmer> Specify programmer type.
-D Disable auto erase for flash memory
-i <delay> ISP Clock Delay [in microseconds]
-P <port> Specify connection port.
-F Override invalid signature check.
-e Perform a chip erase.
-O Perform RC oscillator calibration (see AVR053).
-U <memtype>:r|w|v:<filename>[:format]
Memory operation specification.
Multiple -U options are allowed, each request
is performed in the order specified.
-n Do not write anything to the device.
-V Do not verify.
-u Disable safemode, default when running from a script.
-s Silent safemode operation, will not ask you if
fuses should be changed back.
-t Enter terminal mode.
-E <exitspec>[,<exitspec>] List programmer exit specifications.
-x <extended_param> Pass <extended_param> to programmer.
-y Count # erase cycles in EEPROM.
-Y <number> Initialize erase cycle # in EEPROM.
-v Verbose output. -v -v for more.
-q Quell progress output. -q -q for less.
-? Display this usage.
avrdude version 5.11.1, URL: <http://savannah.nongnu.org/projects/avrdude/>
=================================================================================
J'aimerais bien comprendre ce que je fais de mal.
Cordialement
Thierry