Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 07:37 08 Jul 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 : Complete Crash...

Author Message
Phil23
Guru

Joined: 27/03/2016
Location: Australia
Posts: 1667
Posted: 10:46am 03 Aug 2016
Copy link to clipboard 
Print this post

Hi all,

Have just had another complete crash on an MX170 Backpack.

I'm guessing as usual its due to my prototype construction, probably Wifi or coms gone crazy. That or a dodgy connection relating to power supply.

But, have a question about recovering it.

This is what I generally do.

[Code]Connect the Pickit & reflash.
Then connect a CP2102 to reconfigure Baud rate, Display & Touch.
Recalibrate Touch screen.
Plug it & reload my code.[/code]

What I want to know is can I create a Hex file for recovering from these situation;
rare but a pain.

Presue the Hex file would contain everything to return it to it's previous state.
Probably even Touch Calibration for an individual device.

I can read from IPE, but not sure about creating the Hex file from there.
Only option I see that's relevant is File | Export.

Does that create a valid Hex file that would be a complete backup of what's currently in a chip?

Thanks

Phil
 
Grogster

Admin Group

Joined: 31/12/2012
Location: New Zealand
Posts: 9590
Posted: 09:37pm 03 Aug 2016
Copy link to clipboard 
Print this post

Yes.

Configure the chip how you want it.

Using PK3 and IPE, READ the chip instead of writing to it.
This will read the entire memory into a new HEX file, which you name and save somewhere.

If you reflash THAT file back into your MM chip, it will be pre-configured to talk to the RTC, LCD etc, etc, etc......

Naturally, that only works if you KNOW the situation it is going to be used in, otherwise it may cause something buggy to happen - like if it tries to talk to an LCD, and there is not one there - that kind of thing.

See the manual, page 16:





  Phil23 said  I can read from IPE, but not sure about creating the Hex file from there. Only option I see that's relevant is File | Export.

Does that create a valid Hex file that would be a complete backup of what's currently in a chip?


YES.

So, your steps would be:

1) Configure the MM however you want, and are happy everything is working.
2) Use the PK3 and IPE to READ the device.
3) FILE | EXPORT > HEX
4) Give the file a name, and click SAVE.

Done.
Edited by Grogster 2016-08-05
Smoke makes things work. When the smoke gets out, it stops!
 
bigmik

Guru

Joined: 20/06/2011
Location: Australia
Posts: 2949
Posted: 09:00pm 04 Aug 2016
Copy link to clipboard 
Print this post

GDay Phil,

  Phil23 said   Hi all,

Have just had another complete crash on an MX170 Backpack.

I'm guessing as usual its due to my prototype construction, probably Wifi or coms gone crazy. That or a dodgy connection relating to power supply.


If you are interested I am happy to send you (free) either a BackPack170 or SMD-BackPack170 PCB for you to play with.

Details can be found in my Pages located here:

Micks Mites

Kind Regards,

Mick
Mick's uMite Stuff can be found >>> HERE (Kindly hosted by Dontronics) <<<
 
Phil23
Guru

Joined: 27/03/2016
Location: Australia
Posts: 1667
Posted: 12:08pm 05 Aug 2016
Copy link to clipboard 
Print this post

  bigmik said   GDay Phil,

  Phil23 said   Hi all,

Have just had another complete crash on an MX170 Backpack.

I'm guessing as usual its due to my prototype construction, probably Wifi or coms gone crazy. That or a dodgy connection relating to power supply.


If you are interested I am happy to send you (free) either a BackPack170 or SMD-BackPack170 PCB for you to play with.

Details can be found in my Pages located here:

Micks Mites

Kind Regards,

Mick


I'd certainly appreciate that Mick.
Which ever doesn't require too much SMD work.

I've got spare 28 Pin chips here, few Regs but no SMD caps, have 47µF Tantalums.
So probably most that's needed for the non SMD version

I know where most of my issues are;
It's bloody voltage drops on the solderless breadboard;
really surprised how poor it is;
lose 50mV here, 100mV there.

Not long before 3.3 becomes 2.9 volts.

Don't know if what I've got is extremely poor quality or low QC seconds,
but all 3 of them are much the same.

That or it's really low quality material making the spring strips.

Thanks

Phil.
 
bigmik

Guru

Joined: 20/06/2011
Location: Australia
Posts: 2949
Posted: 05:23pm 05 Aug 2016
Copy link to clipboard 
Print this post

Hi Phil,

PM me with your address and I will send you a BackPack170 with SMD 47uf and VReg pre-soldered..

Kind Regards,

Mick


Mick's uMite Stuff can be found >>> HERE (Kindly hosted by Dontronics) <<<
 
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