I'm hoping this is just something stupid i've done to myself.
I have some code that calls a delay routine, the delay routine uses TIMER0(not in interrupt mode - but burning in a loop waiting for a period of time to expire).
I have some delays that wait for about 3 seconds.
When i compile & run these (in Release Mode) under MPLAB then send to the target (18F4550) the Delays are reasonably close to what i expect.
But when I completely remove MPLAB from the picture and send the .hex file (that has been compiled in Release mode) to the target with Junebug or PICKit2 then run the code on the target the delay's suddenly are 2 or 3 times as long.
What do i need to do (or not do) to make the code run the same without MPLab as it does with MPLAB?
Thanks,
David