Check our last documents on web RM0008 version 4 and Erratasheet version 3 ( May 2008) Let me know if you get more questions on this. Cheers, STOne-32.
Hi - am awaiting new board run - perhaps this suggestion may help:
Can't find obvious error in your listing. Would like you to move this code to two other ''shared pins'' - and see IF the inability to set as output persists. In this manner you - at least - will see if the problem is PD0/PD1 specific. Again - you must comb your part's pin-outs to find suitable (those which aren't ''natually'' I/O) pins to ''re-map.''