Fuse bootloader error

Hello

I have about 10 different boards with TK1 that I cannot burn fuses, with the error being always the same.

bootloader status: bad parameter to method or interface (code: 5) message:  FuseWrite 5805 flags: 0
command failure/warning: bootloader error

This doesn’t happen with most of the boards we have, over 100 were fused correctly with the same executable and fastboot.bin

this is the command I use to fuse them

#!/bin/bash
eval './nvflash --writefuse odmfuse_pkc.cfg --bl fastboot.bin --go'

for reference the full logs from fusing

Successful fuse:

Nvflash 4.13.0000 started
BR_CID: 0x340010017410c1060800000012020580
rcm version 0X400001
System Information:
   chip name: unknown
   chip id: 0x40 major: 1 minor: 1
   chip sku: 0x0
   chip uid: 0x000000017410c1060800000012020580
   macrovision: disabled
   hdcp: disabled
   jtag: disabled
   sbk burned: false
   board id: 0
   warranty fuse: 0
   dk burned: false
   boot device: emmc
   operating mode: 3
   device config strap: 0
   device config fuse: 0
   sdram config strap: 0

RCM communication completed
downloading bootloader -- load address: 0x83d88000 entry point: 0x83d88000
sending file: fastboot.bin
\ 1253616/1253616 bytes sent
fastboot.bin sent successfully
waiting for bootloader to initialize
bootloader downloaded successfully
- 384/384 bytes sent

Fuse details downloaded successfully
Time taken for flashing 2 Secs

Failed fuse:

Nvflash 4.13.0000 started
BR_CID: 0x340010017410b0c90000000016fb8240
rcm version 0X400001
System Information:
   chip name: unknown
   chip id: 0x40 major: 1 minor: 1
   chip sku: 0x0
   chip uid: 0x000000017410b0c90000000016fb8240
   macrovision: disabled
   hdcp: disabled
   jtag: disabled
   sbk burned: false
   board id: 0
   warranty fuse: 0
   dk burned: false
   boot device: emmc
   operating mode: 3
   device config strap: 0
   device config fuse: 0
   sdram config strap: 0

RCM communication completed
downloading bootloader -- load address: 0x83d88000 entry point: 0x83d88000
sending file: fastboot.bin
\ 1253616/1253616 bytes sent
fastboot.bin sent successfully
waiting for bootloader to initialize
bootloader downloaded successfully
- 384/384 bytes sent

Fuse details downloaded successfully
bootloader status: bad parameter to method or interface (code: 5) message:  FuseWrite 5805 flags: 0
command failure/warning: bootloader error

Thank you for your time

hello lcp,

assume you’d already refer to this application note, Tegra K1 Fuse Specification.
could you please check if these boards were already enable ODM production mode bit?
thanks

Hello,

Yes, you were right, odm_lock is already at 0x0000000f

Sorry for wasting your time, and thank you!