#if 1
struct gramProfile profile = {
.mode_registers = {
- 0xb20, 0x806, 0x200, 0x0
+ 0xb30, 0x806, 0x200, 0x0
},
- .rdly_p0 = 2,
- .rdly_p1 = 2,
+ .rdly_p0 = 5,
+ .rdly_p1 = 5,
};
#endif
#if 0
gram_init(&ctx, &profile, (void*)ddr_base, (void*)0x00009000, (void*)0x00008000);
printf("done\n");
-#if 0
+#if 1
printf("Rdly\np0: ");
for (size_t i = 0; i < 8; i++) {
profile2.rdly_p0 = i;
fflush(stdout);
}
printf("\n");
+#endif
+#if 0
printf("Auto calibrating... ");
res = gram_generate_calibration(&ctx, &profile2);
if (res != GRAM_ERR_NONE) {