Outils pour utilisateurs

Outils du site


francois:simplebgc_gimbal

Ceci est une ancienne révision du document !


SimpleBGC clone

La carte que j'ai est un clône de la carte originale BASECAM SimpleBGC 8bits.

J'ai besoin de programmer le bootloader comme indiqué ici downloads_for_8-bit_boards_basecam_electronics.pdf

avrdude

Pour programmer la carte, on utilise avrdude avec le programmateur AVR JTAGICE MKII, en mode ISP.

Connection du programmateur

Lire les fusibles

Extrait de la doc:

-U <memtype>:r|w|v:<filename>[:format]:

<memtype> - can be flash, eeprom, hfuse (high fuse), lfuse (low fuse), or efuse (extended fuse)
r|w|v - can be r (read), w (write), v (verify)
<filename> - the input (writing or verifying) or output file (reading)
[:format] - optional, the format of the file. You can leave this off for writing, but for reading use i for Intel Hex (the prevailing standard )

For example:
 To write a file called firmware.hex to the flash use the command: ''-U flash:w:firmware.hex''
 To verify a file called mydata.eep from the eeprom use the command ''-U eeprom:v:mydata.eep''
 To read the low fuse into a file use the command ''-U lfuse:r:lfusefile.hex:i''
avrdude -c jtag2isp -p m328p -U lfuse:r:lfusefile.hex:i
francois/simplebgc_gimbal.1620899200.txt.gz · Dernière modification : (modification externe)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki