My NX demo board can't start and sdk manager can‘t flash

When I debug the I2C function, I enter two commands:
"sudo i2cset -y 0 0x50 0x20 0x55"and “sudo i2cset -y 0 0x50 0x20 0x55”;
Then my NX board couldn’t start:
error code:
SaveWindows2021_9_18_11-09-39.TXT (25.4 KB)

I want to use SDK manager to solve this problem, but I can’t succeed;
error code
sdk_manager_error.txt (4.4 KB)

hello 1848104716,

you cannot use SDKmanager to perform image flashing since you’re having a customize board.
please modify the board configuration file and run the flash.sh manually to flash the target.
you may also check developer guide, Jetson Xavier NX Adaptation and Bring-Up for reference,
thanks

I want to restore its original settings, what should I do

hello 1848104716,

it’s customization board, right?
please check developer guide to generate a specific configuration file, then using that to re-flash the target.

Not a custom board, but the official jetson Xavier NX with SD card

I accidentally manipulated these two registers while debugging the I2C function

hello 1848104716,

please try flash the board manually as below.
$ sudo ./flash.sh -r jetson-xavier-nx-devkit mmcblk0p1

you should also share the messages for reference if you’ve seen any failures.
thanks

An error occurred, the log is as follows

log_flash.txt (5.5 KB)

Parsing board information failed.

hello 1848104716,

you may program eeprom to overwrite the board info accidentally.
did you remember the exactly values you’ve programmed? please refer to Jetson Module EEPROM Layout, and assign the values through the command-line.
for example,
sudo BOARDID=<boardid> BOARDSKU=<sku> FAB=<fab> ./flash.sh -r jetson-xavier-nx-devkit mmcblk0p1

I used the command “sudo BOARDID=3668 BOARDSKU=0000 FAB=100 ./flash.sh -r jetson-xavier-nx-devkit mmcblk0p1 2>&1 | tee log_flash.txt” to burn successfully, the log is as follows
log_flash.txt (412.5 KB)

But I still can’t enter the system when it starts, the log is as follows;
start_nx.txt (86.5 KB)

hello 1848104716,

it looks flash process has complete and you’re able to boot into linux kernel.
here’s the failure.
[17:25:33.247]收←◆[ 17.068528] ERROR: mmcblk0p1 not found

is this a Jetson NX DevKit or it’s your customization board?

this is a Jetson NX

hello 1848104716,

Xavier NX with the boardsku=0000 it’s the SD card version, could you please check you’re format the SD card correctly?

Before I execute these two commands, this Jetson NX is good;
"sudo i2cset -y 0 0x50 0x20 0x55"and “sudo i2cset -y 0 0x50 0x20 0x55”;

I use another Jetson NX, SD card is good;

You shouldn’t do that i2c command on any jetson platform. It will modify the module eeprom content.

And during the flash, the flash tool will check eeprom. It notices the content is wrong, so don’t let you flash the board.

What can I do to solve this problem

Now I can flash the board. How can I make it start normally

Try to flash the board with mmcblk1p1.

If even this cannot work, then you may need to modify the device tree.

I try to flash the board with mmcblk1p1.
I used the command “sudo BOARDID=3668 BOARDSKU=0000 FAB=100 ./flash.sh -r jetson-xavier-nx-devkit
mmcblk1p1 2>&1 | tee log_flash.txt” to burn successfully, the log is as follows
log_flash.txt (412.5 KB)
But I still can’t enter the system when it starts, the log is as follows;
start_nx.txt (86.4 KB)

I don’t know which aspect of the device tree to modify