joconnor37 wrote on Wednesday, January 02, 2008:
I have FreeRTOS demo project building successfully for 18F452 in MPLAB, programming successfully into an 18F452 development board from Forest Electronics Development(FED), but getting “little action” on the board. The FreeRTOS demo project should flash LEDs on PORTD but doesn’t. In starting to dig deeper into the code, something immediately confuses me - partest.h defines:-
#define partstDEFAULT_PORT_ADDRESS ( ( unsigned portSHORT ) 0x378 ) - I presume this is
PORTD, PORTD<7:4> drive the 4 LEDs on the FED development board. But the Microchip datasheets
give the address of PORTD as F83h. I cannot complete the reference chain between the #define statement above, and actual PORTD - so maybe the demo project is not asking PORTD to do anything at present…?
Has anyone else worked with this particular port of FreeRTOS? Any advice gratefully accepted as I am probably missing something simple here.
Regards,
John O’Connor