Thank you for make it clear.

;-) Lets transform this knowledge into practical result! 


I have successfully compiled i2c-tools for x86 Android.
So, what is the exact command line to grab all loaded into GSL 1680 chip 
firmware?

i2cbus or i2cget? and how to use it , How via this toolset I could 
enumerate all 256 chunks of 128 bytes using information that chip resides 
on 0x40 I2c adress, dev is /dev/i2c-3, Page register is 0xF0 (8 bit too, so 
holds 256 addresses) and registers that store current 128 chunk are 
0x00-0x7F

Cheers, 
       Serge.

On Tuesday, May 19, 2015 at 1:48:14 PM UTC+3, Michal Suchanek wrote:
>
> On 19 May 2015 at 12:36,  <sergk...@gmail.com <javascript:>> wrote: 
> > "On Tuesday, May 19, 2015 at 12:53:43 PM UTC+3, Michal Suchanek wrote: 
> > That's one page of the configuration which is 128 bytes or 32 integers. 
> > Writing the page register gives access (read or write) to different 
> pages. 
> > So one blob might have multiple such pages or the firmware can be 
> > composed of multiple pages stored in multiple blobs" 
> > 
> > 
> > Still not clear - where does stored these blobs? 
> > 
> > 0x00-0x7F = 128 items 128 * x =1 byte registers. So physically chip 
> could 
> > reside only 128 byte. 
> > 0xF0: PAGE register. Contains the memory page number currently mapped in 
> the 
> > 0x00-0x7F registers. 
> > 
> > 
> > What is logic of these  Page register and 0x00-0x7F registers? 
> > 
> > Am I right that firmware is loaded into ram splitted by 128 byte pages 
> and 
> > 0xF0 register contains a set of adressed in RAM of such 128 byte chunks? 
>
> Yes, that's what the datasheet says. F0 stores a page number and each 
> page has different set of registers to map to 00-7F. The chip has more 
> memory than can be accessible through i2c at any given time due to the 
> i2c 1 byte address limit so it uses paging to make more data 
> accessible. 
>
> Thanks 
>
> Michal 
>

-- 
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to linux-sunxi+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to