AND
1.make sure LVP is set to OFF on both
2.make sure ALL Vss & Vdd are connected.
If both run @5V, it shouldn't be a Brown-Out reset or... sort of.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Thanks for the replies !
Just to come back on the below feedback:
- Caps are used to stabilize power supply (100nf and 10mf) and also every PIC has a 100nf cap on the power supply pin
- MCLR has a pull-up resistor
- LVP set to off
Other ideas what it could be?
I can post the network drawing (Eagle file) but i'm not sure if i can attach files ...
Many thanks for helping me with this !!
Wilbert
How good / stable is you power supply?
Dave
Always wear safety glasses while programming.
Some additional information:
- The processor doesn't reset but stops in my opinion. I've used debug information on a serial port. On each startup, an appropriate message is sent (which i don't receive when this problem occurs). I'm also displaying variables and when the processor continues, he still has the right values.
- Most of the cases, information on the RS485 network triggers the processor to continue.
Dave,
Good point, it's a lab power supply so i didn't had any doubt about it ... I'm going to check it now !
Thanks !
Wilbert
And how is the brown out fuse set?
Dave
Always wear safety glasses while programming.
Checked Power supply -> OK
Added additional caps -> problem remains
Changed Power supply -> problem remains
Changed cables -> problem remains
Even when i touch VDD with a none connected cable (15 cm), i see the clock stopping on multiple processors ...
Bookmarks