Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Can be programmed only once! [solved]
#8
I tried with RTS and DTR and i think i found the solution. The problem seems to be on the level (0 or 1) that the program makes. The schematics is ok (i am using a FT232RL).

What i did to really test is: i connected a LED to the MCLR and i am watching the status of the LED (on or off).

What i found is:
- Before i press the 'check for bl' the LED is on, so MCLR is high (so pic works).

- Just when i press the 'check for bl' the program says: "Resetting device..." and the LED is off, so MCLR goes low. This happens for as long as "reset time (ms)". In my case, i have 1000 (so 1 sec). So the pic gets reseted. Everything ok so far!

- Then the programs says: "Bringing dtr high...ok" and the LED light just for a moment (about half a second) and then gets off. I think that the LED should not get off.

- Then the program says: "Searching for bl . . ." and the LED is OFF. So, the pic is in reset mode and it does not work.

Isn't it so ???
Can the program finds the pic if the pic is in reset mode?


Reply


Messages In This Thread
RE: Can be programmed only once! - by VaGyver - 2011-08-18, 21:26:36
RE: Can be programmed only once! - by VaGyver - 2011-08-18, 22:49:20
RE: Can be programmed only once! - by VaGyver - 2011-08-19, 23:36:36
RE: Can be programmed only once! - by VaGyver - 2011-08-21, 18:16:34
RE: Can be programmed only once! - by VaGyver - 2011-08-21, 18:50:54

Forum Jump:


Users browsing this thread: 2 Guest(s)