That means that I am using ICD1 position on the chip for debugging.
Yes its in Release mode.
Newguy thats a good tip. Thanx
Ttelmah
Joined: 11 Mar 2010 Posts: 19538
Posted: Sun Jul 09, 2017 11:00 am
temtronic wrote:
hmm..
OK maybe another silly thing...
I see this" icd=1 ", does that mean the ICD IS enabled ? I do not use ICDs or debuggers so not sure what the syntax means.
IF so that may slow down things.
Also I assume program is compiled in 'release' mode not 'debug'...
There's only so many straws in a bale but eventually we'll pull the right one !
Jay
Just as an explanation on this. A lot of the later PIC's have multiple sets of ICD pins that can be used. This instruction specifies which pin 'set' is going to be used, _but does not enable the ICD_. The debug enable is still the normal DEBUG instruction.
Alphada
Joined: 19 Jun 2017 Posts: 27
Posted: Sun Jul 09, 2017 1:39 pm
newguy wrote:
Alphada wrote:
Code:
#byte PORTA = 0x0E22
The compiler has a very nice feature, "getenv" that saves you from looking up the addresses of the special function registers (SFRs). Use it like this:
All times are GMT - 6 Hours Goto page Previous1, 2
Page 2 of 2
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum