Thanks Mark, but the error I have is connecting to the PicKit 3 in the first place -- ie just for the IPE/IDE to see the programming device itself - before even getting to executing the programming of OVMS ? So 12V wouldn't be relevant until that point?

I tried uninstalling/reinstalling the MPLABX software with no effect, so I still can't figure out how to regain connectivity with the programmer on my main desktop. odd, very odd. This is currently using windows, v2.10

A little debug suggests it's a USB related issue. I'm using windows 8 and notice that the programmer is now showing up as "unknown USB device (Device Descriptor Request Failed). 
Umm..

I removed all the devices under the root hub - cleaned up the error - still didn't work

Then plugged into my monitor (which *may* be a powered hub) - found the pickit3 fine.

Umm, windows and the wonders of USB.. power related, but I think USB for the programmer itself, rather than just the power for the end device board

But at least it's not OVMS or the programmer... learning this stuff! Eventually may get around to looking through the leaf code (out tomorrow tho)


On 3 May 2014 16:59, Mark Webb-Johnson <mark@webb-johnson.net> wrote:
I suggest you try externally powering it (12V). Sometimes the USB ports, via pickit, cannot provide enough power.

> On 3 May, 2014, at 11:51 pm, Nigel Jones <nigel@cherrybyte.me.uk> wrote:
>
> I was playing around with SMS comments on the newly installed OVMS today (V2 experimental) when the device seemed to stop responding, and a remote "RESET" didn't help, nor did power off/on.
>
> I brought it inside (without checking LEDs), connected up to the Pickit 3 clone I'd used earlier and .. nothing ... can't connect. Rebooted, removed/readded USB device (hw & sw)
>
> In the MPlab IPE I have PIC18/PIC18F2685 / PICkit3 selected.
> In advanced/Power "power target circuit from tool" is selected
> I am unable to "connect". All LEDs are lit on the Pickit3, no LEDs on the OVMS board
>
> I'm not familiar enough with the environment to figure out if this means the ovms module is dead, or the pickit. At some point prior to rebooting the pc ( as a test) I did notice some errors from the IPE of low USB voltage. I've since switched USB port
>
> When I used the pickit earlier and selected "Power device from tool" the ovms module etc was powered up (LEDs active).
>
> Any sugeestions?
>
> My next plan is to try a completely different PC to remove that from the equation. I'll also check the ovms leds when connected to vehicle - from memory the red led was lit. I did note the module was very warm - sat on the centre console, but I think this was just as the car was in bright sunlight....
>
> My gut feel is it's a combination of needing to reset the ovms (in the car it does at least still power up) it seems, just is uncontactable, & a problem with the programmer since I should be able to connect without a device attached - and potentially use the on-the-go programming support
>
> Mine is a clone pickit - has anyone else had issues with these vs the microchip originals?
>
> thanks
> Nigel.
> --
> ----
> Nigel Jones
> _______________________________________________
> OvmsDev mailing list
> OvmsDev@lists.teslaclub.hk
> http://lists.teslaclub.hk/mailman/listinfo/ovmsdev
_______________________________________________
OvmsDev mailing list
OvmsDev@lists.teslaclub.hk
http://lists.teslaclub.hk/mailman/listinfo/ovmsdev



--
----
Nigel Jones