@WayneWWW
thanks, I checked the CRC value for the eeprom in address 0x50, and I was correct.
I wrote a python script to check the CRC. I tested it with the dump provided by rayer, and it came out to be 0x8a.
It didn’t fix the issue, I am still unable to flash Jetpack 5.0.2.
Error:
[ 0.0839 ] tegrarcm_v2 --new_session --chip 0x23 0 --uid --download bct_br br_bct_BR.bct --download mb1 mb1_t234_prod_aligned_sigheader.bin.encrypt --download psc_bl1 psc_bl1_t234_prod_aligned_sigheader.bin.encrypt --download bct_mb1 mb1_bct_MB1_sigheader.bct.encrypt
[ 0.0843 ] BR_CID: 0x80012344705DD3C38400000011018240
[ 0.2878 ] Sending bct_br
[ 0.5059 ] ERROR: might be timeout in USB write.
Error: Return value 3
Command tegrarcm_v2 --new_session --chip 0x23 0 --uid --download bct_br br_bct_BR.bct --download mb1 mb1_t234_prod_aligned_sigheader.bin.encrypt --download psc_bl1 psc_bl1_t234_prod_aligned_sigheader.bin.encrypt --download bct_mb1 mb1_bct_MB1_sigheader.bct.encrypt
Reading board information failed.
Here the script :
def AddToCRC(b, crc):
b2 = b
if (b < 0):
b2 = b + 256
for i in range(8):
odd = ((b2^crc) & 1) == 1
crc >>= 1
b2 >>= 1
if (odd):
crc ^= 0x8C # This means crc ^= 140.
return crc
if __name__ == "__main__":
# use the correct values
value = [0x02, 0x00, 0xfe, 0x00, 0x00]
crc = 0x0
for v in value:
crc = AddToCRC(v, crc)
print(f"crc= {hex(crc)}")