-
Thread
STM32 arm-none-eabi Linking Problem..
_edata = . ; } >RAM /* This is the uninitialized data section */ .bss : { . = ALIGN(4); /* This is used by the startup in order to initialize the .bss secion */ _sbss = .; *(.bss) *(COMMON)
address for the .data section. defined in linker script */ .word _edata /* start address for the .bss section. defined in linker script */ .word _sbss /* end address for the .bss section. defined in linker script */ .word _ebss .equ BootRAM, 0xF108F85F /** * @brief This is the code that
-
Thread
JFET als Schalter
Schaltung überhaupt nicht. Warum nimmst du einen jFET und keinen > gewöhnlichen nMOSFET, wie z.B. den BSS123? Dann benötigst du auch Q1 > nicht mehr. > >>Muss ich da die Source mit dem Gate verbinden? > Nein, dann leitet er: selbstleitend heißt, dass er mit 0V Gatespannung > leitend ist. Du musst
Kai Klaas schrieb: > Der Originalartikel in der ELV 5/89 macht das so, wie im Anhang. > Allerdings sind das keine drei Einzeltransistoren auf der linken Seite > sondern ein ULN2803. Dadurch geht die Steuerspannung an der linken Seite > der 390k Widerstände
-
Thread
Arduino-Libraries: Nicht sichtbar, Bildschirm scrollt nicht
must be seperated by a space. EXTRAINCDIRS = # Compiler flag to set the C Standard level. # c89 - "ANSI" C # gnu89 - c89 plus GCC extensions # c99 - ISO C99 standard (not yet fully implemented) # gnu99 - c99 plus GCC extensions CSTANDARD = -std=gnu99 # Place -D or -U options here
# 64 KB of external RAM, starting after internal RAM (ATmega128!), # used for variables (.data/.bss) and heap (malloc()). #EXTMEMOPTS = -Wl,-Tdata=0x801100,--defsym=__heap_end=0x80ffff # 64 KB of external RAM, starting after internal RAM (ATmega128!), # only used for heap (malloc()). #EXTMEMOPTS
-
Thread
STK 500 mit WINAVR koppeln
bytes (1.7% Full) (.text + .data + .bootloader) Data: 8 bytes (0.8% Full) (.data + .bss + .noinit) -------- end -------- > Process Exit Code: 0 > Time Taken: 00:00
, enclose it in quotes. EXTRAINCDIRS = # Compiler flag to set the C Standard level. # c89 = "ANSI" C # gnu89 = c89 plus GCC extensions # c99 = ISO C99 standard (not yet fully implemented) # gnu99 = c99 plus GCC extensions CSTANDARD = -std=gnu99 # Place -D or -U options
-
Thread
Kicad - mehrere Symbole für ein Bauteil?
> Device-Lib mehrere Transistoren NPN mit BCE, BEC, CBE, CEB, > BCEC... Wenn du zB BC807 oder BSS138 benutzt, dann ist bei dem symbol schon gleich immer das richtige Package gesetzt und du musst es nicht manuell zuordnen. Bei einem generischen NPN oder NMOS Symbol geht das natürlich nicht.
über Eck, mit kurzen Pads, mit langen Pads, als TO126, als TO220, als SOT-23, als SOT-223, als SOT89, als DPAK. Ja, so stelle ich mir das vor. So hab ich das 20 Jahre lang gemacht.
-
Thread
Analog Digital Umwandlung, einstiegs Code.
must be seperated by a space. EXTRAINCDIRS = # Compiler flag to set the C Standard level. # c89 - "ANSI" C # gnu89 - c89 plus GCC extensions # c99 - ISO C99 standard (not yet fully implemented) # gnu99 - c99 plus GCC extensions CSTANDARD = -std=gnu99 # Place -D or -U options here CDEFS
# 64 KB of external RAM, starting after internal RAM (ATmega128!), # used for variables (.data/.bss) and heap (malloc()). #EXTMEMOPTS = -Wl,-Tdata=0x801100,--defsym=__heap_end=0x80ffff # 64 KB of external RAM, starting after internal RAM (ATmega128!), # only used for heap (malloc()). #EXTMEMOPTS
-
Thread
Kompilieren unter Linux
quotes. # EXTRAINCDIRS = f:/Programme/AVRlib # Compiler flag to set the C Standard level. # c89 = "ANSI" C # gnu89 = c89 plus GCC extensions # c99 = ISO C99 standard (not yet fully implemented) # gnu99 = c99 plus GCC extensions CSTANDARD = -std=gnu99 # Place -D or -U options
# 64 KB of external RAM, starting after internal RAM (ATmega128!), # used for variables (.data/.bss) and heap (malloc()). #EXTMEMOPTS = -Wl,--section-start,.data=0x801100,--defsym=__heap_end=0x80ffff # 64 KB of external RAM, starting after internal RAM (ATmega128!), # only used for heap (malloc
-
Thread
Nach Aufteilung Code um 6KB größer
ehemals: Program: 18834 bytes (.text + .data + .bootloader) Data: 87 bytes (.data + .bss + .noinit) auf Program: 24234 bytes (.text + .data + .bootloader) Data: 89 bytes (.data + .bss + .noinit) aufgebläht. Das Programm funktioniert weiterhin es gibt keine Fehler
-
Thread
win-avr vom 14.4.06
, enclose it in quotes. EXTRAINCDIRS = # Compiler flag to set the C Standard level. # c89 = "ANSI" C # gnu89 = c89 plus GCC extensions # c99 = ISO C99 standard (not yet fully implemented) # gnu99 = c99 plus GCC extensions CSTANDARD = -std=gnu99 # Place -D or -U options
COFFCONVERT += --change-section-address .data-0x800000 COFFCONVERT += --change-section-address .bss-0x800000 COFFCONVERT += --change-section-address .noinit-0x800000 COFFCONVERT += --change-section-address .eeprom-0x810000 coff: $(TARGET).elf @echo @echo $(MSG_COFF) $(TARGET).cof
-
Thread
ATMega128A, mehrer getestet PD0 und PD 1 gehen nicht
, enclose it in quotes. EXTRAINCDIRS = # Compiler flag to set the C Standard level. # c89 = "ANSI" C # gnu89 = c89 plus GCC extensions # c99 = ISO C99 standard (not yet fully implemented) # gnu99 = c99 plus GCC extensions CSTANDARD = -std=gnu99 # Place -D or -U options
COFFCONVERT += --change-section-address .data-0x800000 COFFCONVERT += --change-section-address .bss-0x800000 COFFCONVERT += --change-section-address .noinit-0x800000 COFFCONVERT += --change-section-address .eeprom-0x810000 coff: $(TARGET).elf @echo @echo $(MSG_COFF) $(TARGET).cof
-
Thread
"expected ')' before '*' token" -- Was ist da los?
must be seperated by a space. EXTRAINCDIRS = # Compiler flag to set the C Standard level. # c89 - "ANSI" C # gnu89 - c89 plus GCC extensions # c99 - ISO C99 standard (not yet fully implemented) # gnu99 - c99 plus GCC extensions CSTANDARD = -std=gnu99 # Place -D or -U options here CDEFS
# 64 KB of external RAM, starting after internal RAM (ATmega128!), # used for variables (.data/.bss) and heap (malloc()). #EXTMEMOPTS = -Wl,-Tdata=0x801100,--defsym=__heap_end=0x80ffff # 64 KB of external RAM, starting after internal RAM (ATmega128!), # only used for heap (malloc()). #EXTMEMOPTS
-
Thread
Init-Funktion oder if-statement mit static variable
Achim S. schrieb im Beitrag #4878451: > C89 oder C99 kennt bool aber nicht. Schon mal was von stdbool.h gehoert?
Kaj schrieb im Beitrag #4878472: > Achim S. schrieb im Beitrag #4878451: >> C89 oder C99 kennt bool aber nicht. > Schon mal was von stdbool.h gehoert? Man, steht doch genau ein Betrag vor Dir ...
-
Thread
AVR Einstieg
ohne wenn man > händisch einfach z.B. beim Cortex M folgendes macht: Davon hast du .data und .bss nicht initialisiert.
for(dst = &__data_start; dst < &_edata; ) { *dst++ = *src++; } for(dst = &__bss_start__; dst < &__bss_end__; ) { *dst++ = 0; } count = __init_array_end - __init_array_start; for (i = 0; i < count; i++) __init_array_start[i] ();
-
Thread
neuer Transistortester GM328 aus China
bytes (102.6% Full) (.text + .data + .bootloader) Data: 442 bytes (21.6% Full) (.data + .bss + .noinit) EEPROM: 15 bytes (1.5% Full) (.eeprom) ?!?!?! HELP ME PLEASE!
ich auch genommen und in dieses Gehäuse eingebaut : https://www.conrad.de/de/hand-gehaeuse-147-x-89-x-24-abs-blau-hammond-electronics-1553dtbubkbat-1-st-531669.html
-
Thread
lookup verständnis
r25 aa: 93 73 andi r25, 0x33 ; 51 ac: 89 2b or r24, r25 ae: 98 2f mov r25, r24 b0: 92 95 swap r25 b2: 9f 70 andi r25, 0x0F ; 15 b4: 82 95 swap r24 b6: 80 7f andi r24, 0xF0 ; 240 b8: 89 2b or r24, r25 ba: 08 95 ret 000000bc <umkehr2>: bc: e4 e6 ldi r30, 0x64 ; 100 be: f0 e0 ldi r31, 0x00 ; 0 c0: e8 0f add r30, r24 c2
-
Thread
GCC - ATmega88: Berechnung von Konstanten zur compile-time
int Variable mit int Konstante: tmp = x * (185); 180: 10 91 38 01 lds r17, 0x0138 184: 89 eb ldi r24, 0xB9 ; 185 186: 18 9f mul r17, r24 188: c0 01 movw r24, r0 18a: 11 24 eor r1, r1 18c: 9a 83 std Y+2, r25 ; 0x02 18e: 89 83
movw r24, r0 1cc: 11 24 eor r1, r1 1ce: 9a 83 std Y+2, r25 ; 0x02 1d0: 89 83 std Y+1, r24 ; 0x01 Das letztere sieht doch schon viel freundlicher aus. Vielen Dank für die Hilfe. Gruss Bernd
-
Thread
Klingel mit 100 Melodien - last minute Weihnachtsgeschenk
40,35,11,10,13,10,6,40,35,11,10,13,10,6,43,38 ,4 //Lied Nr. 71 Offset:2125 ,150,86,24,217,64,25,25,89,24,123,89,88,86,145,81,18,212,64,20,20,84,19,118,84,82,81,143,79,17,210,64,18,18,82,17,116,82,81,79,209,64,79,81,82,84,64,153,152,87,64,150,86,24,217,64,25,25,89,24,123,89,88,86,145,81,18,212,64,20,20,84,19,118,84,82,81,143,79,17,210,64,18,18,82,17,116,82,81,79,205,64,143,76,202
Nach Diode D2 und vor Diode D6, R2 und T2 fehlt noch ein Widerstand von 1k. Als Mosfet's gehen auch BSS 170 oder BSS 270.
-
Thread
Fehler bei AVR-GCC (make all)
, enclose it in quotes. EXTRAINCDIRS = # Compiler flag to set the C Standard level. # c89 = "ANSI" C # gnu89 = c89 plus GCC extensions # c99 = ISO C99 standard (not yet fully implemented) # gnu99 = c99 plus GCC extensions CSTANDARD = -std=gnu99 # Place -D or -U options
# 64 KB of external RAM, starting after internal RAM (ATmega128!), # used for variables (.data/.bss) and heap (malloc()). #EXTMEMOPTS = -Wl,-Tdata=0x801100,--defsym=__heap_end=0x80ffff # 64 KB of external RAM, starting after internal RAM (ATmega128!), # only used for heap (malloc()). #EXTMEMOPTS
-
Thread
Quelldateien in verschiedenen Verzeichnissen
, enclose it in quotes. EXTRAINCDIRS = # Compiler flag to set the C Standard level. # c89 = "ANSI" C # gnu89 = c89 plus GCC extensions # c99 = ISO C99 standard (not yet fully implemented) # gnu99 = c99 plus GCC extensions CSTANDARD = -std=gnu99 # Place -D or -U options
COFFCONVERT += --change-section-address .data-0x800000 COFFCONVERT += --change-section-address .bss-0x800000 COFFCONVERT += --change-section-address .noinit-0x800000 COFFCONVERT += --change-section-address .eeprom-0x810000 coff: $(TARGET).elf @echo @echo $(MSG_COFF) $(TARGET).cof
-
Thread
Eclipse-Neuling "No rule to make target"
must be seperated by a space. EXTRAINCDIRS = # Compiler flag to set the C Standard level. # c89 - "ANSI" C # gnu89 - c89 plus GCC extensions # c99 - ISO C99 standard (not yet fully implemented) # gnu99 - c99 plus GCC extensions CSTANDARD = -std=gnu99 # Place -D or -U options here CDEFS
# 64 KB of external RAM, starting after internal RAM (ATmega128!), # used for variables (.data/.bss) and heap (malloc()). #EXTMEMOPTS = -Wl,-Tdata=0x801100,--defsym=__heap_end=0x80ffff # 64 KB of external RAM, starting after internal RAM (ATmega128!), # only used for heap (malloc()). #EXTMEMOPTS
-
Thread
Warum verwendet WinAVR nie swap/mul ?
\AVR\WINAVR\BIN>avr-gcc.exe -dumpversion 3.3.2 D:\WORK\AVR_C\PU\5KV>a.bat text data bss dec hex filename 3226 20 351 3597 e0d test.out C:\AVR\WINAVR\BIN>avr-gcc.exe -dumpversion 3.4.3 D:\WORK\AVR_C\PU\5KV>a.bat I2C.C:49: warning: `i2c_interrupt' appears to be a misspelled signal handler text data bss dec hex filename 3278 20 351 3649 e41 test.out Peter
-
Thread
SRAM bei Start löschen
Danke an Jörg für die Aufklärung. Man lernt nie aus. Trifft das auch bei C89 ("ANSI-C") zu oder ist das C99-spezifisch?
> Trifft das auch bei C89 ("ANSI-C") zu oder > ist das C99-spezifisch? Ich habe leider nichts da, um dort nachzusehen. Zumindest sehe ich es nicht in der Liste der Änderungen in C99 erwähnt.
-
Thread
avrdude: timeout
, enclose it in quotes. EXTRAINCDIRS = # Compiler flag to set the C Standard level. # c89 = "ANSI" C # gnu89 = c89 plus GCC extensions # c99 = ISO C99 standard (not yet fully implemented) # gnu99 = c99 plus GCC extensions CSTANDARD = -std=gnu99 # Place -D or -U options
COFFCONVERT += --change-section-address .data-0x800000 COFFCONVERT += --change-section-address .bss-0x800000 COFFCONVERT += --change-section-address .noinit-0x800000 COFFCONVERT += --change-section-address .eeprom-0x810000 coff: $(TARGET).elf @echo @echo $(MSG_COFF) $(TARGET).cof
-
Thread
2x level shift in Reihe
nur "durchgereicht" hat aber zu den Komponenten auf dem LS board keine Verbindung. Der OPI und das GY89 board haben natürlich GND!
[Pegelwandler]] mit einem MOSFET, der allerdings eine recht niedrige Schwellenspannung haben muss, BSS138 & Co ist dein Freund. > den würde ich tauschen dann müsste es besser aussehen. Was sieht denn schlecht aus? Der Op hat keinen Screenshop angehängt und auch keine genauere Beschreibung WO er
-
Thread
Heizungssteuergerät Fiesta Mk4
BCX52-10... So viel kann man auf dem Foto erkennen: gesucht ist ein Bauteil im SOT223 Gehäuse. Das SOT89 des BCX52 ist viel kleiner.
H. H. schrieb im Beitrag #7753478: > Smart High Side Switch Würde dieser gehen: Infineon BSS215P?
-
Thread
USB-ISP-Programmer
, enclose it in quotes. EXTRAINCDIRS = # Compiler flag to set the C Standard level. # c89 = "ANSI" C # gnu89 = c89 plus GCC extensions # c99 = ISO C99 standard (not yet fully implemented) # gnu99 = c99 plus GCC extensions CSTANDARD = -std=gnu99 # Place -D or -U options
COFFCONVERT += --change-section-address .data-0x800000 COFFCONVERT += --change-section-address .bss-0x800000 COFFCONVERT += --change-section-address .noinit-0x800000 COFFCONVERT += --change-section-address .eeprom-0x810000 coff: $(TARGET).elf @echo @echo $(MSG_COFF) $(TARGET).cof
-
Thread
LCD nach Tutorial - Fehlermeldung
, enclose it in quotes. EXTRAINCDIRS = # Compiler flag to set the C Standard level. # c89 = "ANSI" C # gnu89 = c89 plus GCC extensions # c99 = ISO C99 standard (not yet fully implemented) # gnu99 = c99 plus GCC extensions CSTANDARD = -std=gnu99 # Place -D or -U options
# 64 KB of external RAM, starting after internal RAM (ATmega128!), # used for variables (.data/.bss) and heap (malloc()). #EXTMEMOPTS = -Wl,-Tdata=0x801100,--defsym=__heap_end=0x80ffff # 64 KB of external RAM, starting after internal RAM (ATmega128!), # only used for heap (malloc()). #EXTMEMOPTS
-
Thread
notepad, winavr, makefile es klappt einfach nicht
must be seperated by a space. EXTRAINCDIRS = # Compiler flag to set the C Standard level. # c89 - "ANSI" C # gnu89 - c89 plus GCC extensions # c99 - ISO C99 standard (not yet fully implemented) # gnu99 - c99 plus GCC extensions CSTANDARD = -std=gnu99 # Place -D or -U options here CDEFS
# 64 KB of external RAM, starting after internal RAM (ATmega128!), # used for variables (.data/.bss) and heap (malloc()). #EXTMEMOPTS = -Wl,-Tdata=0x801100,--defsym=__heap_end=0x80ffff # 64 KB of external RAM, starting after internal RAM (ATmega128!), # only used for heap (malloc()). #EXTMEMOPTS
-
Thread
Projekt : GPS Tracker
bitte jemand überprüfen der etwas ahnung davon hat? - ATmega mouser.com (556-ATMEGA644P-20AU) - BSS123 Reichelt (Artikel-Nr.: BSS 123 SMD) - LM75AD Reichelt (Artikel-Nr.: LM 75 SMD) - Max 1811 Recihelt (Artikel-Nr.: MAX 1811 ESA) - 1 Schalter Mouser.com (SSSS811101) - MIC 2920A-3.3WS mouser.com
13.51€ Hinzu kommen die Kosten für: * BSS138 FET (wie gesagt, leider nicht bei csd erhältlich) = ein paar Cent * GPS-Modul = je nachdem ab ca. 20€ aufwärts (oder mal bei eBay schauen) * Akku = z.B. ein Handyakku, ca. 10€ aufwärts bei eBay
-
Thread
Bekomme Projekt nicht kompiliert: No Rule...
quotes. EXTRAINCDIRS = f:/Programme/AVRlib # Compiler flag to set the C Standard level. # c89 = "ANSI" C # gnu89 = c89 plus GCC extensions # c99 = ISO C99 standard (not yet fully implemented) # gnu99 = c99 plus GCC extensions CSTANDARD = -std=gnu99 # Place -D or -U options
# 64 KB of external RAM, starting after internal RAM (ATmega128!), # used for variables (.data/.bss) and heap (malloc()). #EXTMEMOPTS = -Wl,--section-start,.data=0x801100,--defsym=__heap_end=0x80ffff # 64 KB of external RAM, starting after internal RAM (ATmega128!), # only used for heap (malloc
-
Thread
Amtel Evaluationboard V2.01 - Programmieren mit WINAVR
, enclose it in quotes. EXTRAINCDIRS = # Compiler flag to set the C Standard level. # c89 = "ANSI" C # gnu89 = c89 plus GCC extensions # c99 = ISO C99 standard (not yet fully implemented) # gnu99 = c99 plus GCC extensions CSTANDARD = -std=gnu99 # Place -D or -U options
COFFCONVERT += --change-section-address .data-0x800000 COFFCONVERT += --change-section-address .bss-0x800000 COFFCONVERT += --change-section-address .noinit-0x800000 COFFCONVERT += --change-section-address .eeprom-0x810000 coff: $(TARGET).elf @echo @echo $(MSG_COFF) $(TARGET).cof
-
Thread
(Über)lebensraum von Variablen...
da es historischen Code gibt, der sich darauf verläßt. Meiner Erinnerung nach ist das aber seit C89 nicht mehr vom Standard abgedeckt. (Als unangenehmen Nebeneffekt kann man die Größe des .bss nicht durch Aufsummieren der .bss der einzelnen .o-Dateien ermitteln, sondern erst nach dem Linken am
-
Thread
Hex.file erstellen
= $(CAT_LIB_PATH) $(CAT_LIB_PATH_OTHERS) # Compiler flag to set the C Standard level. # c89 = "ANSI" C # gnu89 = c89 plus GCC extensions # c99 = ISO C99 standard (not yet fully implemented) # gnu99 = c99 plus GCC extensions CSTANDARD = -std=gnu99 # Place -D or -U options
COFFCONVERT += --change-section-address .data-0x800000 COFFCONVERT += --change-section-address .bss-0x800000 COFFCONVERT += --change-section-address .noinit-0x800000 COFFCONVERT += --change-section-address .eeprom-0x810000 coff: $(TARGET).elf @echo @echo $(MSG_COFF) $(TARGET).cof
-
Thread
UART: Daten zum AVR senden
quotes. EXTRAINCDIRS = f:/Programme/AVRlib # Compiler flag to set the C Standard level. # c89 = "ANSI" C # gnu89 = c89 plus GCC extensions # c99 = ISO C99 standard (not yet fully implemented) # gnu99 = c99 plus GCC extensions CSTANDARD = -std=gnu99 # Place -D or -U options
# 64 KB of external RAM, starting after internal RAM (ATmega128!), # used for variables (.data/.bss) and heap (malloc()). #EXTMEMOPTS = -Wl,--section-start,.data=0x801100,--defsym=__heap_end=0x80ffff # 64 KB of external RAM, starting after internal RAM (ATmega128!), # only used for heap (malloc
-
Thread
Wärmezähler über optische M-Bus-Schnittstelle auslesen
1,0406ssSSssSSs@1000,Wärmenergie gesamt,MWh,W_total,3 1,0413ssSSssSSs@1000,Volumen gesamt,m³,V_total,3 1,042BssSSssSSs@1000,Strom aktuell,kW,P_curr,3 1,043BssSSssSSs@1,Durchfluss aktuell,l/h,F_curr,0 1,025BssSS@1,Temperatur Vorlauf,°C,T_flow,0 1,025FssSS@1,Temperatur Rücklauf,°C,T_return,0 1,0261ssSS@100,
1,0406ssSSssSSs@1000,Wärmenergie gesamt,MWh,W_total,3 1,0413ssSSssSSs@1000,Volumen gesamt,m³,V_total,3 1,042BssSSssSSs@1000,Strom aktuell,kW,P_curr,3 1,043BssSSssSSs@1000,Durchfluss aktuell,m³/h,F_curr,3 1,025BssSS@1,Temperatur Vorlauf,°C,T_flow,0 1,025FssSS@1,Temperatur Rücklauf,°C,T_return,0 1,0261ssSS@
-
Thread
Wechselspannung Nabendynamo begrenzen
Shuntregler für 1,8V aufbauen (AZ431) und ihn mit einem Verarmungs-FET als Stromquelle 2mA speisen, z.B. mit BSS139, der kann bis 250V ab, das sollte reichen.
für 1,8V aufbauen (AZ431) und ihn mit > einem Verarmungs-FET als Stromquelle 2mA speisen, z.B. mit BSS139, der > kann bis 250V ab, das sollte reichen. Ja stimmt. Wenn ich dabei bleiben möchte, wäre also ein größerer Widerstand zu PB2 hin oder dein Vorschlag besser. Danke. Axel S. schrieb im Beitrag
-
Thread
Linux und (immer noch) C
enthalten. atoi() ist nicht unsicher. Aber du kannst keine Fehleingaben erkennen. Dafür gibt es (seit C89 oder früher) strtol().
data 16 4202496 .rdata 224 4206592 .eh_frame 928 4210688 .bss 96 4214784 .idata 888 4218880 .CRT 24 4222976 .tls 32 4227072 C++ size -A out.exe out.exe : section size addr
-
Thread
flash-Fehler mit ATtiny2313, compile ok
12a: 3c 85 ldd r19, Y+12 ; 0x0c 12c: 8b 89 ldd r24, Y+19 ; 0x13 12e: 9c 89 ldd r25, Y+20 ; 0x14 130: 28 1b sub r18, r24 132: 39 0b sbc r19, r25 134: 3c 87
b8 01 movw r22, r16 228: e3 d0 rcall .+454 ; 0x3f0 22a: 89 85 ldd r24, Y+9 ; 0x09 22c: 82 30 cpi r24, 0x02 ; 2 22e: 38 f0 brcs .+14 ; 0x23e 230: 89 89 ldd r24, Y+17
-
Thread
neues WinAVR macht Probleme
funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=AVRTel21 -std=c89 -Wundef -MMD -MP -MF .dep/AVRTel21.elf.d AVRTel21 --output AVRTel21.elf -Wl,-Map=AVRTel21.map,--cref -lm AVRTel21: In function `__bad_interrupt': ../../../../../avr-libc-1.4.5/crt1/gcrt1.S:123:
funsigned-bitfields -fpack-struct -fshort-enums -Wall > -Wstrict-prototypes -Wa,-adhlns=AVRTel21 -std=c89 -Wundef -MMD -MP -MF > .dep/AVRTel21.elf.d AVRTel21 --output AVRTel21.elf > -Wl,-Map=AVRTel21.map,--cref -lm Wegen dem fehlenden MCU kommt diese Warnung: > In file included from AVRTel21.
-
Thread
µC-Relaissteuerung, Fehlersuche: Wie gehe ich vor?
Schaltung entfernt, über ein zweipoliges, ungeschirmtes Lautsprecherkabel verbunden, die Treiberstufe (BSS84, P-Kanal FET, mit Pull-Up an Gate) befindet sich auf der Schaltung (nicht beim Relais), am FET befindet sich eine Schutzdiode 1N4148 und am Relais selbst ist eine 1N400x (zwei Dioden deswegen, weil
Ach, wieder mal die wichtigen Sachen vergessen, sorry :) Ein AT89C51ED2, 8052-Kern. So, und jetzt gute Nacht. Ralf
-
Thread
Alternative BC327 und 337
denen kann man so ziemlich alles in dieser Anwendungsklasse machen. Gilt auch für 2N7000 MOSFET. BSS138 ist gut für Logic-Level Anwendungen. Gerhard
Hoffentlich gibt es die bastlerfreundlichen SOT23 und SOT89 noch eine Weile, und wenn nicht, dann wird man sich wohl anpassen müssen.
-
Thread
[Anfänger-Probleme] Wie assembliere ich Assemblercode bei WinAVR?
, enclose it in quotes. EXTRAINCDIRS = # Compiler flag to set the C Standard level. # c89 = "ANSI" C # gnu89 = c89 plus GCC extensions # c99 = ISO C99 standard (not yet fully implemented) # gnu99 = c99 plus GCC extensions CSTANDARD = -std=gnu99 # Place -D or -U options
COFFCONVERT += --change-section-address .data-0x800000 COFFCONVERT += --change-section-address .bss-0x800000 COFFCONVERT += --change-section-address .noinit-0x800000 COFFCONVERT += --change-section-address .eeprom-0x810000 coff: $(TARGET).elf @echo @echo $(MSG_COFF) $(TARGET).cof
-
Thread
AVR, xtern. SRAM initialisierung, xmem, makefile, .init funktionen
das laeuft soweit. meldung des compilers: [code] Data: 165 bytes (16.1% Full) (.data + .bss + .noinit) [/code] hier die variable aus einer header datei [c] #define DAT_BUFFER_SIZE 128 volatile unsigned char dat_buffer[DAT_BUFFER_SIZE]; [/c] Wenn ich nun aber DAT_BUFFER_SIZE soweit
legt .data und .bss auch noch ins externe RAM Schau mal, hier ist ne ganze Doktorarbeit übers Thema http://www.mikrocontroller.net/topic/47896#new Hat mir sehr geholfen, außerdem im AVR-libc-Manual das Kapitel
-
Thread
ELF File Offset für Sektionen
CONTENTS, READONLY, DEBUGGING 15 .debug_info 00035c10 00000000 00000000 0001e89f 2**0 CONTENTS, READONLY, DEBUGGING 16 .debug_abbrev 000079e7 00000000 00000000 000544af 2**0 CONTENTS, READONLY, DEBUGGING 17 .debug_line 0001dd3c 00000000
00000028 00000630 00 WA 00 000 3 .data [ 11] NOBITS 00000658 00001048 00 WA 00 000 3 .bss [ 12] NOBITS 000016a0 0000d960 00 WA 00 000 1 .heap [ 13] PROGBITS 00000000 00000030 01 00 000 1 .comment [ 14] PROGBITS 00000000 00001a08 00 00 000
-
Thread
bare metal m68k-elf.gcc.
exeptions. Copyright Motorola Inc. 1989 All Rights Reserved Fbug68 Monitor/Debugger Version 1.1 - 9/28/89 MOTOROLA> rd im ersten case in printreg() PC =$Address Error "im ersten case und in printreg()) sind debugging printfs von mir, der Adress Error ist das Problem, normalerweise sollte der
Platte. Deshalb bin ich auf einigeUnterscheide bei der Übersetzung gestoßen: Hier Datenbereiche im .bss segment: alt: COMMON 0x001fe000 0xa64 coldport.o 0x001fe000 sizechar 0x001fe004 condition 0x001fe010
-
Thread
Ram-Mangel ?
es so, dass keine globalen uninizalisierten Variablen verwendet werden dürfen da es bei TIOS kein BSS Segment gibt (was ich mir bei AVR auch nicht vorstellen kann). Kannst du deinen Code einmal mitschicken? niki
Ja, aber nur für die 68k Reihe, d.h. TI92+, TI92, TI92 II, TI89 Weiteres auf http://tigcc.ticalc.org niki
-
Thread
kann ni cht mit winavr kompilieren
, enclose it in quotes. EXTRAINCDIRS = # Compiler flag to set the C Standard level. # c89 = "ANSI" C # gnu89 = c89 plus GCC extensions # c99 = ISO C99 standard (not yet fully implemented) # gnu99 = c99 plus GCC extensions CSTANDARD = -std=gnu99 # Place -D or -U options
COFFCONVERT += --change-section-address .data-0x800000 COFFCONVERT += --change-section-address .bss-0x800000 COFFCONVERT += --change-section-address .noinit-0x800000 COFFCONVERT += --change-section-address .eeprom-0x810000 coff: $(TARGET).elf @echo @echo $(MSG_COFF) $(TARGET).cof
-
Thread
TIPP: Atxmega DFU-Bootloader auf eigenen "Boot-Pin" verbiegen (direkt im Hex-File)
dein Compiler nur max. 4k Code erzeugen kann, was vestehst du dann an der Meldung >Fatal Error[e89]: Too much object code produced (more than 0x1000 bytes) nicht? 0x1000 = 4096 Byte. MfG Spess
avr-size ../binaries/atxmega32a4u_104.hex ../binaries/atxmega128a4u_104.hex text data bss dec hex filename 0 3944 0 3944 f68 ../binaries/atxmega32a4u_104.hex 0 5588 0 5588 15d4 ../binaries/atxmega128a4u_104.hex [/code]
-
Thread
NXP verschenkt ARM-Chips
interrupts */ ldr r1, =VICSOFTINTCLR mov r2, #0xFFFFFFFF str r2, [r1] /* zero-out the bss */ ldr r3, =__bss_start__ ldr r4, =__bss_end__ bl zeromemory /* copy initialized data from ROM to RAM */ ldr r3, =__data_load_start__ ldr r4, =__data_start__ ldr r5, =__data_end
R0, [R1], #4 STRLO R0, [R2], #4 BLO LoopRel # Clear .bss section (Zero init) MOV R0, #0 LDR R1, =_bss_start LDR R2, =_bss_end LoopZI: CMP R1, R2 STRLO R0, [R1],
-
Thread
C und Assembler
seperated by a space. EXTRAINCDIRS = # Compiler flag to set the C Standard level. CSTANDARD_C89 = c89 CSTANDARD_GNU89 = gnu89 CSTANDARD_C99 = c99 CSTANDARD_GNU99 = gnu99 CSTANDARD = -std=$(CSTANDARD_GNU99) # Compiler flags. # -g: generate debugging information # -O*:
Programms aus. Du mußt testen, ob der Stackpointer auf einen gültigen Wert zeigt, d.h. zwischen "__bss_end" und "__stack". Und dann noch, ob im Stack eine genügend große Reserve nicht unterschritten wurde (Stack mit Muster füllen und prüfen, wieviel Bytes mit dem Muster noch übrig sind). Dieser Test