How to put Jetson Nano in recovery mode?

I am trying to enable SPI on the Jetson Nano and I found a github repository ( that should enable it for me. The program requires the nano to be in recovery mode. I’ve tried jumping pins 3 and 4 on J40 headers but the nano won’t boot when those are connected. Any help would be appreciated. If there is another way to enable SPI and someone is willing to break down the process for me that would be great too. I am not an experienced software developer so I was unable to understand other guides for enabling SPI.

Have a reference to below topic to update DTB without flash device in recovery mode.

You will see the pin label from the back of the board. It will be pin [3 4] or [5 6] counted depend on how you see. I made a mistake by doing the wrong jumper.