This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM335x GPMC 8-bit read in 16-bit mode

Hi,I set gpmc‘s DEVICESIZE  16bit .

and I try to read the gpmc address at 8 bit mode like this:

      1.        printf(" read from addr 0, the value is %x", *(char *)(addr));

     2.         printf(" read from addr 1, the value is %x", *(char *)(addr+1));

in my mind, the below two value should be the same value, because the gpmc is set the 16bit mode, the two address sent should be the same(A0 should be lost).

but the result is that the two values is diffrent. I can use 8bit mode read ok in the mode 16bit.

I don't know why?