@ reset
yup... always read the whole datasheet.
@ reset
yup... always read the whole datasheet.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
The code doesnīt make a software reset to all registers
@clrf PCLATH
@ goto 0
What i did wrong?
Regards
Leonel Monteiro
well i'm not sure to agree 100% about that method. Are you still using the 18F series?
looks no 'cause you must use @ reset
did you try with the i/o reset method?
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
I'm using 16F so the @reset itīs not possible.
I didnīt try the I/O method because my PCB is done...
my assumption is by using this method, it jumps only to the reset vector. So it doesn't produce any effects on the registers... so the i/o style should be considered.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Yes, I agree with you...
What do you think the ideia to do software reset putting all my registers to zero. Itīs easier and i havenīt to use the I/O method
not sure of it... humm... what is the purpose of this software reset?
What do you expect?
Do you set all your registers at the begining?
Sure you can set all register to the default POR before the goto reset vector ... but those registers are not all to zero... see datasheet for POR setting of each registers.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Bookmarks