Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 12:49 10 Nov 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 : Programming E28

Author Message
Alastair
Senior Member

Joined: 03/04/2017
Location: Australia
Posts: 161
Posted: 09:30pm 11 Oct 2017
Copy link to clipboard 
Print this post

I have been using a few E28 boards from across the way with great success. I now have one which is behaving oddly and I suspect that I have corrupted the MM firmware as I have been more adventurous in using memory access.

I can see and access the E28 using MMedit on com4.

When I run pic32prog as per following it reports "target not found"

pic32prog -d ascii:com4 micromite_V5.04.05.hex

I have pressed the button and both leds are on. what am I doing wrong?
I have tried 2 different E28 boards. One a virgin still with the test prog insitu.


Cheers, Alastair
 
Grogster

Admin Group

Joined: 31/12/2012
Location: New Zealand
Posts: 9749
Posted: 10:13pm 11 Oct 2017
Copy link to clipboard 
Print this post

Have you tried using Rob's excellent GUI front-end for pic32prog.exe?
You can download this from my website here:(with Rob's permission to host it)
PIC32PROG GUI
(scroll down a bit...)

REBOOT YOUR COMPUTER - A full power-off and on again reboot.

Bill Gates often seems to get his USB handler confused, and I have found that a reboot will clear this issue a-lot of the time. This is if you are plugging in and removing USB-serial adaptors. At a certain point, Windoze just refuses to see the COM port at all, and just reports: 'The USB device has malfunctioned and Windows does not recognise it.'

Reboot, and the problem goes away.

Now, I know you say you can talk to it fine on COM4, so that does not seem to be the issue, but I want to be sure.....

Edited by Grogster 2017-10-13
Smoke makes things work. When the smoke gets out, it stops!
 
Alastair
Senior Member

Joined: 03/04/2017
Location: Australia
Posts: 161
Posted: 08:20pm 12 Oct 2017
Copy link to clipboard 
Print this post

G
I was using pic32prog via the command line as per my first post.

Thanks for the link to the gui. This looks a lot like the MPlab interface and is much easier and reduces the likelihood of spelling mistakes.

I have been out & about today and just returned tired & highly likely to s..ff up anything I try, so it is for first thing in the morning.

thanks again.

Cheers, Alastair
 
robert.rozee
Guru

Joined: 31/12/2012
Location: New Zealand
Posts: 2461
Posted: 06:53pm 14 Oct 2017
Copy link to clipboard 
Print this post

have you had any success?

cheers,
rob :-)
 
Alastair
Senior Member

Joined: 03/04/2017
Location: Australia
Posts: 161
Posted: 07:20pm 14 Oct 2017
Copy link to clipboard 
Print this post

Rob,
Yes. Sorry for being slow in posting.

You are responsible for my success. In the early morning I tried again using the command line approach. No go.

I then used your GUI shell and had instant success. The command line insisted there was no target but your routine found it with no change.

Would like to know what the problem was but too much to do to spend time atm.

thanks
alastair

ps reflashing did solve the E28 problem so I must have poked somewhere I shouldn't !Edited by Alastair 2017-10-16
Cheers, Alastair
 
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