Im Handbuch [1] von ATtiny87 / ATtiny167 steht: > 1.1 Comparison between Atmel ATtiny87 and ATtiny167 > Atmel ATtiny87 and ATtiny167 are hardware and software compatible. > They differ only in memory sizes as shown in Table 1-1. > > Table 1-1 > Device Flash ... Interrupt Vector size > ATtiny167 16Kbytes ... 2-instruction-words/vector > ATtiny87 8Kbytes ... 2-instruction-words/vector Ist das ein Bug im Datenblatt? avr-gcc hat ATtiny87 in Multilib-Set avr25 (up to 8KiB of program memory) und ATtiny167 in avr35 (16KiB up to 64 KiB of program memory), und entsprechend hat Startup-Code für ATtiny87 1-Word Einträge in der Vectab und 2-Word Einträge für ATtiny167. Die Devices sind ja schon recht gut abgehangen und über 10 Jahre alt, und ich denke nen Bug in avr-gcc wäre längst aufgefallen... Kann jemand mit ATtiny87 Hardware bestätigen, dass Vectab-Einträge tatsächlich nur 1 Word groß sind? [1] https://ww1.microchip.com/downloads/en/DeviceDoc/Atmel-7728-Automotive-Microcontrollers-ATtiny87-ATtiny167_Datasheet.pdf#page=3
C-hater schrieb: > Johann L. schrieb: > >> Ist das ein Bug im Datenblatt? > > Ja. Kann man übrigens allein schon per Kreuzreferenz in genau diesem einen Datenblatt ermitteln.
Johann L. schrieb: > https://ww1.microchip.com/downloads/en/DeviceDoc/Atmel-7728-Automotive-Microcontrollers-ATtiny87-ATtiny167_Datasheet.pdf#page=3 Bei der nicht-Automotive-Version ist es auch immer noch falsch, obwohl die wenigstens schon mal aktualisiert wurde, seit Atmel zu Microchip gehört. https://ww1.microchip.com/downloads/aemDocuments/documents/MCU08/ProductDocuments/DataSheets/ATtiny87-167-DataSheet-DS40002167A.pdf#page=9
Rolf M. schrieb: > Bei der nicht-Automotive-Version ist es auch immer noch falsch, obwohl > die wenigstens schon mal aktualisiert wurde, seit Atmel zu Microchip > gehört. Die selben Fehler, aber miese Typographie.
Bitte melde dich an um einen Beitrag zu schreiben. Anmeldung ist kostenlos und dauert nur eine Minute.
Bestehender Account
Schon ein Account bei Google/GoogleMail? Keine Anmeldung erforderlich!
Mit Google-Account einloggen
Mit Google-Account einloggen
Noch kein Account? Hier anmelden.