Vdd/Vpp first programming means;
you have two option,
one of this is
you may first apply Vdd 5V and then
apply Vpp 13V, this is Vdd first method,
the other one is
you first apply Vpp 13V and then
apply Vdd 5V, this is Vpp fisrt method.
Entering the icsp programming mode
(i have look at the dspic 30f2010 programming specification
i think you are using it know
https://ww1.microchip.com/downloads/en/DeviceDoc/70102J.pdf page ~37)
(as i can understand dspic30f2010 also enhanced icsp mode)
the PGD and PGC held in low
then apply Vpp wait at least 25ms then execute 2-4 nop
(nop is the SIX instruction code table 11-1 cpu control codes in icsp mode)
etc.
You know this a little bit a hard work,
even if I had done this but i had t
also i can t be able to solve your problem,
i only tried to help from the easy part from the hardware,
you have to cautiously follow all the steps in the programming specification,
i can not check it, i think also anyone can not check it.
For the Vdd
dont use PA1 directly
use a circuit swithed from PA1
and can supply more than 20mA to Vdd of dspic