View Single Post
Old 11-16-2017, 01:10 PM   #3128 (permalink)
ScottyWarpNine
EV
 
Join Date: Jun 2017
Location: Akron, OH
Posts: 12
Thanks: 4
Thanked 0 Times in 0 Posts
Man, I still can't figure out why my board won't program. I keep getting an error when it tries to connect saying that while the programmer is trying to supply 5v, it is measuring VDD as 4.5v and fails to connect. Sometimes I can "trick" it into connecting by changing the supply voltage to 4.5v, but then when I try to program the hex it says "programming failed because the device address was different than expected.

I tried replacing my PICkit3 and replacing the dsPIC30F4011. Neither made any difference, I still get the same errors.

Has anybody run into anything remotely similar to my predicament?

I'm primarily an AVR guy, so I'm not super experienced with PIC devices. Here is the procedure of my attempts:

1. Connect PICkit3 to computer via USB
2. Open microchip IPE
3. Make sure dsPIC30F4011 and pICkit3 is selected
4. Open advanced settings and select "power circuits from programmer" in power tab
5. Make sure 5v is selected for VDD voltage
6. Connect PICkit3 to motor driver board programming headers. I am not using extension cable, I am plugging the PICkit3 directly into the board.
7. Back on main screen press connect (this is where it gives me the VDD error)
8. If it were to connect, this is the point where I would select the .hex file and press program.

Am I doing something wrong?
  Reply With Quote