Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Searching bl only works once per reset [solved]
#5
Ok, quick update.

I could not see any difference (except mcu, and speed) between my current project source compared to the earlier source which is confirmed to work on a 25K20/22 mcu.

As I continued to measure and try different settings I added a bsf command in the user code space to the mcu pin (RD7) that controls a relay on my board. Basically I wanted to hear the click when the relay switches state as a reassurance that the user code space is executed without having to measure.
Anyways, the relay switches state upon startup and I continue by pressing the 'Write'-button.
What happens here is puzzling me, the relay drops again as if mcu gets reset. So I started measure the pins and sure enough, everytime I press 'Write' the mcu resets and gets stuck there. Only way to bring it out of that state is cycle power or MCLR-pin.
This does not occur with 'Check BL' and config STVREN On or Off makes no difference.
Reply


Messages In This Thread
RE: Searching bl only works once per reset - by opatagio - 2012-12-18, 15:10:31

Forum Jump:


Users browsing this thread: 1 Guest(s)