реклама на сайте
подробности

 
 
 
Reply to this topicStart new topic
> Flash timeout error
Shaienn
сообщение Mar 1 2010, 11:54
Сообщение #1


Частый гость
**

Группа: Участник
Сообщений: 103
Регистрация: 21-06-09
Пользователь №: 50 494



Здравствуйте. Такой вопрос. Развел плату под AT91SAM7S64. Кварц 16 Мгц. При попытке запрограммировать короткие программы (сейчас не скажу точно объем, но ~1к) проблем нет, но при попытке запрограммировать 4к программу вылазит flash timeout error.

Причем стал вылазить достаточно неожиданно, после нескольких раз удачной прошивки. Почитал ERRATA на 64S, там написано, что:
Цитата
40.5.2 Master Clock (MCK)
40.5.2.1 MCK: Limited Master Clock Frequency Ranges
If the Flash is operating without wait states, the frequency of the Master Clock MCK must be
lower than 3 MHz or higher than 19 MHz.
If the Flash is operating with one wait state, the frequency of the Master Clock MCK must be
lower than 3 MHz or higher than 19 MHz.
If the Flash is operating with two wait states, the frequency of the Master Clock MCK must be
lower than 3 MHz or higher than 25 MHz.
If the Flash is operating with three wait states, the frequency of the Master Clock MCK must be
lower than 3 MHz or higher than 38 MHz.
If these constraints are not respected, the correct operation of the system cannot be guaranteed
and either data or prefetch abort might occur.
The maximum operating frequencies (at 30 MHz @ 0 Wait States and 55 MHz @ 1 Wait State)
as stated in Table 37-23, “Embedded Flash Wait States,” on page 504, are still applicable.
Note: It is not necessary to use 2 o 3 wait states because the Flash can operate at maximum frequency
with only 1 wait state.
Problem Fix/Workaround
The user must ensure that the device is running at the authorized frequency by programming the
PLL properly to not run within the forbidden frequency range.


Запись через ULINK - это операция с флешем. Может быть проблемой мой кварц на 16?
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 чел. читают эту тему (гостей: 1, скрытых пользователей: 0)
Пользователей: 0

 


RSS Текстовая версия Сейчас: 20th July 2025 - 16:53
Рейтинг@Mail.ru


Страница сгенерированна за 0.01329 секунд с 7
ELECTRONIX ©2004-2016