Hi!
Have custom pcb based on IMX6ULL.
Currently it boots using GPIO setup:
BOOT_MODE0 = 0, BOOT_MODE1 = 1,
BOOT_CFG1[3:0] = 0
BOOT_CFG1[7:4] = 0011 - Serial SPI
BOOT_CFG1[7:0] = 0
BOOT_CFG4[2:0] = 010 - ECSPI3
BOOT_CFG4[3] = 1 - SPI addressing 3 bytes.
BOOT_CFG4[5:4] = 00 - CS - SS0 selected
BOOT_CFG4[6] = 0 - Disabled EEPROM recovery
We need to set booting interface using J-link for mass production. Able to connect to pcb using JTAG and detect MCU. Not sure how to burn fuse modes according to configuration above. Does anyone has experience with it?
Hi Almaz
nxp does not support fuse programming with jtag, in general one can write
script reusing programming commands from baremetal sdk
rt-thread/bsp/imx6sx/iMX6_Platform_SDK/sdk/drivers/ocotp at master · RT-Thread/rt-thread · GitHub
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------