]> git.sur5r.net Git - openocd/commit
nrf51: Fix incorrect flash writing sequence
authorAndrey Smirnov <andrew.smirnov@gmail.com>
Sat, 15 Mar 2014 17:40:23 +0000 (10:40 -0700)
committerPaul Fertser <fercerpav@gmail.com>
Sat, 29 Mar 2014 07:33:30 +0000 (07:33 +0000)
commitf7ffd142ee0be266a18be074f53fcd284244c527
tree3986005eb13264f7e0d78163d74fd4fe3971d708
parentb9cb2027b327461030321020af54956c03716b6d
nrf51: Fix incorrect flash writing sequence

nRF51 doesn't have any sort of flash page cache so we need to write
all of the data on the word-by-word basis and poll for "Flash Ready"
bit each time.

Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Change-Id: I8caffbf69ebf9a69915724704ddbe270d1bb8d92
Reviewed-on: http://openocd.zylin.com/2050
Tested-by: jenkins
Reviewed-by: Paul Fertser <fercerpav@gmail.com>
src/flash/nor/nrf51.c