Go Back   EcoModder Forum > EcoModding > Fossil Fuel Free
Register Now
 Register Now
 

Reply  Post New Thread
 
Submit Tools LinkBack Thread Tools
Old 11-17-2017, 11:30 AM   #3171 (permalink)
EV
 
Join Date: Jun 2017
Location: Akron, OH
Posts: 12
Thanks: 4
Thanked 0 Times in 0 Posts
I have the PICkit plugged straight into the board, no extension cable.

I didn't notice it yesterday, but when I press the connect button to connect to the programmer, it gives me this error:

Target Device ID (0x0) is an Invalid Device ID. Please check your connections to the Target Device.

I tried pressing on the picket to try to get good connections on the programming headers but that didn't do anything.

I'll inspect my solder joints. It looks to me like it is a straight shot from the programming header to the dsPIC. Doesn't seem like a whole lot to go wrong.

I don't need the peripherals like throttle or encoder connected for programming, do I? the only connections I have to the board are power from a DC 24v supply, and the PICkit3.

  Reply With Quote
Alt Today
Popular topics

Other popular topics in this forum...

   
Old 11-17-2017, 12:46 PM   #3172 (permalink)
Master EcoModder
 
Join Date: Sep 2010
Location: Saskatoon, canada
Posts: 1,488

Ford Prefect - '18 Ford F150 XLT XTR

Tess - '22 Tesla Y LR
Thanks: 749
Thanked 565 Times in 447 Posts
Quote:
Originally Posted by ScottyWarpNine View Post
I have the PICkit plugged straight into the board, no extension cable.

I didn't notice it yesterday, but when I press the connect button to connect to the programmer, it gives me this error:

Target Device ID (0x0) is an Invalid Device ID. Please check your connections to the Target Device.
I don't remember that error. I'll try my board tonight ... since it is not inside a car right now

Quote:
I tried pressing on the picket to try to get good connections on the programming headers but that didn't do anything.

I'll inspect my solder joints. It looks to me like it is a straight shot from the programming header to the dsPIC. Doesn't seem like a whole lot to go wrong.

I don't need the peripherals like throttle or encoder connected for programming, do I? the only connections I have to the board are power from a DC 24v supply, and the PICkit3.
I don't remember having any peripherals connected when I'm programming.

I don't really want to re-program my board, but I think I can go through the motions and tell it not to program at the end.

I may turn on the phone and record what I do so that I will remember next time I hope it happens tonight ... but it may be sometime during the weekend.

I do remember that every time I have verified the program between chip and hex file it has failed. That had me confused for a long time.
__________________
In THEORY there is no difference between Theory and Practice
In PRACTICE there IS!
  Reply With Quote
Old 11-18-2017, 01:51 AM   #3173 (permalink)
Master EcoModder
 
teoman's Avatar
 
Join Date: Jan 2017
Location: Istanbul
Posts: 1,245

A3 - '12 Audi A3
Thanks: 65
Thanked 225 Times in 186 Posts
https://youtu.be/eU66as4Bbds
  Reply With Quote
Old 11-19-2017, 09:39 PM   #3174 (permalink)
Master EcoModder
 
Join Date: Sep 2010
Location: Saskatoon, canada
Posts: 1,488

Ford Prefect - '18 Ford F150 XLT XTR

Tess - '22 Tesla Y LR
Thanks: 749
Thanked 565 Times in 447 Posts
Quote:
Originally Posted by ScottyWarpNine View Post
I have the PICkit plugged straight into the board, no extension cable.

I didn't notice it yesterday, but when I press the connect button to connect to the programmer, it gives me this error:

Target Device ID (0x0) is an Invalid Device ID. Please check your connections to the Target Device.

I tried pressing on the picket to try to get good connections on the programming headers but that didn't do anything.

I'll inspect my solder joints. It looks to me like it is a straight shot from the programming header to the dsPIC. Doesn't seem like a whole lot to go wrong.

I don't need the peripherals like throttle or encoder connected for programming, do I? the only connections I have to the board are power from a DC 24v supply, and the PICkit3.
Here's the video, which is just pictures with a voice-over. It's my old laptop so the capture software does not really work, and the flickering of video from a laptop screen is horrid.

https://youtu.be/nZlisY7qG3s

Hope this helps
__________________
In THEORY there is no difference between Theory and Practice
In PRACTICE there IS!

Last edited by thingstodo; 11-19-2017 at 09:53 PM.. Reason: Fixed youtube link
  Reply With Quote
The Following User Says Thank You to thingstodo For This Useful Post:
ScottyWarpNine (11-20-2017)
Old 11-20-2017, 12:35 PM   #3175 (permalink)
EV
 
Join Date: Jun 2017
Location: Akron, OH
Posts: 12
Thanks: 4
Thanked 0 Times in 0 Posts
Thanks for the video. It helps to see what is supposed to happen

I installed version 2.3 like you just to eliminate the newer version I was using as a variable. Still no change.

Attached is a photo of what happens when I try to connect.

I think I'm going to try soldering thin wires directly to the dsPIC from some .1" headers to connect directly to the PICkit3. It seems to me like a connection issue, and I'm running out of ideas...

I find it unlikely that Digikey would sell me counterfeit or faulty chips, especially on two occasions.
Attached Thumbnails
Click image for larger version

Name:	20171120_122604.jpg
Views:	226
Size:	34.5 KB
ID:	22986  
  Reply With Quote
Old 02-05-2018, 03:20 PM   #3176 (permalink)
PaulH
 
MPaulHolmes's Avatar
 
Join Date: Feb 2008
Location: Maricopa, AZ (sort of. Actually outside of town)
Posts: 3,832

Michael's Electric Beetle - '71 Volkswagen Superbeetle 500000
Thanks: 1,368
Thanked 1,202 Times in 765 Posts
I've got a chevy volt controller working well. It's 2 separate controllers inside. so, this is a perfect cotroller for load testing 2 nissan leaf motors connected together, having their torques battle it out. Here's the setup. Almost ready to test:
__________________
kits and boards
  Reply With Quote
The Following 2 Users Say Thank You to MPaulHolmes For This Useful Post:
freebeard (02-05-2018), thingstodo (02-06-2018)
Old 02-05-2018, 03:29 PM   #3177 (permalink)
EV
 
Join Date: Jun 2017
Location: Akron, OH
Posts: 12
Thanks: 4
Thanked 0 Times in 0 Posts
Is the Nissan Leaf motor Induction or BLDC?

Sorry if you mentioned it in the video, couldn't watch it with sound at work
  Reply With Quote
Old 02-13-2018, 02:14 PM   #3178 (permalink)
Master EcoModder
 
jackbauer's Avatar
 
Join Date: Sep 2009
Location: Ireland
Posts: 734
Thanks: 26
Thanked 304 Times in 171 Posts
Did you design a logic board for the Volt inverter Paul?
__________________
Now, Cole, when you shift the gear and that little needle on the ammeter goes into the red and reads 2000 Amps, that's bad.
www.evbmw.com
  Reply With Quote
Old 02-14-2018, 01:47 PM   #3179 (permalink)
PaulH
 
MPaulHolmes's Avatar
 
Join Date: Feb 2008
Location: Maricopa, AZ (sort of. Actually outside of town)
Posts: 3,832

Michael's Electric Beetle - '71 Volkswagen Superbeetle 500000
Thanks: 1,368
Thanked 1,202 Times in 765 Posts
Yes!
__________________
kits and boards
  Reply With Quote
Old 02-14-2018, 03:22 PM   #3180 (permalink)
Master EcoModder
 
freebeard's Avatar
 
Join Date: Aug 2012
Location: northwest of normal
Posts: 27,562
Thanks: 7,738
Thanked 8,554 Times in 7,041 Posts
Quote:
The D.I.A.R.R.H.E.A. Available soon!
Why would I want that?

Your link 404s, in this browser in this location at this time.

__________________
.
.
Without freedom of speech we wouldn't know who all the idiots are. -- anonymous poster

____________________
  Reply With Quote
Reply  Post New Thread


Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Paul & Sabrina's cheap DIY 144v motor controller MPaulHolmes Open ReVolt: open source DC motor controller 7381 08-02-2023 10:55 PM
Paul & Sabrina's Cheap EV Conversion MPaulHolmes Fossil Fuel Free 542 11-12-2016 09:09 PM
Contest! Name Paul & Sabrina's controller MetroMPG Forum News & Feedback 120 10-22-2011 01:59 PM



Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Content Relevant URLs by vBSEO 3.5.2
All content copyright EcoModder.com