ATmega128 (961723), страница 68

Файл №961723 ATmega128 (Скамко) 68 страницаATmega128 (961723) страница 682013-09-29СтудИзба
Просмтор этого файла доступен только зарегистрированным пользователям. Но у нас супер быстрая регистрация: достаточно только электронной почты!

Текст из файла (страница 68)

1, VMMD.9.00 BSC5.20EE2NOTE5.405.609.00 BSC5.20e5.405.600.50 BSCL0.350.400.45K0.20––8/19/04R3722325 Orchard ParkwaySan Jose, CA 95131TITLE64M1, 64-pad, 9 x 9 x 1.0 mm Body, Lead Pitch 0.50 mm,5.40 mm Exposed Pad, Micro Lead Frame Package (MLF)DRAWING NO.64M1REV.DATmega1282467M–AVR–11/04ATmega128ErrataThe revision letter in this section refers to the revision of the ATmega128 device.ATmega128 Rev. I• Stabilizing time needed when changing XDIV Register• Stabilizing time needed when changing OSCCAL Register1. Stabilizing time needed when changing XDIV RegisterAfter increasing the source clock frequency more than 2% with settings in the XDIVregister, the device may execute some of the subsequent instructions incorrectly.Problem Fix / WorkaroundThe NOP instruction will always be executed correctly also right after a frequencychange.

Thus, the next 8 instructions after the change should be NOP instructions.To ensure this, follow this procedure:1.Clear the I bit in the SREG Register.2.Set the new pre-scaling factor in XDIV register.3.Execute 8 NOP instructions4.Set the I bit in SREGThis will ensure that all subsequent instructions will execute correctly.Assembly Code Example:CLIOUT; clear global interrupt enableXDIV, temp; set new prescale valueNOP; no operationNOP; no operationNOP; no operationNOP; no operationNOP; no operationNOP; no operationNOP; no operationNOP; no operationSEI; clear global interrupt enable2. Stabilizing time needed when changing OSCCAL RegisterAfter increasing the source clock frequency more than 2% with settings in the OSCCAL register, the device may execute some of the subsequent instructionsincorrectly.Problem Fix / WorkaroundThe behavior follows errata number 1., and the same Fix / Workaround is applicableon this errata.A proposal for solving problems regarding the JTAG instruction IDCODE is presentedbelow.IDCODE masks data from TDI inputThe public but optional JTAG instruction IDCODE is not implemented correctlyaccording to IEEE1149.1; a logic one is scanned into the shift register instead of theTDI input while shifting the Device ID Register.

Hence, captured data from the preceding devices in the boundary scan chain are lost and replaced by all-ones, anddata to succeeding devices are replaced by all-ones during Update-DR.If ATmega128 is the only device in the scan chain, the problem is not visible.3732467M–AVR–11/04Problem Fix / WorkaroundSelect the Device ID Register of the ATmega128 (Either by issuing the IDCODEinstruction or by entering the Test-Logic-Reset state of the TAP controller) to readout the contents of its Device ID Register and possibly data from succeedingdevices of the scan chain. Note that data to succeeding devices cannot be enteredduring this scan, but data to preceding devices can. Issue the BYPASS instructionto the ATmega128 to select its Bypass Register while reading the Device ID Registers of preceding devices of the boundary scan chain.

Never read data fromsucceeding devices in the boundary scan chain or upload data to the succeedingdevices while the Device ID Register is selected for the ATmega128. Note that theIDCODE instruction is the default instruction selected by the Test-Logic-Reset stateof the TAP-controller.Alternative Problem Fix / WorkaroundIf the Device IDs of all devices in the boundary scan chain must be captured simultaneously (for instance if blind interrogation is used), the boundary scan chain canbe connected in such way that the ATmega128 is the fist device in the chain.Update-DR will still not work for the succeeding devices in the boundary scan chainas long as IDCODE is present in the JTAG Instruction Register, but the Device IDregistered cannot be uploaded in any case.ATmega128 Rev. H• Stabilizing time needed when changing XDIV Register• Stabilizing time needed when changing OSCCAL Register1.

Stabilizing time needed when changing XDIV RegisterAfter increasing the source clock frequency more than 2% with settings in the XDIVregister, the device may execute some of the subsequent instructions incorrectly.Problem Fix / WorkaroundThe NOP instruction will always be executed correctly also right after a frequencychange. Thus, the next 8 instructions after the change should be NOP instructions.To ensure this, follow this procedure:1.Clear the I bit in the SREG Register.2.Set the new pre-scaling factor in XDIV register.3.Execute 8 NOP instructions4.Set the I bit in SREGThis will ensure that all subsequent instructions will execute correctly.Assembly Code Example:CLIOUT374; clear global interrupt enableXDIV, temp; set new prescale valueNOP; no operationNOP; no operationNOP; no operationNOP; no operationNOP; no operationNOP; no operationNOP; no operationNOP; no operationSEI; clear global interrupt enableATmega1282467M–AVR–11/04ATmega1282.

Stabilizing time needed when changing OSCCAL RegisterAfter increasing the source clock frequency more than 2% with settings in the OSCCAL register, the device may execute some of the subsequent instructionsincorrectly.Problem Fix / WorkaroundThe behavior follows errata number 1., and the same Fix / Workaround is applicableon this errata.A proposal for solving problems regarding the JTAG instruction IDCODE is presentedbelow.IDCODE masks data from TDI inputThe public but optional JTAG instruction IDCODE is not implemented correctlyaccording to IEEE1149.1; a logic one is scanned into the shift register instead of theTDI input while shifting the Device ID Register. Hence, captured data from the preceding devices in the boundary scan chain are lost and replaced by all-ones, anddata to succeeding devices are replaced by all-ones during Update-DR.If ATmega128 is the only device in the scan chain, the problem is not visible.Problem Fix / WorkaroundSelect the Device ID Register of the ATmega128 (Either by issuing the IDCODEinstruction or by entering the Test-Logic-Reset state of the TAP controller) to readout the contents of its Device ID Register and possibly data from succeedingdevices of the scan chain.

Note that data to succeeding devices cannot be enteredduring this scan, but data to preceding devices can. Issue the BYPASS instructionto the ATmega128 to select its Bypass Register while reading the Device ID Registers of preceding devices of the boundary scan chain. Never read data fromsucceeding devices in the boundary scan chain or upload data to the succeedingdevices while the Device ID Register is selected for the ATmega128. Note that theIDCODE instruction is the default instruction selected by the Test-Logic-Reset stateof the TAP-controller.Alternative Problem Fix / WorkaroundIf the Device IDs of all devices in the boundary scan chain must be captured simultaneously (for instance if blind interrogation is used), the boundary scan chain canbe connected in such way that the ATmega128 is the fist device in the chain.Update-DR will still not work for the succeeding devices in the boundary scan chainas long as IDCODE is present in the JTAG Instruction Register, but the Device IDregistered cannot be uploaded in any case.ATmega128 Rev.

G• Stabilizing time needed when changing XDIV Register• Stabilizing time needed when changing OSCCAL Register1. Stabilizing time needed when changing XDIV RegisterAfter increasing the source clock frequency more than 2% with settings in the XDIVregister, the device may execute some of the subsequent instructions incorrectly.Problem Fix / WorkaroundThe NOP instruction will always be executed correctly also right after a frequencychange. Thus, the next 8 instructions after the change should be NOP instructions.To ensure this, follow this procedure:1.Clear the I bit in the SREG Register.2.Set the new pre-scaling factor in XDIV register.3752467M–AVR–11/043.Execute 8 NOP instructions4.Set the I bit in SREGThis will ensure that all subsequent instructions will execute correctly.Assembly Code Example:CLIOUT; clear global interrupt enableXDIV, temp; set new prescale valueNOP; no operationNOP; no operationNOP; no operationNOP; no operationNOP; no operationNOP; no operationNOP; no operationNOP; no operationSEI; clear global interrupt enable2.

Stabilizing time needed when changing OSCCAL RegisterAfter increasing the source clock frequency more than 2% with settings in the OSCCAL register, the device may execute some of the subsequent instructionsincorrectly.Problem Fix / WorkaroundThe behavior follows errata number 1., and the same Fix / Workaround is applicableon this errata.A proposal for solving problems regarding the JTAG instruction IDCODE is presentedbelow.IDCODE masks data from TDI inputThe public but optional JTAG instruction IDCODE is not implemented correctlyaccording to IEEE1149.1; a logic one is scanned into the shift register instead of theTDI input while shifting the Device ID Register.

Hence, captured data from the preceding devices in the boundary scan chain are lost and replaced by all-ones, anddata to succeeding devices are replaced by all-ones during Update-DR.If ATmega128 is the only device in the scan chain, the problem is not visible.Problem Fix / WorkaroundSelect the Device ID Register of the ATmega128 (Either by issuing the IDCODEinstruction or by entering the Test-Logic-Reset state of the TAP controller) to readout the contents of its Device ID Register and possibly data from succeedingdevices of the scan chain.

Note that data to succeeding devices cannot be enteredduring this scan, but data to preceding devices can. Issue the BYPASS instructionto the ATmega128 to select its Bypass Register while reading the Device ID Registers of preceding devices of the boundary scan chain. Never read data fromsucceeding devices in the boundary scan chain or upload data to the succeedingdevices while the Device ID Register is selected for the ATmega128. Note that theIDCODE instruction is the default instruction selected by the Test-Logic-Reset stateof the TAP-controller.Alternative Problem Fix / WorkaroundIf the Device IDs of all devices in the boundary scan chain must be captured simultaneously (for instance if blind interrogation is used), the boundary scan chain can376ATmega1282467M–AVR–11/04ATmega128be connected in such way that the ATmega128 is the fist device in the chain.Update-DR will still not work for the succeeding devices in the boundary scan chainas long as IDCODE is present in the JTAG Instruction Register, but the Device IDregistered cannot be uploaded in any case.ATmega128 Rev.

F• Stabilizing time needed when changing XDIV Register• Stabilizing time needed when changing OSCCAL Register1. Stabilizing time needed when changing XDIV RegisterAfter increasing the source clock frequency more than 2% with settings in the XDIVregister, the device may execute some of the subsequent instructions incorrectly.Problem Fix / WorkaroundThe NOP instruction will always be executed correctly also right after a frequencychange. Thus, the next 8 instructions after the change should be NOP instructions.To ensure this, follow this procedure:1.Clear the I bit in the SREG Register.2.Set the new pre-scaling factor in XDIV register.3.Execute 8 NOP instructions4.Set the I bit in SREGThis will ensure that all subsequent instructions will execute correctly.Assembly Code Example:CLIOUT; clear global interrupt enableXDIV, temp; set new prescale valueNOP; no operationNOP; no operationNOP; no operationNOP; no operationNOP; no operationNOP; no operationNOP; no operationNOP; no operationSEI; clear global interrupt enable2.

Характеристики

Тип файла
PDF-файл
Размер
3 Mb
Материал
Тип материала
Высшее учебное заведение

Список файлов учебной работы

Свежие статьи
Популярно сейчас
Почему делать на заказ в разы дороже, чем купить готовую учебную работу на СтудИзбе? Наши учебные работы продаются каждый год, тогда как большинство заказов выполняются с нуля. Найдите подходящий учебный материал на СтудИзбе!
Ответы на популярные вопросы
Да! Наши авторы собирают и выкладывают те работы, которые сдаются в Вашем учебном заведении ежегодно и уже проверены преподавателями.
Да! У нас любой человек может выложить любую учебную работу и зарабатывать на её продажах! Но каждый учебный материал публикуется только после тщательной проверки администрацией.
Вернём деньги! А если быть более точными, то автору даётся немного времени на исправление, а если не исправит или выйдет время, то вернём деньги в полном объёме!
Да! На равне с готовыми студенческими работами у нас продаются услуги. Цены на услуги видны сразу, то есть Вам нужно только указать параметры и сразу можно оплачивать.
Отзывы студентов
Ставлю 10/10
Все нравится, очень удобный сайт, помогает в учебе. Кроме этого, можно заработать самому, выставляя готовые учебные материалы на продажу здесь. Рейтинги и отзывы на преподавателей очень помогают сориентироваться в начале нового семестра. Спасибо за такую функцию. Ставлю максимальную оценку.
Лучшая платформа для успешной сдачи сессии
Познакомился со СтудИзбой благодаря своему другу, очень нравится интерфейс, количество доступных файлов, цена, в общем, все прекрасно. Даже сам продаю какие-то свои работы.
Студизба ван лав ❤
Очень офигенный сайт для студентов. Много полезных учебных материалов. Пользуюсь студизбой с октября 2021 года. Серьёзных нареканий нет. Хотелось бы, что бы ввели подписочную модель и сделали материалы дешевле 300 рублей в рамках подписки бесплатными.
Отличный сайт
Лично меня всё устраивает - и покупка, и продажа; и цены, и возможность предпросмотра куска файла, и обилие бесплатных файлов (в подборках по авторам, читай, ВУЗам и факультетам). Есть определённые баги, но всё решаемо, да и администраторы реагируют в течение суток.
Маленький отзыв о большом помощнике!
Студизба спасает в те моменты, когда сроки горят, а работ накопилось достаточно. Довольно удобный сайт с простой навигацией и огромным количеством материалов.
Студ. Изба как крупнейший сборник работ для студентов
Тут дофига бывает всего полезного. Печально, что бывают предметы по которым даже одного бесплатного решения нет, но это скорее вопрос к студентам. В остальном всё здорово.
Спасательный островок
Если уже не успеваешь разобраться или застрял на каком-то задание поможет тебе быстро и недорого решить твою проблему.
Всё и так отлично
Всё очень удобно. Особенно круто, что есть система бонусов и можно выводить остатки денег. Очень много качественных бесплатных файлов.
Отзыв о системе "Студизба"
Отличная платформа для распространения работ, востребованных студентами. Хорошо налаженная и качественная работа сайта, огромная база заданий и аудитория.
Отличный помощник
Отличный сайт с кучей полезных файлов, позволяющий найти много методичек / учебников / отзывов о вузах и преподователях.
Отлично помогает студентам в любой момент для решения трудных и незамедлительных задач
Хотелось бы больше конкретной информации о преподавателях. А так в принципе хороший сайт, всегда им пользуюсь и ни разу не было желания прекратить. Хороший сайт для помощи студентам, удобный и приятный интерфейс. Из недостатков можно выделить только отсутствия небольшого количества файлов.
Спасибо за шикарный сайт
Великолепный сайт на котором студент за не большие деньги может найти помощь с дз, проектами курсовыми, лабораторными, а также узнать отзывы на преподавателей и бесплатно скачать пособия.
Популярные преподаватели
Добавляйте материалы
и зарабатывайте!
Продажи идут автоматически
6353
Авторов
на СтудИзбе
311
Средний доход
с одного платного файла
Обучение Подробнее