]> git.sur5r.net Git - openocd/commit
fm3: fix erase flash fail on using High Level Adapters.
authorNemui Trinomius <nemuisan_kawausogasuki@live.jp>
Tue, 11 Feb 2014 07:09:32 +0000 (16:09 +0900)
committerSpencer Oliver <spen@spen-soft.co.uk>
Mon, 24 Feb 2014 12:10:01 +0000 (12:10 +0000)
commit5fcfe5cfea5c244995ff3f8fa76154c4516886d2
treea9352fbd0b89e329efa2b7a57183ba7a204a6152
parentb27c53354d35a273aa1dc4283463cbdec8981632
fm3: fix erase flash fail on using High Level Adapters.

This fix can "erase flash" on using High Level Adapters by running algorithm.
Because fm3 flash commands must need true 16-bit memory access,
but High Level Adapters(ST-Link/TI-ICDI) can 8/32bit access only.
Tested on MB9BF618T and MB9AF112K with STLink/V2.

Change-Id: I849a8a8e8ae2b3e77717de04f7522cf718c915d7
Signed-off-by: Nemui Trinomius <nemuisan_kawausogasuki@live.jp>
Reviewed-on: http://openocd.zylin.com/1944
Tested-by: jenkins
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
src/flash/nor/fm3.c