Ich hab avr-gcc 4.3.2 aus WinAVR-20090313 benutzt unter Win7 x64 und hatte keine solchen Probleme, weder mit device 001 noch 002. Welche Revision ich allerdings habe weiß ich nicht, wüßte nicht wo ich das nachsehen
Ich würde den LPC936 nehmen. Den gibt es im PLCC28 oder ohne Sockel noch kleinerem TSSOP28 Gehäuse. Der hat vier hardware PWM Kanäle und kann bis zu 18MHz getaktet werden mit 2-cycle Core. Ciao, Rainer
otherwise. R (Result) equals Rd after the operation. Example: add r1,r2 ; Add r2 to r1 (r1=r1+r2) add r28,r28 ; Add r28 to itself (r28=r28+r28) Words: 1 (2 bytes) Cycles: 1 16 AVR Instruction Set 0856F–AVR–05/08 AVR Instruction Set ADIW – Add Immediate to Word Description: Adds an immediate value (0 - 63
I C A T I O N N O T E F O R T H E A V R F A M I L Y ;* ;* Number :AVR000 ;* File Name :"2313def.inc" ;* Title :Register/Bit Definitions for the AT90S2313 ;* Date :99.01.28 ;* Version :1.30 ;* Support E-Mail :avr@atmel.com ;* Target MCU :AT90S2313 ... Aber jetzt weiter
benutzen, wenn mehr Strom benötigt wird.............................................................28 4 AVR-Tutorial: Logik........................................................................................................................29 4.1Allgemeines.........................................
otherwise. R (Result) equals Rd after the operation. Example: add r1,r2 ; Add r2 to r1 (r1=r1+r2) add r28,r28 ; Add r28 to itself (r28=r28+r28) Words: 1 (2 bytes) Cycles: 1 17 0856E–AVR–11/05 ADIW – Add Immediate to Word Description: Adds an immediate value (0 - 63) to a register pair and places the result
Avr Nix wrote: > Noch eine andere Frage welche Zahl ist bei dir Grau und Hellgrau? Die Farben sind 8bit Werte, man kann jeden Wert senden, es werden aber nur die 2 MSB verwendet: 0, 64, 128, 192 sind
Displaypixel 80 -> 80 :8 = 10 -> X = 10 ? Displaypixel 80 -> 80 -> Y = 80 ? Das Bild wird in 64 x 64 Pixel gesendet (rechts abschneiden) das wären doch 64 : 8 = 8 x 3 = 24 Byte x 64 = 1536 Byte Testbild. bis hier richtig gerechnet ? Wigbert
. Zum Einstieg hab ich mir einen Usbprog (http://www.embedded-projects.net) und das Elektor-CC2-AVR-Projekt mit einem Atmega88-controller angeschafft. leider bekomme ich ihn nicht geflasht. Hab zuvor versucht, die fuses zu setzen (high-fuse:0xDD, low-fuse:0xFF). Zum flashen und zum setzen
Recv: . [03] . [00] . [07] SCK period : 10.37 us avrdude: Sent: . [10] . [c8] d [64] . [19] [20] . [00] S [53] . [03] . [ac] S [53] . [f6] K [4b] avrdude: Recv: . [10] . [00] avrdude: AVR device initialized and ready to accept instructions Reading |
): setenv bootargs console=ttyS0 root=1F02 rootfstype=jffs2 mtdparts=physmap-flash.0:128k(boot),64k(env)ro,-(root) Dann bootest Du Linux ("boot"). Als root kannst Du dann die neue Version von U-Boot laden (z.B. mit wget nach /tmp) und dann mit dd if=/tmp/u-boot.bin of=/dev/mtdblock0 bs=4k
X. schrieb im Beitrag #3408008: >> Wie gesagt, ich habe beobachtet, dass das Delphi-Programm den AVR mit >> 16K-grossen Blöcken beschiesst, und mir rätselhaft ist, wie der AVR das >> so schnell puffern und/oder wegschreiben kann. > > Dein ATmega hat doch 1KB SRAM, was 64 Flash Seiten entspricht
gdb_port 3333 gdb_memory_map enable gdb_flash_program enable interface parport parport_port 0xDD00 #my printerport is on DD00, that's ok parport_cable wiggler jtag_speed 0 jtag_nsrst_delay 200 jtag_ntrst_delay 200 reset_config srst_only target arm7tdmi little reset_halt 0 arm7tdmi
hallo proc proc, hast du schon mal die tipps von martin thomas (posting vom 28.03.08) beachtet oder zumindest gelesen? ich darf zitieren: >Auch flash write_binary wurde wohl inzwischen "entsorgt". In letzter >Zeit wurde an OpenOCD einiges an "Ballast" entsorgt. Man schaue
otherwise. R (Result) equals Rd after the operation. Example: add r1,r2 ; Add r2 to r1 (r1=r1+r2) add r28,r28 ; Add r28 to itself (r28=r28+r28) Words: 1 (2 bytes) Cycles: 1 17 0856E–AVR–11/05 ADIW – Add Immediate to Word Description: Adds an immediate value (0 - 63) to a register pair and places the result
gmx.ch http://jump.to/fleury @see The chapter <a href="http://homepage.sunrise.ch/mysunrise/peterfleury/avr-lcd44780.html" target="_blank">Interfacing a HD44780 Based LCD to an AVR</a> on my home page. */ /*@{*/ #if (__GNUC__ * 100 + __GNUC_MINOR__) < 303 #error "This library requires AVR-GCC 3.3 or later
otherwise. R (Result) equals Rd after the operation. Example: add r1,r2 ; Add r2 to r1 (r1=r1+r2) add r28,r28 ; Add r28 to itself (r28=r28+r28) Words: 1 (2 bytes) Cycles: 1 17 0856E–AVR–11/05 ADIW – Add Immediate to Word Description: Adds an immediate value (0 - 63) to a register pair and places the result
schreiben kann, finde ich das schon viel übersichtlicher. Allerdings ist die zweite Variante um 28 Byte länger! Der Compiler baut da ziemlich wirres Zeug draus.
dann die Anzeige 'TESTABCDEFGHIJKL Das passt aber nicht ganz, 32 + 8 Zeichen sind 40(dezimal!)=$28 $40 = 64(dez) $28+$80=$A8 Dann versuche doch mal bitte: ldi ZL, LOW(text1*2) ldi ZH, HIGH(text1*2) rcall lcd_flash_string ;text1 ausgeben ldi temp1 , $A8 rcall lcd_command
die Anzeige 'TESTABCDEFGHIJKL > > Das passt aber nicht ganz, 32 + 8 Zeichen sind 40(dezimal!)=$28 > $40 = 64(dez) Der Controller hat aber keine zwei mal 64 Bytes DD-RAM sondern nur zwei mal 40 Bytes. Unter diesem Aspekt passt das schon. Auch wenn die Adressen einen Versatz von 64 Bytes haben.
gmx.ch http://jump.to/fleury @see The chapter <a href="http://homepage.sunrise.ch/mysunrise/peterfleury/avr-lcd44780.html" target="_blank">Interfacing a HD44780 Based LCD to an AVR</a> on my home page. */ /*@{*/ #if (__GNUC__ * 100 + __GNUC_MINOR__) < 303 #error "This library requires AVR-GCC 3.3 or later
gmx.ch http://jump.to/fleury @see The chapter <a href="http://homepage.sunrise.ch/mysunrise/peterfleury/avr-lcd44780.html" target="_blank">Interfacing a HD44780 Based LCD to an AVR</a> on my home page. */ /*@{*/ #if (__GNUC__ * 100 + __GNUC_MINOR__) < 303 #error "This library requires AVR-GCC 3.3 or later
gmx.ch http://jump.to/fleury @see The chapter <a href="http://homepage.sunrise.ch/mysunrise/peterfleury/avr-lcd44780.html" target="_blank">Interfacing a HD44780 Based LCD to an AVR</a> on my home page. */ /*@{*/ #if (__GNUC__ * 100 + __GNUC_MINOR__) < 303 #error "This library requires AVR-GCC 3.3 or later
gmx.ch http://jump.to/fleury @see The chapter <a href="http://homepage.sunrise.ch/mysunrise/peterfleury/avr-lcd44780.html" target="_blank">Interfacing a HD44780 Based LCD to an AVR</a> on my home page. */ /*@{*/ #if (__GNUC__ * 100 + __GNUC_MINOR__) < 303 #error "This library requires AVR-GCC 3.3 or later
gmx.ch http://jump.to/fleury @see The chapter <a href="http://homepage.sunrise.ch/mysunrise/peterfleury/avr-lcd44780.html" target="_blank">Interfacing a HD44780 Based LCD to an AVR</a> on my home page. */ /*@{*/ #if (__GNUC__ * 100 + __GNUC_MINOR__) < 303 #error "This library requires AVR-GCC 3.3 or later
habe dir die Schaltung im Anhang mit geschickt. Sie ist auf Seite 28 des PDF_Dokuments. Habe aber mit galvanischer Trennung über Optokoppler gearbeitet (wegen evtl. Rückwirkungen und Garantie usw.), Stromversorgung über externe 24V-Versorgung und Anschluss an PC über
Kol1, Kol2, Ertr. M8 xx3 = 00h (???, aber konstant) M9 CRC S1 ACK S2 NN = 03h Length of data S3 dd_L | S4 dd_H |= Data2c S5 yy = 00h Fühler angeschlossen, oder AAh kein Fühler angeschlossen S6 CRC M10 ACK Werde ich demnächst in das Dokument aufnehmen, kann aber auch jeder andere machen und
gmx.ch http://jump.to/fleury @see The chapter <a href="http://homepage.sunrise.ch/mysunrise/peterfleury/avr-lcd44780.html" target="_blank">Interfacing a HD44780 Based LCD to an AVR</a> on my home page. */ /*@{*/ #if (__GNUC__ * 100 + __GNUC_MINOR__) < 303 #error "This library requires AVR-GCC 3.3 or later
gmx.ch http://jump.to/fleury @see The chapter <a href="http://homepage.sunrise.ch/mysunrise/peterfleury/avr-lcd44780.html" target="_blank">Interfacing a HD44780 Based LCD to an AVR</a> on my home page. */ /*@{*/ #if (__GNUC__ * 100 + __GNUC_MINOR__) < 303 #error "This library requires AVR-GCC 3.3 or later
otherwise. R (Result) equals Rd after the operation. Example: add r1,r2 ; Add r2 to r1 (r1=r1+r2) add r28,r28 ; Add r28 to itself (r28=r28+r28) Words: 1 (2 bytes) Cycles: 1 17 0856E–AVR–11/05 ADIW – Add Immediate to Word Description: Adds an immediate value (0 - 63) to a register pair and places the result
Ganz einfach: Weil nicht jeder AVR SPI hat. Damit die Software wirklich auf jedem AVR läuft, und nicht jeder erst die Software an seinen Wunsch AVR anpassen muss.
4F 03 C4 FF 77 zurück und nicht 03 C4 00 88 zum Ausschalten 1 mal F4 02 10 E6 --> <--- 4F 02 90 DD > Nun frage ich mich wie der physische Aufbau ausehen müsste um einen AVR mit dem W-bus zu verbinden. Bin nur Hobbybastler...
Nun gut das ist die Antwort der Heizung: Software version TX 34 03 51 02 64 RX 43 0F D1 02 FF FF 03 24 13 08 05 FF FF FF FF FF 59 W-BUS version TX 34 03 51 0A 6C RX 43 04 D1 0A 41 DD Frage wenn ich nur den Fan einschalte also Sommer-Modus ändert sich bei mir der Status
www.hoperf.com/doce/pro/RFM12.html (Im programming guide gibts auch ein Schaltplan-Beispiel mit AVR)
@AVR-User hab nochmal auf der Pollin-Homepage nachgeschaut, inzwischen gibts anscheinend auch dort für die module einen beispielcode in c, so wies ausschaut angepasst für die avr-evaluation-platine...
BIT0> </SREG> <SPH> <NAME>SPH</NAME> <DESCRIPTION>Stack Pointer High</DESCRIPTION> <TEXT>The general AVR 16-bit Stack Pointer is effectively built up of two 8-bit registers in the I/O space locations $3E ($5E) and $3D ($5D). As the AT90S4414/8515 supports up to 64 kB external SRAM, all 16-bits are used
gmx.ch http://jump.to/fleury @see The chapter <a href="http://homepage.sunrise.ch/mysunrise/peterfleury/avr-lcd44780.html" target="_blank">Interfacing a HD44780 Based LCD to an AVR</a> on my home page. */ /*@{*/ #if (__GNUC__ * 100 + __GNUC_MINOR__) < 303 #error "This library requires AVR-GCC 3.3 or later
Übertragung von einzelnen Bytes, sowie das Empfangen einer Zeile bis CR eintrifft. Daten werden im AVR und Moppel über ein Buffer (64Byte) ausgetauscht. Damit kann dann der Hexlader mit 38kb Daten empfangen. Die Senderoutine ist noch in der Testphase... Der Rest vom PIO-Baustein kann nun als 8bit
noch die letzte Zeile der Hex-Datei anschauen ;-)). Nun wird erstmal ein RTS gesetzt bevor der AVR in bewegung gesetzt wird. Die Empfangsroutine hat einen 64Byte Buffer und die Daten werden per IRQ dort eingelesen. Sobald die Zeile voll ist, wird sie in den Moppel gepumpt, dort wieder in ein Buffer
gmx.ch http://jump.to/fleury @see The chapter <a href="http://homepage.sunrise.ch/mysunrise/peterfleury/avr-lcd44780.html" target="_blank">Interfacing a HD44780 Based LCD to an AVR</a> on my home page. */ /*@{*/ #if (__GNUC__ * 100 + __GNUC_MINOR__) < 303 #error "This library requires AVR-GCC 3.3 or later
gmx.ch http://jump.to/fleury @see The chapter <a href="http://homepage.sunrise.ch/mysunrise/peterfleury/avr-lcd44780.html" target="_blank">Interfacing a HD44780 Based LCD to an AVR</a> on my home page. */ /*@{*/ #if (__GNUC__ * 100 + __GNUC_MINOR__) < 303 #error "This library requires AVR-GCC 3.3 or later