Site.SID History
Show minor edits - Show changes to output
December 17, 2007, at 12:07 PM EST
by
- Changed line 1 from:
!!!!Sound arduino
to:
!!!!Arduino makes sound
December 17, 2007, at 12:05 PM EST
by
- Added lines 1-3:
!!!!Sound arduino
[[http://www.uchobby.com/index.php/2007/11/11/arduino-sound-part-1/|Sound tutorial]]
[[http://www.uchobby.com/index.php/2007/11/11/arduino-sound-part-1/|Sound tutorial]]
December 07, 2007, at 05:02 PM EST
by
- Added lines 1-41:
!!!SID emulator
!!!!A propos
Implémentation du projet "SID emulator" qui est une émulation du chip sonore [[http://en.wikipedia.org/wiki/MOS_Technology_SID | SID]] du commodore 64.
C'est un [[http://www.arduino.cc/playground/Main/SID-emulator | projet]] du site Arduino playground, programmé par [[http://www.christoph-haberer.de | Christoph Harberer]]. Mais mal documenté.
Le projet se compose d'une Arduino normale surmonté d'un shield composé d'un ATMEGA (8 ou 168) avec son quartz utilisé comme émulation du SID.
éventuellement le tout se pilote à partir de l'ordinateur ou via l'Arduino (au moyen de potentiomètres par ex).
!!!Flasher l'atmega avec le programmateur paralléle (dapa)
Hé ouais ! le [[http://www.arduino.cc/en/Hacking/ParallelProgrammer | programmateur parallèle cheap]] sur le site de Arduino.cc s'appelle un "dapa", il faut le savoir pour les config des logiciels de programmation (uisp et avrdude).
Avec uisp (pris sur un site générique) :
tools\avr\bin\uisp -dpart=ATmega8 -dprog=dapa -dlpt=0x378 --wr_lock=0xFF
tools\avr\bin\uisp -dpart=ATmega8 -dprog=dapa -dlpt=0x378 --wr_fuse_l=0xdf --wr_fuse_h=0xca
tools\avr\bin\uisp -dpart=ATmega8 -dprog=dapa -dlpt=0x378 --erase --upload --verify if=bootloader\ATMegaBOOT.hex
tools\avr\bin\uisp -dpart=ATmega8 -dprog=dapa -dlpt=0x378 --wr_lock=0xCF
Flashage du code stand-alone de la [[http://www.roboterclub-freiburg.de/atmega_sound/atmegaSID.html | page officielle du projet]]. Il y a un .hex dans le fichier 1.0
(utilisé pour compiler le projet)
PORT=/dev/parport0 FILE=fichier.hex
uisp -dpart=ATmega8 -dprog=dapa -dserial=$PORT –wr_lock=0xFF
uisp -dpart=ATmega8 -dprog=dapa -dserial=$PORT –wr_fuse_l=0xdf –wr_fuse_h=0xca
uisp -dpart=ATmega8 -dprog=dapa -dserial=$PORT –erase –upload if=$FILE -v uisp -dpart=ATmega8 -dprog=dapa -dserial=$PORT –wr_lock=0xCF
!!!Compiler le code SID de l'atmega emulator
sous linux avec utilisation des outils avr.
Documentation
->[[http://www.avrfreaks.net | AVRfreaks]] (attention demande un login pour certain download)
->[[http://www.nongnu.org/avr-libc/user-manual/group__demos.html | Demo de compilation]]
->[[http://www.nongnu.org/avr-libc/user-manual/index.html | User manual de avr-libc le C pour les microcontroleurs AVR]]
!!!!Compilation :
$ avr-gcc -g -Os -mmcu=atmega8 -c demo.c
The compilation will create a demo.o file. Next we link it into a binary called demo.elf.
$ avr-gcc -g -mmcu=atmega8 -o demo.elf demo.o
!!!!A propos
Implémentation du projet "SID emulator" qui est une émulation du chip sonore [[http://en.wikipedia.org/wiki/MOS_Technology_SID | SID]] du commodore 64.
C'est un [[http://www.arduino.cc/playground/Main/SID-emulator | projet]] du site Arduino playground, programmé par [[http://www.christoph-haberer.de | Christoph Harberer]]. Mais mal documenté.
Le projet se compose d'une Arduino normale surmonté d'un shield composé d'un ATMEGA (8 ou 168) avec son quartz utilisé comme émulation du SID.
éventuellement le tout se pilote à partir de l'ordinateur ou via l'Arduino (au moyen de potentiomètres par ex).
!!!Flasher l'atmega avec le programmateur paralléle (dapa)
Hé ouais ! le [[http://www.arduino.cc/en/Hacking/ParallelProgrammer | programmateur parallèle cheap]] sur le site de Arduino.cc s'appelle un "dapa", il faut le savoir pour les config des logiciels de programmation (uisp et avrdude).
Avec uisp (pris sur un site générique) :
tools\avr\bin\uisp -dpart=ATmega8 -dprog=dapa -dlpt=0x378 --wr_lock=0xFF
tools\avr\bin\uisp -dpart=ATmega8 -dprog=dapa -dlpt=0x378 --wr_fuse_l=0xdf --wr_fuse_h=0xca
tools\avr\bin\uisp -dpart=ATmega8 -dprog=dapa -dlpt=0x378 --erase --upload --verify if=bootloader\ATMegaBOOT.hex
tools\avr\bin\uisp -dpart=ATmega8 -dprog=dapa -dlpt=0x378 --wr_lock=0xCF
Flashage du code stand-alone de la [[http://www.roboterclub-freiburg.de/atmega_sound/atmegaSID.html | page officielle du projet]]. Il y a un .hex dans le fichier 1.0
(utilisé pour compiler le projet)
PORT=/dev/parport0 FILE=fichier.hex
uisp -dpart=ATmega8 -dprog=dapa -dserial=$PORT –wr_lock=0xFF
uisp -dpart=ATmega8 -dprog=dapa -dserial=$PORT –wr_fuse_l=0xdf –wr_fuse_h=0xca
uisp -dpart=ATmega8 -dprog=dapa -dserial=$PORT –erase –upload if=$FILE -v uisp -dpart=ATmega8 -dprog=dapa -dserial=$PORT –wr_lock=0xCF
!!!Compiler le code SID de l'atmega emulator
sous linux avec utilisation des outils avr.
Documentation
->[[http://www.avrfreaks.net | AVRfreaks]] (attention demande un login pour certain download)
->[[http://www.nongnu.org/avr-libc/user-manual/group__demos.html | Demo de compilation]]
->[[http://www.nongnu.org/avr-libc/user-manual/index.html | User manual de avr-libc le C pour les microcontroleurs AVR]]
!!!!Compilation :
$ avr-gcc -g -Os -mmcu=atmega8 -c demo.c
The compilation will create a demo.o file. Next we link it into a binary called demo.elf.
$ avr-gcc -g -mmcu=atmega8 -o demo.elf demo.o