config.CSn = 0; config.AddressMirror = 0; config.ByteLane = 1; config.DataWidth = 16; config.ExtendedWait = 1;//0; config.PageMode = 0; config.WaitWEn = 2; config.WaitOEn = 2; config.WaitWr = 0x1f; config.WaitPage = 0x1f; config.WaitRd = 0x1f; config.WaitTurn = 0x1f; StaticMem_Init(&config); |
ip = GET_ADDR(0x0555); *ip = 0x00AA; ip = GET_ADDR(0x02AA); *ip = 0x0055; ip = GET_ADDR(0x0555); *ip = 0x0090; delay(10); ip = GET_ADDR(0x0000); id1 = *ip; ip = GET_ADDR(0x0001); id2 = *ip; |
for(unsigned long i = 0; i < 10u; i++) { ip = GET_ADDR(i); xprintf("== 0x%X\n", *ip); } |