Site.SID History

Hide minor edits - Show changes to markup

December 17, 2007, at 12:07 PM EST by 82.229.166.22 -
Changed line 1 from:

Sound arduino

to:

Arduino makes sound

December 17, 2007, at 12:05 PM EST by 82.229.166.22 -
Added lines 1-3:

Sound arduino

Sound tutorial

December 07, 2007, at 05:02 PM EST by 81.57.100.242 -
Added lines 1-41:

SID emulator

A propos

Implémentation du projet "SID emulator" qui est une émulation du chip sonore SID du commodore 64. C'est un projet du site Arduino playground, programmé par 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 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 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

AVRfreaks (attention demande un login pour certain download)
Demo de compilation
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

Powered by pmwiki-2.2.10