Hot!PICKit 3 Program with DSPIC33EV256GM104

Author
bangdd
New Member
  • Total Posts : 6
  • Reward points : 0
  • Joined: 2018/10/30 20:03:07
  • Location: 0
  • Status: offline
2018/11/02 19:32:36 (permalink)
0

PICKit 3 Program with DSPIC33EV256GM104

Hi all,
 
I have problem with my board use IC DSPIC33EV256GM104-I/ML. 

I can successfully program the DSPIC using the PICKit3 programmer and run the program successfully, however when I unplug power supply and plug it back in, the program does not run. When I use same code and program with STARTER KIT DSPIC33EV 5V CAN-LIN, program run normally in case unplug and plug power KIT. 
I try using internal and external oscillator but same problem occur.
I 'm writing in C language for my project.
I attached my code.
 
Thanks for any suggestions what I should do.
Brs,
Bang Duong
#1
DevMod1
Administrator
  • Total Posts : 439
  • Reward points : 0
  • Joined: 2009/02/10 09:34:30
  • Location: 0
  • Status: offline
Re: PICKit 3 Program with DSPIC33EV256GM104 2018/11/06 09:29:46 (permalink)
0
Make sure you have a pull up on MCLR or your device will remain in reset.  Also, make sure you program in release mode, you can't program in debug mode and remove the debugger.

_____________________________

Please read the forum posting guidelines. Do not double post, please help keep these forums professional and comments respectful.
Please notify the moderators of problems/spam/trolls.
#2
bangdd
New Member
  • Total Posts : 6
  • Reward points : 0
  • Joined: 2018/10/30 20:03:07
  • Location: 0
  • Status: offline
Re: PICKit 3 Program with DSPIC33EV256GM104 2018/11/06 18:58:00 (permalink)
0
Hi,
 
I had pull up on MCLR to VDD and my program in release mode is ok as I checked.
When I using external crystal, frequency is 8MHz. But when I unplug power supply and plug it back, nothing on crystal pin and my program not run.
 
Thanks for any suggestions what I should do.
 
Best regards,
Bang Duong
#3
qhb
Superb Member
  • Total Posts : 9619
  • Reward points : 0
  • Joined: 2016/06/05 14:55:32
  • Location: One step ahead...
  • Status: online
Re: PICKit 3 Program with DSPIC33EV256GM104 2018/11/07 04:41:48 (permalink)
4 (1)
All  becomes clear in this new topic the OP created...
https://www.microchip.com/forums/m1074435.aspx
 
#4
Jump to:
© 2019 APG vNext Commercial Version 4.5