Some port configuration data and DEFINES would be of help.