[lkml]   [2016]   [May]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] driver: input :touchscreen : add Raydium I2C touch driver
Hi Dmitry:

>> if (len < RM_BL_WRT_PKG_SIZE) {
>> buf[BL_PKG_IDX] = 4;

>Why 4???
4 is trigger index for write flash. Our page write size is 128 bytes,
but in order to meet maximum I2C bus read/write byte limite and need
fill full all pages of 128 bytes. So that I split 128 bytes to "4"
section, and start burning flash if touch MCU get index "4".

 \ /
  Last update: 2016-05-22 12:01    [W:0.147 / U:4.404 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site