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

 
 
> Аппаратная коррекция ошибок FSMC, stm32f2xx
oman
сообщение Nov 21 2011, 12:13
Сообщение #1





Группа: Участник
Сообщений: 11
Регистрация: 27-02-07
Пользователь №: 25 714



У stm32f2xx есть встроенный модуль коррекции ошибок для nand'а. Про него написано, что он определяет двойную ошибку и корректирует одинарную.
Кто-нибудь может подсказать как скорректировать одинарную ошибку. Или это все таки автоматически происходит?
Go to the top of the page
 
+Quote Post
 
Start new topic
Ответов
scifi
сообщение Nov 22 2011, 08:29
Сообщение #2


Гуру
******

Группа: Свой
Сообщений: 3 020
Регистрация: 7-02-07
Пользователь №: 25 136



Цитата(oman @ Nov 21 2011, 16:13) *
Кто-нибудь может подсказать как скорректировать одинарную ошибку.

Руководство на МК может подсказать. Почитайте, там много интересного написано.
Цитата
...These registers contain the current error correction code value computed by the ECC
computation modules of the FSMC controller (one module per NAND Flash memory bank).
When the CPU reads the data from a NAND Flash memory page at the correct address
(refer to Section 31.6.6: Error correction code computation ECC (NAND Flash)), the data
read from or written to the NAND Flash are processed automatically by ECC computation
module. At the end of X bytes read (according to the ECCPS field in the FSMC_PCRx
registers), the CPU must read the computed ECC value from the FSMC_ECCx registers,
and then verify whether these computed parity data are the same as the parity value
recorded in the spare area, to determine whether a page is valid, and, to correct it if
applicable...
Go to the top of the page
 
+Quote Post



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

 


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


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