This is the mail archive of the
ecos-patches@sourceware.org
mailing list for the eCos project.
[Bug 1001561] Internal flash driver for Freescale TWR-K60N512 board
- From: bugzilla-daemon at bugs dot ecos dot sourceware dot org
- To: ecos-patches at ecos dot sourceware dot org
- Date: Wed, 11 Jul 2012 12:42:14 +0100
- Subject: [Bug 1001561] Internal flash driver for Freescale TWR-K60N512 board
- Auto-submitted: auto-generated
- References: <bug-1001561-104@http.bugs.ecos.sourceware.org/>
Please do not reply to this email. Use the web interface provided at:
http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001561
--- Comment #35 from Ilija Kocho <ilijak@siva.com.mk> 2012-07-11 12:42:07 BST ---
(In reply to comment #33)
>
> - In response to Ilija's comments, for his point (2) I don't think there's
> anything that can sensibly be done. All flash drivers run the risk of messing
> things up so you can't boot the board.
On Kinetis writing the flash configuration record can be really devastating. It
is possible to lock the flash permanently. I think we can add a CDL option so
the user will have to explicitly enable writing to this record (either always,
or in case if the bit-string is "dangerous").
> And for his point (3), I agree it would
> be better to make it more like the STM32 driver, and work things out from the
> part. Although I disagree with Ilija and wouldn't say to check it against the
> hardware (unless CYGPKG_INFRA_DEBUG is defined maybe).
It could also be a user option.
Ilija
--
Configure bugmail: http://bugs.ecos.sourceware.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.