mikroProg v1.6 Communication Error

General discussion on mikroProg™ programmer and debugger and mikroProg Suite software as well.
Post Reply
Author
Message
pspeirs
Posts: 181
Joined: 05 Sep 2012 07:54

mikroProg v1.6 Communication Error

#1 Post by pspeirs » 23 Jan 2019 08:55

Hi,
I have just received a new EasyMX Pro board for the STM32 and I'm trying to get the programmer working however I'm seeing an error "USB Communication Error" when I try to detect the MCU. It has worked once prior, and a few times appeared to work but the original program was still in there. I'd like to program using a hex file from TrueStudio however even when used with MikroC I still get an error.

The settings are:

Hardware: STLink
Connection: Normal
SWD


Can someone please suggest a fix to this.

Cheers,
Paul

User avatar
stefan.filipovic
mikroElektronika team
Posts: 1135
Joined: 18 Dec 2018 10:30

Re: mikroProg v1.6 Communication Error

#2 Post by stefan.filipovic » 23 Jan 2019 18:43

Hi Paul,

What happens when you use JTAG instead of SWD?
Have you installed mikroProg Suite and drivers as administrator?
Which operating system you are using?

Kind regards,
Stefan Filipović

pspeirs
Posts: 181
Joined: 05 Sep 2012 07:54

Re: mikroProg v1.6 Communication Error

#3 Post by pspeirs » 23 Jan 2019 20:38

Hi Stefan

Yes I needed to reinstall the drivers, I then started intermittently getting device not recognised errors. Last night I had it working fine then when checking this morning a got the device not recognised until I removed and replaced the USB cable.
I don’t have these issues with the easy pic 7 board.

I’m using Windows 10 btw

Cheers
Paul

User avatar
stefan.filipovic
mikroElektronika team
Posts: 1135
Joined: 18 Dec 2018 10:30

Re: mikroProg v1.6 Communication Error

#4 Post by stefan.filipovic » 24 Jan 2019 19:32

Hi Paul,

I'm glad that you have managed to fix this.

Yes, sometimes the problem could be even in the USB cable.

For Windows 10 it's recommended to disable driver signatures.
Please read this article:
https://helpdesk.mikroe.com/article/865 ... windows-10

Kind regards,
Stefan Filipović

pspeirs
Posts: 181
Joined: 05 Sep 2012 07:54

Re: mikroProg v1.6 Communication Error

#5 Post by pspeirs » 24 Jan 2019 20:29

Thanks Stefan

I’ll check that tonight

Cheers
Paul

User avatar
stefan.filipovic
mikroElektronika team
Posts: 1135
Joined: 18 Dec 2018 10:30

Re: mikroProg v1.6 Communication Error

#6 Post by stefan.filipovic » 25 Jan 2019 15:11

Hi Paul,

You're welcome.
Please let us know whether this has been of help or not.

Kind regards,
Stefan Filipović

pspeirs
Posts: 181
Joined: 05 Sep 2012 07:54

Re: mikroProg v1.6 Communication Error

#7 Post by pspeirs » 26 Jan 2019 00:11

Unfortunately we now have a guest staying in my study for the weekend, so access is limited :-)
However, it did seem to be working, so I'll see how it goes in a few days. If I'm still having issues, I'll try your suggestion and post the resolution up either way.
Cheers, Paul

User avatar
stefan.filipovic
mikroElektronika team
Posts: 1135
Joined: 18 Dec 2018 10:30

Re: mikroProg v1.6 Communication Error

#8 Post by stefan.filipovic » 28 Jan 2019 10:32

Hi Paul,

I'm glad that it works.
If there's anything else I can assist you with, or if this problem appears again, don't hesitate to contact me.

Kind regards,
Stefan Filipović

Post Reply

Return to “mikroProg™ programmer and debugger”