Page 1 of 1

Run perfect on Debug, but not in relaese

Posted: 10 Nov 2010 12:54
by mlebel
Hi,

I'm using mikroC PRO with the SPI Ethernet ENC28J60 Library.
When I'm debugging it on MPLAB or even just run it in Debug mode,
It all works perfect, it connect get IP & other info from DHCP.
But, when I load the program to the controller with the programmer (i.e release)
It doesn't work (no connection).

Is anyone had this problem & if yes how it was resolved?

Tn'x in advance
Meir Lebel

Re: Run perfect on Debug, but not in relaese

Posted: 15 Nov 2010 20:58
by Mince-n-Tatties
how are you using MPLAB to do the debug? do you have an easypic 6 or are you using a pickit?

when you go to release did you make sure to release target from reset in the programmer menu?

also be sure to generate non-debug code otherwise it wont run without the debugger.