It is currently 20 Apr 2018 07:40

All times are UTC + 1 hour




Post new topic Reply to topic  [ 8 posts ] 
Author Message
PostPosted: 11 Oct 2017 23:35 
Offline

Joined: 11 Oct 2017 23:13
Posts: 4
Hello!

I'm just starting with MCU programming. I use (try actually) the Mikroprog Programmer.
I'm not able to write my MCU 18f4550.

so what i did :

1) I read some topics about problem with Win10 64bits on this forum :lol:
2) I unistalled the driver and installed them as administrator (right clik on it, run as administrator)
3) I checked if correctly detected and OK (see attachment)
4) I launched mikroprog and select my USB Programmer device (see attachment)
5) I Tried to read Voltage and a error message appear : Error in call to Device driver (see attachment)
6) I tried to write in MCU and a dialogbox appear (see attachment)

I always launch mikroprog as administrator

I don't know what to do :cry:


Attachments:
Error click on programming.png
Error click on programming.png [ 2.05 MiB | Viewed 3563 times ]
Capture2.PNG
Capture2.PNG [ 83.19 KiB | Viewed 3563 times ]
Capture1.PNG
Capture1.PNG [ 34.08 KiB | Viewed 3563 times ]
Top
 Profile  
 
PostPosted: 12 Oct 2017 14:07 
Offline
User avatar

Joined: 21 Mar 2017 16:57
Posts: 527
Hello

I see that you are using an older version of mikroProg suite - 2.51. Since the firmware in your programmer is the latest one, I'd suggest you to download the latest mikroProg release from this LINK
Also, the only time you need to bother yourself with the "admin" rights, is when you install the drivers - due to the tighter security policy of the Windows 10 drivers model. Everything else should work with no issues, even if you run it as a user.

I am looking forward to your answer if the latest (2.60) version of mikroProg solved your issues.

Best regards


Top
 Profile  
 
PostPosted: 12 Oct 2017 16:02 
Offline

Joined: 11 Oct 2017 23:13
Posts: 4
Thanks for the answer!

I tried your link, unsitalled the 2.51 and then installed 2.60.
Now i have a other error. We made a step forward, the program doesn't crash 8) :lol: It is the same one for writing, reading, blanking,...... I post the screenshot.

Thanks for your help!


Attachments:
mikroprog2.60error.png
mikroprog2.60error.png [ 2.24 MiB | Viewed 3546 times ]
Top
 Profile  
 
PostPosted: 12 Oct 2017 16:44 
Offline
User avatar

Joined: 21 Mar 2017 16:57
Posts: 527
Hello

That is very peculiar error... Try changing the USB port you are using for the programmer, also try using another USB cable - this also might cause such uncommon errors...

Best regards


Top
 Profile  
 
PostPosted: 12 Oct 2017 18:45 
Offline

Joined: 11 Oct 2017 23:13
Posts: 4
So, i tried many USB port (USB2 & 3), 3 differents cables on 2 computer. Even on a virtualmachine Win8 and same error :(

Now i'm looking if my USB drivers are up to date.

Best regards


Top
 Profile  
 
PostPosted: 20 Oct 2017 19:21 
Offline
User avatar

Joined: 21 Mar 2017 16:57
Posts: 527
Hi

Any news regarding this issue ? Have you been able to solve it ?
It looks like there's a problem with the programmer to PC communication, but did you try to program other types of PIC MCUs ?
Do you use some of our development boards ?


Best regards


Top
 Profile  
 
PostPosted: 23 Oct 2017 17:13 
Offline

Joined: 11 Oct 2017 23:13
Posts: 4
HI!

Sorry for this late answer but i'm a lot busy :roll:

So i updated my drivers and there is the same problem. I did not try other MCU. I have Under my hands some 16F and 12F MCU, i will try it( i think this friday).
I don't use any developpment board. I use a breadbord, wire, and a self-made power supply (based on 7805 voltage regulator).
I use a mikroprog programmer bought on your site. For testing the programmation (before writing a lot of programs of thousand lines, i try if i can load a simple one :mrgreen: ) i use diagrams in the mikroprog folder in accordance with datasheet of MCU (i try tu use a 18F4550). I'm a noob in the MCU world so maybe i do something wrong. Maybe fuses uncorrectly configured, wrong oscillator used or something else.....

Best regards.


Attachments:
PIC18F4550-pins.JPG
PIC18F4550-pins.JPG [ 104.38 KiB | Viewed 2643 times ]
PIC18F-program.JPG
PIC18F-program.JPG [ 61.76 KiB | Viewed 2644 times ]
Top
 Profile  
 
PostPosted: 30 Oct 2017 22:52 
Offline
User avatar

Joined: 21 Mar 2017 16:57
Posts: 527
Hello,

I am sorry for the late answer, I was sure I have already answered you on this !(?)

Did you try to connect your programmer and power up the breadboard with the MCU, only by the programmer itself ? Use the option to power the MCU from the programmer and connect the programmer's VCC pin to the MCU. Take a look at the screenshot for the mikroprog settings. Remove every other VCC source you might have in your circuit, see if that helps...

Regards


Attachments:
2017-10-30_22-10-24.jpg
2017-10-30_22-10-24.jpg [ 226.95 KiB | Viewed 2602 times ]
Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: