Skip to content
Snippets Groups Projects
Commit a780e412 authored by Tomas Vanek's avatar Tomas Vanek Committed by Freddie Chopin
Browse files

Kinetis: properly pad flash section writes


kinetis_write() with byte count not divisible by prog_section_chunk_bytes
computed wrong wc and therefore paded section chunk by some
random data instead of 0xff

Change-Id: Ic7c66d8a3ceacda9e611e98b9fbf943b8001774b
Signed-off-by: default avatarTomas Vanek <vanekt@fbl.cz>
Reviewed-on: http://openocd.zylin.com/2994


Tested-by: jenkins
Reviewed-by: default avatarThomas Schmid <thomas@rfranging.com>
Reviewed-by: default avatarPaul Fertser <fercerpav@gmail.com>
parent 5355ec62
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment