Página 1 de 1

Escrever na Flash - Guardar informacoes nao volateis

MensagemEnviado: 12 Dez 2006 21:32
por microeletronica
Senhores,

Como faco pra escrever na memoria Flash do LPC2138?
Seguinte: Preciso escrever na memoria dele, uns valores que tenho que recuperar quando reinicioi..

Deixa eu descrever minha experiencia:
Com PIC, 2051, ATmega128 utilizava EEPROM;
Com MSP430, escrevia em um bloco de flash, que reservava pra mim.
Mas no MSP tinha que ler todo o bloco, com um **** esforco, paciencia e espaco de ram... Dai alterava e escrevia novamente neste espaco.

E no LPC?

Gostaria que enviassem links de datasheets e app notes, apontanmdo onde tenho que ler pra achar sobre isso.
Preciso disso e sei que o pessoal aqui da lista ja fez .

Muito obrigado pelas discussoes sobre ARM.
Os caras aqui desta lista sao feras :)

MensagemEnviado: 12 Dez 2006 21:52
por jeanfernandes
Chefe tem um application note da NXP que faz de um trecho da Flash como eeprom. da uma zoiada.....

Xau.

MensagemEnviado: 13 Dez 2006 20:12
por microeletronica
yes, isso que preciso.
Tem o link?


Obrigado.

MensagemEnviado: 13 Dez 2006 21:22
por microeletronica
Eu mesmo achei.


Achei em http://www.embeddedrelated.com/groups/l ... /10768.php

3. Update data in RAM and in on-chip flash on a fly. As far as I
understand, there is no byte-write provision for flash in lpc, so I
will need to save a page - 256 bytes. The question here is, of
coarse, time to store a page, and, second - flash endurance. How many
times can I write to the flash (I couldn't find information on that)?


Reply:

Page 6 of the LPC214x user manual:
" The LPC2141/2/4/6/8 Flash memory provides minimum of 100,000 erase/write
cycles and 20 years of data-retention."

This is a demo posted by Phillips apps that you might be interested in:
http://groups.yahoo.com/group/lpc2000/files/EE_demo.zip Joel

O lk saiu do ar:
Esse é o quente:

http://f1.grp.yahoofs.com/v1/AJSARe2TTlAUGKSqO-xWBU64usPZtI2uBliuuC8RuVjLnzHA_bNCX4KkDcAPsC3bFAk3VrnYl3rDVujcnxj97dbqTzpo_2k/EE_demo_1_1.zip


Another reply:

Demo is basically sound but has a few glaring bugs that mean the code in
the zip won't actually work properly !
I'll send an update to phillips_apps today (a working version), but
unfortunately it has also been modified to suit my application, so a bit
of a merge will be necessary rather than a replacement.
[/url]

MensagemEnviado: 13 Dez 2006 21:23
por microeletronica
nao achei pdf da philips sobre isso...
Por favor, postem...

Escrever na Flash - Guardar informacoes nao volateis

MensagemEnviado: 20 Dez 2006 14:17
por owerdrive
teste