openocd/src
Olivier Schonken e69b94295e Modified Sector Erase for AT91SAM4S
In FLASHD_ErasePages AT91C_EFC_FCMD_EPA is used to erase sectors.
According to the datasheet FARG[15:2] defines the page from which
the erase will start.This page must be modulo 4, 8, 16 or 32
according to the number of pages to erase. FARG[1:0] defines the
number of pages to be erased. Previously (firstpage << 2) was used
to conform to this, seems it should not be shifted... Changed it
to (firstPage) | erasePages.

Change-Id: I791cc7fc4faf056623ad5a6c7e860315306098a1
Signed-off-by: Olivier Schonken <olivier.schonken@gmail.com>
Reviewed-on: http://openocd.zylin.com/897
Tested-by: jenkins
Reviewed-by: Freddie Chopin <freddie.chopin@gmail.com>
2012-10-07 07:23:12 +00:00
..
flash Modified Sector Erase for AT91SAM4S 2012-10-07 07:23:12 +00:00
helper Add another scripts search path for Windows builds 2012-08-29 06:26:21 +00:00
jtag ftdi: fix adapter_init rclk fallback 2012-10-04 15:58:46 +00:00
pld build: add helper/types.h to config.h 2012-05-21 16:15:26 +00:00
rtos build: fix memory leaks 2012-08-24 16:49:56 +00:00
server server: warn if user changes server port after init 2012-08-29 06:42:52 +00:00
svf build: cleanup src/svf directory 2012-02-06 10:43:34 +00:00
target Revert "target: remove unused working area 'user' field" 2012-10-02 08:44:14 +00:00
transport transport: remove interface multiple transport warning 2012-03-30 15:51:37 +00:00
xsvf build: cleanup src/xsvf directory 2012-02-06 10:45:43 +00:00
Makefile.am ecosboard: delete bit-rotted eCos code 2012-03-13 19:11:11 +00:00
hello.c build: cleanup src/ directory 2012-02-06 10:41:23 +00:00
hello.h build: cleanup src/ directory 2012-02-06 10:41:23 +00:00
main.c build: cleanup src/ directory 2012-02-06 10:41:23 +00:00
openocd.c Revert "When calling openocd from a shell like this:" 2012-07-22 19:18:22 +00:00
openocd.h build: cleanup src/ directory 2012-02-06 10:41:23 +00:00