tinyriscv-openocd/src
David Brownell 3f18900b19 NOR FLASH: only erase/unlock whole sectors
Much to my surprise, I observed a "flash erase_address ..."
command erasing data which I said should not be erased.

The issue turns out to be generic NOR flash code which was
silently, and rather dangerously, morphing partial-sector
references into unrequested whole-sector ones.

This patch removes that low-level morphing.  If desired, it
can and should be done in higher level code.  (We might need
to fix some stuff in the GDB server code.)

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-12-18 10:16:52 -08:00
..
flash NOR FLASH: only erase/unlock whole sectors 2009-12-18 10:16:52 -08:00
helper ecos: crisper implementation of timeval_ms() 2009-12-16 08:15:05 +01:00
jtag JTAG: shrink "scan_chain" output 2009-12-16 14:19:44 -08:00
pld build: add build/src to include path 2009-12-08 10:16:10 +01:00
server server: server loop will exhaust data inputs before sleeping 2009-12-16 08:09:35 +01:00
svf build: add build/src to include path 2009-12-08 10:16:10 +01:00
target XScale: better {read,write}_phys() 2009-12-18 09:53:59 -08:00
xsvf build: add build/src to include path 2009-12-08 10:16:10 +01:00
Makefile.am build: add build/src to include path 2009-12-08 10:16:10 +01:00
ecosboard.c zy1000: removed some redundant include 2009-12-16 14:52:22 +01:00
hello.c change #include "log.h" to <helper/log.h> 2009-12-03 04:22:52 -08:00
hello.h improve command handling examples 2009-11-25 10:29:05 -08:00
main.c add openocd.h for top-level declarations 2009-11-14 07:29:16 -08:00
openocd.c server: add server_preinit which is called before config file is parsed. 2009-12-11 10:26:15 +00:00
openocd.h remove #if logic for openocd_sleep_*lude 2009-12-02 13:26:26 -08:00