Home arrow Support arrow Forums

Luminary Micro Forums

orinem

Expert Boarder

2006/11/07 13:25

-O1 complier flag: blank display!

This happened in my project - I'll try one of the example projects later.

-03 was fine, but makes debugging a little more fun.

YMMV etc..

Orin.

Followup:

Increasing the initial delay calculated in OSRAMInit() fixes this. The original code read: (640 * (HWREG(I2C_MASTER_BASE + I2C_MASTER_O_TPR) + 1)) / 5. The latest DriverLib code reads: 136 * (HWREG(I2C_MASTER_BASE + I2C_MASTER_O_TPR) + 1). The latter works for me.

Post edited by: orinem, at: 2006/11/09 18:12

login or register to reply