How should I initialize a RepRap Discount 12864 on u8glib?
I solved the problem myself. It turns out to be a problem of wrong pinouts.

My PCB of the project was originally designed for the LCD2004 counterpart, and I thought it was a drop-in replacement for 12864. But no, it's not.


This is the "Smart Adaptors". Notice that the orientation are 180 degree different.

If you have the same problem not lighting up a 12864 when switching from 2004, or vice versa. Check your orientation as above.

My solution will be crimping a different JTAG wire instead.