On 19 May 2015 at 12:36, <sergk.ad...@gmail.com> 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.