diff options
author | Olivier Schonken <olivier.schonken@gmail.com> | 2012-09-12 21:56:50 +0200 |
---|---|---|
committer | Spencer Oliver <spen@spen-soft.co.uk> | 2012-10-04 15:53:19 +0000 |
commit | 5952843fc5d56d51f3e0ed5d141db46beefa8b56 (patch) | |
tree | 4ad121b74444235630a8351bbac45f27d38f4a33 /Doxyfile.in | |
parent | bd5f5c6a66f04751a4752ede396b4a12f478ee25 (diff) | |
download | riscv-openocd-5952843fc5d56d51f3e0ed5d141db46beefa8b56.zip riscv-openocd-5952843fc5d56d51f3e0ed5d141db46beefa8b56.tar.gz riscv-openocd-5952843fc5d56d51f3e0ed5d141db46beefa8b56.tar.bz2 |
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/830
Tested-by: jenkins
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
Diffstat (limited to 'Doxyfile.in')
0 files changed, 0 insertions, 0 deletions