DSPIC33EP512MU810 debug problem
DSPIC33EP512MU810 debug problem
Using MCU card v7... (Windows XP Professional + mikroC PRO for dsPIC 6.0.0)
program with mikroprog for pic for debuging, next start debuger and after 15-20 minutes give this errors from jpg
I'm try with VCC 3.3v mikroprog for pic and VCC external stabilizer 3.3v and same problem, what is case?
Connections identical mikroprog for pic manual...
In windows 7 running debug 1-2 hours...
program with mikroprog for pic for debuging, next start debuger and after 15-20 minutes give this errors from jpg
I'm try with VCC 3.3v mikroprog for pic and VCC external stabilizer 3.3v and same problem, what is case?
Connections identical mikroprog for pic manual...
In windows 7 running debug 1-2 hours...
- Attachments
-
- unknown.JPG (5.21 KiB) Viewed 7454 times
-
- violation.JPG (8.11 KiB) Viewed 7454 times
- milos.vicentijevic
- Posts: 965
- Joined: 23 Apr 2013 08:09
Re: DSPIC33EP512MU810 debug problem
Hello,
which version of mikroProg Suit and which drivers do you use?
Did debugger work first 15-20min ? Does it happen with any program or only specific one?
Please post schematics of connection between mikroProg and your device, and please check voltage level when error appears.
You might try to change usb port and usb cable and see what is going to happen. Also, you can check have you selected right channel for communication.
Best Regards,
Milos Vicentijevic
which version of mikroProg Suit and which drivers do you use?
Did debugger work first 15-20min ? Does it happen with any program or only specific one?
Please post schematics of connection between mikroProg and your device, and please check voltage level when error appears.
You might try to change usb port and usb cable and see what is going to happen. Also, you can check have you selected right channel for communication.
Best Regards,
Milos Vicentijevic
Re: DSPIC33EP512MU810 debug problem
Cable and channel I changed, + computer changed, version mikroProg Suite For PIC V2.28
Try with another program and back informations...
Try with another program and back informations...
- Attachments
-
- FIRM.JPG (22.29 KiB) Viewed 7429 times
Re: DSPIC33EP512MU810 debug problem
I try sample code in debugging mode but same error ('Acces Violation at adress......')
int ii = 0;
void main() {
// Setting output frequency to 140MHz
PLLFBD = 70; // PLL multiplier M=70
CLKDIV = 0x0000; // PLL prescaler N1=2, PLL postscaler N2=2
ANSELA = 0x00; // Convert all I/O pins to digital
ANSELB = 0x00;
ANSELC = 0x00;
ANSELD = 0x00;
ANSELE = 0x00;
ANSELG = 0x00;
while(1)
{
ii++;
delay_ms(3000);
}//while1
}
In release mode any code running ok after 12 hours running...on the same hard.
I removed uVGA-III but nothing same error...
I try to only power on the programmer result same error, I try to only power external source (+3.3v) but same error...
int ii = 0;
void main() {
// Setting output frequency to 140MHz
PLLFBD = 70; // PLL multiplier M=70
CLKDIV = 0x0000; // PLL prescaler N1=2, PLL postscaler N2=2
ANSELA = 0x00; // Convert all I/O pins to digital
ANSELB = 0x00;
ANSELC = 0x00;
ANSELD = 0x00;
ANSELE = 0x00;
ANSELG = 0x00;
while(1)
{
ii++;
delay_ms(3000);
}//while1
}
In release mode any code running ok after 12 hours running...on the same hard.
I removed uVGA-III but nothing same error...
I try to only power on the programmer result same error, I try to only power external source (+3.3v) but same error...
- Attachments
-
- SCH.JPG (172.6 KiB) Viewed 7422 times
- milos.vicentijevic
- Posts: 965
- Joined: 23 Apr 2013 08:09
Re: DSPIC33EP512MU810 debug problem
Hello,
MCLR pin should be on 3.3V. Did it work at all?
Have you checked voltage level on MCU-MCLR pin?
Best Regards,
Milos Vicentijevic
MCLR pin should be on 3.3V. Did it work at all?
Have you checked voltage level on MCU-MCLR pin?
Best Regards,
Milos Vicentijevic
Re: DSPIC33EP512MU810 debug problem
Mclr moved to +3,3v but nothing, same error, MCLR pin is +2,86v...
Re: DSPIC33EP512MU810 debug problem
Sometimes when pause debug get me error:Unknown Error:(-8).
Power source: Mikroprog for pic
I put osciloscope on MCLR pin, and low voltage that jpg (gradually decreases), after get error:Addres Violation.... and MCLR pin is 0 voltage
Power source: Mikroprog for pic
I put osciloscope on MCLR pin, and low voltage that jpg (gradually decreases), after get error:Addres Violation.... and MCLR pin is 0 voltage
- Attachments
-
- mkp.JPG (111.63 KiB) Viewed 7412 times
-
- oscs.JPG (81.33 KiB) Viewed 7412 times
- milos.vicentijevic
- Posts: 965
- Joined: 23 Apr 2013 08:09
Re: DSPIC33EP512MU810 debug problem
Hello,
you might try to use shorter wires if possible. I forgot to mention last time that mikroProg is very sensitive to program line length.
So, when you pause your code and leave debugger paused it happens then only or it happens randomly ?
Best Regards,
Milos Vicentijevic
you might try to use shorter wires if possible. I forgot to mention last time that mikroProg is very sensitive to program line length.
So, when you pause your code and leave debugger paused it happens then only or it happens randomly ?
Best Regards,
Milos Vicentijevic
Re: DSPIC33EP512MU810 debug problem
random happens, but after approximative 8-20 try RUN/PAUSE DEBUG.
I try thicker thread its ok?? Or necessarily shorter wire????I'll try short wire, and post replay
I try thicker thread its ok?? Or necessarily shorter wire????I'll try short wire, and post replay
- milos.vicentijevic
- Posts: 965
- Joined: 23 Apr 2013 08:09
Re: DSPIC33EP512MU810 debug problem
Hello,
does it work with shorter wires?
Best Regards,
Milos Vicentijevic
does it work with shorter wires?
Best Regards,
Milos Vicentijevic
Re: DSPIC33EP512MU810 debug problem
Please wait 3-4 days because they are at an exhibition this project in Relase Mode and after end exhibition try shorter wires, and post replay, Thanks for time, and excuse-me for broken english...
Re: DSPIC33EP512MU810 debug problem
I put thick and short wires, but nothing, same error "Unknown Error: (-8)" what to try???
- Attachments
-
- xxxx.JPG (250.62 KiB) Viewed 7242 times
Re: DSPIC33EP512MU810 debug problem
I try 2 mikroprog for pic but same error..
Re: DSPIC33EP512MU810 debug problem
Put breakpoint and RUN, after stop get this error sometimes
- Attachments
-
- scope.JPG (6.38 KiB) Viewed 7126 times
- marina.petrovic
- Posts: 2986
- Joined: 18 Apr 2013 08:11
Re: DSPIC33EP512MU810 debug problem
Hi,
Please, can you send me your project/code?
You can open the ticket and send your project via ticket, so I can try to find the source of the problem.
Best regards,
Marina
Please, can you send me your project/code?
You can open the ticket and send your project via ticket, so I can try to find the source of the problem.
Best regards,
Marina