PN5180 Brick after interrupted FW download

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

PN5180 Brick after interrupted FW download

1,070 Views
danielperry
Contributor I

Hi,

I'm using the download library to update the PN5180 FW. After interrupting a download, I'm no longer able to communicate with the chip, in neither normal mode nor download communication modes. Attempting to revive the chip by reprogramming it I restart the download process. Stepping into the phDlhalHw_Pn5180_Download_PerformSecureFirmwareUpdate() function, the first few exchanges with the chip successfully return but at some point I get an incorrect value in wRespLenInHeader (phDownload_lib.c, line 432) and exit with download protocol error. 

If I let the code run the phDlhalHw_Pn5180_Download_CheckIntegrity() function it returns:

TableOk = 0x58

FunctionCodeOK = 0x02

PatchCodeOk = 0

UserDataOk = 0

Is there any method I can use to un-brick the chip?

Thanks,

Daniel

0 Kudos
1 Reply

847 Views
Jonathan_Iglesias
NXP TechSupport
NXP TechSupport

Dear Daniel Perry,

Hope you are doing great, I think the problem here is that you need to update the firmware. There are some functions in an EEPROM memory, if this functions are not updated the code will stuck because the demo is looking for and updated version. Please check this document explaining how to update the EEPROM.

PN5180 Secure firmware update.

Have a wonderful day!

Best Regards.

Jonathan

0 Kudos