Post Reply 
HP Prime G2 firmware.....
08-27-2018, 05:14 PM
Post: #7
RE: HP Prime G2 firmware.....
(08-27-2018 12:16 PM)cyrille de brébisson Wrote:  Hello,

Actually, you could brick a G2.

The only thing to do to do so is to correctly write "bad" data in the code part of the flash.
At this point, the bootloader would load incorrect code in RAM and start execute it.

If the "modified" code is in a rarely, or non critical part of the system (a rarely used CAS fuction for example), you will still be able to use the calcualtor and update it...
But if the corruption correspond to an OS part, or a driver, then the calcualtor will crash on boot all the time Sad

This requires writing data correctly to the flash (every flash sector has ECC in it), which would be hard to do for a user, only a very serious system bug is likely to cause this type of problems...
Should the flash become "simply" corrupted (beyond ECC capacity to repare), then the bootloader is supposed to load the 2nd SW image, which is the "HP" bootlaoder and will request an update.

Should all load fails, then the NXP ROM based bootloader will take over and be detected by the con kit which will update the calculator.

In the case of a trully bricked unit (bad data correctly programmed in flash), there is still a way out.
Open the calcualtor and reboot it while shorting 2 data pin of the flash chip. This will cause every flash read to fail ECC and force the NXP bootloader to take control. At this point, you can update the calcualtor.
This happened to me a couple of times during development.

Cyrille

Are you sure that that's all?
No JTAG type re-flashing?
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
HP Prime G2 firmware..... - stefos - 08-25-2018, 07:40 PM
RE: HP Prime G2 firmware..... - DrD - 08-25-2018, 08:24 PM
RE: HP Prime G2 firmware..... - stefos - 08-26-2018, 12:41 AM
RE: HP Prime G2 firmware..... - Aries - 08-26-2018, 07:33 AM
RE: HP Prime G2 firmware..... - CyberAngel - 08-27-2018 05:14 PM
RE: HP Prime G2 firmware..... - stefos - 08-27-2018, 09:00 PM
RE: HP Prime G2 firmware..... - CyberAngel - 08-27-2018, 09:33 PM
RE: HP Prime G2 firmware..... - stefos - 08-27-2018, 09:45 PM
RE: HP Prime G2 firmware..... - CyberAngel - 08-27-2018, 09:50 PM
RE: HP Prime G2 firmware..... - stefos - 08-27-2018, 10:00 PM
RE: HP Prime G2 firmware..... - CyberAngel - 08-27-2018, 10:20 PM
RE: HP Prime G2 firmware..... - DrD - 08-27-2018, 09:10 PM
RE: HP Prime G2 firmware..... - stefos - 08-27-2018, 09:57 PM
RE: HP Prime G2 firmware..... - toml_12953 - 08-28-2018, 12:58 AM
RE: HP Prime G2 firmware..... - math7 - 08-27-2018, 10:45 PM
RE: HP Prime G2 firmware..... - stefos - 08-27-2018, 10:58 PM
RE: HP Prime G2 firmware..... - stefos - 08-27-2018, 11:57 PM
RE: HP Prime G2 firmware..... - Joe Horn - 08-28-2018, 02:53 AM
RE: HP Prime G2 firmware..... - CyberAngel - 08-28-2018, 09:34 PM



User(s) browsing this thread: 1 Guest(s)