I've found that when the display is not connected and the pins remain floating without the pull-up, it cause system failure and periodic reset.