![]() |
Forum Index : Microcontroller and PC projects : Complete Crash...
Author | Message | ||||
Phil23 Guru ![]() Joined: 27/03/2016 Location: AustraliaPosts: 1667 |
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 ZealandPosts: 9590 |
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: ![]() 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. Smoke makes things work. When the smoke gets out, it stops! |
||||
bigmik![]() Guru ![]() Joined: 20/06/2011 Location: AustraliaPosts: 2949 |
GDay Phil, 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: AustraliaPosts: 1667 |
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: AustraliaPosts: 2949 |
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) <<< |
||||
![]() |
![]() |
The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |