Errata
The errata list is a list of errors and their corrections that were found after the product was released.
The following errata were submitted by our customers and have not yet been approved or disproved by the author or editor. They solely represent the opinion of the customer.
Color Key: Serious technical mistake Minor technical mistake Language or formatting error Typo Question Note Update
Version | Location | Description | Submitted by | Date submitted |
---|---|---|---|---|
Page XV 2nd paragraph |
wrong: ...25LC256 32k SPI EEPROM chip. |
Dr. Thomas Patzelt | Jul 17, 2015 | |
Printed | Page Pages 79, 80 Figure 5-2 and Figure 5-3 |
The scope trace in figure 5-2 decodes to two bytes, 1001 0000 and 0101 000 that is 9 5 in decimal. The figure is incorrectly labeled "Sending 9 and 10 in Serial" as is Figure 5-3. The table in 5-3, however, is correct. The author must have entered incorrect data into the USART data buffer when generating the scope picture. So, if the scope picture was corrected the text, including on page second paragraph on page 79, would be otherwise correct. |
David Comer | Sep 23, 2017 |
ePub | Chapter 5 Serial I/O | When using Atmel Studio 4 getting build errors from the usart.h and usart.c header files:- |
Anonymous | Dec 14, 2017 |
Printed | Page 5 5 |
in the last line in the paragraph "I'm just hear to show you how.)" hear should be here. |
Anonymous | Mar 08, 2017 |
Printed, PDF | Page 17 3rd paragraph of the box "Programming the AVR - What's really going on?" |
In "verify again that its correct", "its" should be "it's". |
Julio Tanomaru | Jun 16, 2017 |
Printed | Page 17 Programming the AVR box, 3rd paragraph |
Replace "that its correct" with "that it's correct". |
Júlio Tanomaru | Mar 03, 2019 |
Printed | Page 19 5th paragraph (blue letters) |
wrong: ...something like C:\Program Files\avr-8-gnu-toolchain\bin |
Dr. Thomas Patzelt | Jul 17, 2015 |
Printed, PDF | Page 24 3rd paragraph |
In the text "... by simply by importing the library", "by" should appear only once. |
Dr. Júlio Tanomaru | Jun 17, 2017 |
Printed | Page 26 1st paragraph, 2nd point |
wrong: See "portpins.h and the Arduino IDE" on page 26. |
Dr. Thomas Patzelt | Jul 17, 2015 |
Printed | Page 26 2nd |
See "portpins.h... " on page 27 rather than 26 |
Remuar | Oct 18, 2015 |
Printed | Page 27 In the section: Wiring your Arduino as a flash programmer |
The configuration doesn't work for the Arduino UNO beacuse somehow the |
Anonymous | Jan 12, 2016 |
Printed | Page 30 6th paragraph |
Atmel AVRISP mkII ... |
Dr. Thomas Patzelt | Aug 06, 2015 |
Printed | Page 30 6th paragraph |
Under the paragraph heading "Flash Programmers I Have Known and Loved," the Atmel AVRISP mkII recommended as the "current official USB programmer" is obsolete as of the end of 2015. No direct replacement is advertised on the Atmel site. |
Peter Middleton | Feb 01, 2016 |
Page 36 ARVDude Options, -U item |
Missed the word "is" after "This". |
Dr. Júlio Tanomaru | Jun 24, 2017 | |
Page 36 Second paragraph of the "AVRDUDE errors" section |
"an an error" should be "an error". |
Dr. Júlio Tanomaru | Jun 24, 2017 | |
Printed | Page 39 4th to 6th topic: MAIN, LOCAL_SOURCE, EXTRA_SOURCE and EXTRA_SOURCE_FILES |
In the ZIP file from github/hexagon5un/AVR-Programming the makefile in the folder Chapter02_Programming-AVRs/blinkLED/ does not contain the word MAIN. I suppose in the file is written TARGET. |
Henning Plumeyer | Mar 26, 2015 |
Printed | Page 48 Paragraph beginning with "When you..." |
The explanation is conceptually wrong, because it mixes things that the compiler does (at compiling time) with things the CPU does (at runtime). We could write something like this: |
Júlio Tanomaru | Mar 08, 2019 |
Printed | Page 54 1st paragraph |
wrong: ... AVR pins ... PD0 ... PD1 ... PD5 ... PD6 ... PD7... |
Dr. Thomas Patzelt | Jul 17, 2015 |
Page 55 Last paragraph |
"main() functions" should be "main() function". |
Dr. Júlio Tanomaru | Jun 25, 2017 | |
Page 56 End of third paragraph |
"in it's definition" should be "in its definition". |
Dr. Júlio Tanomaru | Jun 25, 2017 | |
Printed | Page 80 1st full paragraph |
It would be worth drawing a schematic of the Alice/Bob serial communication situation. Granted, I usually have to look up pull-up resistors and pull-down resistors to make sure I get it right, however, this situation is still a little ambiguous. |
Anonymous | May 12, 2016 |
Printed | Page 147 1st paragraph |
In first line of 1st paragraph: 'and then AND in your desired channel number' |
Darrel Dronet | Jun 10, 2021 |
Printed | Page 155 External Interrupts 101: Real-time Button Pressing Examples |
While the example is nice to explain reacting on events in real-time using interrupts, I think it should be pointed out to beginners like me that a button should normally not be connected to an interrupt as Jack Ganssle writes in his "Guide to Debouncing". |
Torsten Römer | May 03, 2015 |
Page 168 Around Example 8-2 |
Hello, |
Jean-Francois Leblanc-Richard | Sep 12, 2015 | |
Printed | Page 169 Fritzing image of breadboard |
The breadboard does not show AVcc connected...without it connected to power, the pins on Port C will not work. |
Anonymous | Dec 14, 2016 |
Printed | Page 185 Table 9-1 |
Clock tick time for 1 MHz CPU with 256 Prescale should be 0.256 milliseconds (my copy has 2.56 milliseconds). |
Darrel Dronet | Jun 12, 2021 |
Page 190 2nd Paragraph |
The paragraph contains a link saying “Burning Fuses: Enabling the High-Speed CPU Clock” which points to page 190. The “Burning Fuses: Enabling the High-Speed CPU Clock” topic is found on page 191. |
Jan Ray | Jun 14, 2015 | |
Printed | Page 192 3rd paragraph |
Change DIV8 to CLKDIV8. |
Júlio Tanomaru | Mar 08, 2019 |
Printed | Page 201 Last paragraph |
The PWM frequency for 8 MHz CPU clock and 8-bit audio mentioned is 32.5 kHz, while I think it should be 8 MHz / 2^8 = 31.25 kHz. |
Torsten Römer | Apr 10, 2015 |
Printed | Page 231 Code section at top of page |
I'd feel better if: |
Darrel Dronet | Jun 14, 2021 |
PDF, ePub | Page 249 In the comments of the example 12-1 code listing |
Where it says "Measure either AVCC of the voltage on AREF" I think it should read "Measure either AVCC or the voltage on AREF". |
Thomas Weisbach | Mar 20, 2015 |
Printed | Page 263 code lowValue condition |
Current logic the highValue is adjusted when the adcValue is strictly greater than ewma middle value and similarly, the lowValue is adjusted when the adcValue is strictly less than ewma middle value. |
Bruce W. Lowther | Nov 19, 2016 |
Printed | Page 292 Sidebar "Selecting the Base Resistor" 2nd paragraph 3rd sentence |
please change |
Henning Plumeyer | Mar 26, 2015 |
Printed | Page 293 Sidebar: "Double Up for Double Current", last line last paragraph. |
Change batter: |
Darrel Dronet | Jun 16, 2021 |
Page 343 4th paragraph in highlighted box |
Search for "wiring up the output of the eigth bit of the first reg- |
MrFabulous | Jun 14, 2016 | |
Printed | Page 344 7th paragraph, (EEPROM) 2nd line |
Change 'it': |
Darrel Dronet | Jun 23, 2021 |
Printed | Page 352 25LC256 example |
A mention of the write protection modes on the 25LC256 may be warranted. The chips I used came with BP0 and BP1 set by default, hence all write operations fail silently and the example did not work on the new chips without first doing a Write Status Register Instruction transfer and pushing both bits low. As these bits are non-volatile this need only be done once, however it may save hours of troubleshooting for new users not familiar with the chip. |
Michael E | Dec 22, 2014 |
Printed | Page 367 In the sample code 17.2, the first comment. |
The comment in the code says "see p. 242", but 242 is a blank page. |
Ken Johansen | Dec 12, 2015 |
Printed | Page 369 in main() |
The i2CThermometer.c program displayed garbled output in the serial screen. Changing the serial port speeds made no difference. Although I was able to read the lm75 data in a Logic Analyser, while running the program. |
rod | Aug 24, 2015 |
Printed | Page 369 i2c thermometer demo |
The garbled output is fixed by using avrdude to set the full-speed clock. ie lfuse=E2 |
rod | Sep 08, 2015 |
Printed | Page 370 void initI2C |
set bit rate calculation 8Mhz / (16+2*TWBR*1) doesn't give 100kHz but 13.9Hz |
Pierre Maurer | Feb 19, 2021 |
Other Digital Version | 448 voltmeter.c program |
I think there are two problems with the voltmeter program: |
Jan Hrabe | Jan 09, 2017 |