cannot toggle portd & portc IO in rcm4000 using wrport cmd & I did read the docs & examples

WrPortI(PDDCR, &PDDCRShadow, 0x00);

WrPortI(PDDDR, &PDDDRShadow, 0xFF);

WrPortI(PDDR,  &PDDRShadow,  0xFF);

// this does not appear to work

Did you see the Knowledgebase article? Try using the example on this one if you haven’t already tried it.

http://knowledge.digi.com/articles/Knowledge_Base_Article/Setting-up-digital-IO-in-Dynamic-C-for-Rabbit-4000-boards-and-newer

the link you sent me has the same code that I posted above… which it does not work. I am on the development board… would that cause a problem? I am not calling brdInit()

the link whcich you sent me has the very code that I posted initially … which does not work. I am doing code on the dev board, would this be a problem?