Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 09:18 11 May 2025 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : pic32prog.exe

Author Message
antf70
Newbie

Joined: 13/07/2016
Location: Australia
Posts: 20
Posted: 05:22am 20 Mar 2018
Copy link to clipboard 
Print this post

I have microbridge connected to mm+ E100 via ICSP, and usb to laptop(Windows10) to load new firmware. Every time I try to run pic32prog the command line window flashes up for a second then disappears. Have tried opening every possible way same result, including opening up command prompt first then "start pic32prog.exe". Tried every version of pic32prog I can find. Any help appreciated.
 
Azure

Guru

Joined: 09/11/2017
Location: Australia
Posts: 446
Posted: 05:34am 20 Mar 2018
Copy link to clipboard 
Print this post

Make sure you are in the same directory as the program or the path is included with the program name.

I think you need to type the options, so for the execution below I used the help option "-h" so it would output something. I have used it successfully on this Win10 machine to program but don't have the microbridge with me at the moment.

The excerpt below is typed from a command prompt window on Win10.

[code]
C:\Users\johnf\Documents\MicroMite\Utils>pic32prog.exe -h
Programmer for Microchip PIC32 microcontrollers, Version 2.0.220
Copyright: (C) 2011-2015 Serge Vakulenko.
'The rest of the help option is displayed here....
[/code]
 
palcal

Guru

Joined: 12/10/2011
Location: Australia
Posts: 1965
Posted: 05:57am 20 Mar 2018
Copy link to clipboard 
Print this post

Download Robert Rozee's picprog GUI from Grogsters web site.
web site
It makes the job so easy.
Paul.
"It is better to be ignorant and ask a stupid question than to be plain Stupid and not ask at all"
 
antf70
Newbie

Joined: 13/07/2016
Location: Australia
Posts: 20
Posted: 06:30am 20 Mar 2018
Copy link to clipboard 
Print this post

Thanks Azure. Can execute now but am getting message "No response from 'ascii icsp' adapter. Microbridge plugged into ICSP header on mm+ (powered externally), only thing is when I press mode switch on microbridge LED does not stay lit but flashes once and goes off (is this normal?).
 
antf70
Newbie

Joined: 13/07/2016
Location: Australia
Posts: 20
Posted: 07:19am 20 Mar 2018
Copy link to clipboard 
Print this post

Thanks Paul, I missed your reply there at first. Made it much easier but did have possibly strange way to success. I had to connect microbridge on its own to teraterm first, then push mode switch to get Led to stay on, then connect microbridge to mm+ ICSP, then disconnect teraterm, then run pic32prog??. Firmware all loaded successfully.
 
WhiteWizzard
Guru

Joined: 05/04/2013
Location: United Kingdom
Posts: 2927
Posted: 07:46am 20 Mar 2018
Copy link to clipboard 
Print this post

With the MicroBridge unit, I strongly advise adding a 10K resistor between Pins 1 & 5.

This would have made your LED stay 'on' with no target device connected. What is happening is Pin 5 is the Rx pin (on the Serial Port), and it needs to be 'pulled high' to avoid noise making the Mode button 'less responsive'.

One important thing is that the MicroBridge DOES need to be connected to your console program for the RESET feature to work - this has caught me out on many a demo!!

WW
 
Print this page


To reply to this topic, you need to log in.

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025