
27 Mar
2006
27 Mar
'06
9:30 a.m.
In message 442786A3.5000909@slb.com you wrote:
Since your flash is up and running the easyest is probably to erase a flash sector before starting up and then write directly to that address.
This does not work, because you cannot run any flash driver code (which will set the flash into programming mode and thus prevent reading normal data) while you are still running from flash (so you need to be able to fetch instructions and data from flash).
And it is a very bad idea anyway as each reset would reduce the filetime of your product.
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
I wish Captain Vimes were here. He wouldn't have known what to do
either, but he's got a much better vocabulary to be baffled in.
- Terry Pratchett, _Guards! Guards!_