This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

BQ35100: Failed to set security mode

Part Number: BQ35100

Tool/software:

Hi Dear TI experts, 

I have trouble setting security mode from full access to unseald mode (required for reading data flash), below is the code 

                        #define SEAL_CODES_DEFAULT 0x04143672
                        data[2] = (char) (gSealCodes >> 24);
                        data[1] = (char) (gSealCodes >> 16);
                        gpI2c->write(gAddress, &(data[0]), 3);
                        delay(200);
                        data[2] = (char) (gSealCodes >> 8);
                        data[1] = (char) gSealCodes;
                        gpI2c->write(gAddress, &(data[0]), 3);
Please let me know if there's anything that's missing in setting security mode, is the seal code wrong? thanks. 
Best,
Felix