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.

BQ34110: How to exit ROM mode

Part Number: BQ34110

Hello, I'm testing the dataflash loading code. It appears to parse and run correctly, but at the end the bq34110 stays in ROM mode (i2c address 0x16) and is not going back to normal mode.

How do I exit ROM mode? Why do the last two lines to execute not execute?

W: 16 00 0F\n\
W: 16 64 0F 00\n\

Below is the very basic flashstream contents that I'm using to test the parser. I took the main flashstream file and chopped out the middle section. Is this a valid flashstream test? If not can you please send me one? The parsing works fine but again, it is not executing correctly.

char* df = ";--------------------------------------------------------\n\
;Verify Existing Firmware Version\n\
;--------------------------------------------------------\n\
W: AA 3E 02 00\n\
C: AA 3E 02 00 01 10 00 02\n\
;--------------------------------------------------------\n\
;Unseal device\n\
;--------------------------------------------------------\n\
W: AA 00 14 04\n\
W: AA 00 72 36\n\
W: AA 00 FF FF\n\
W: AA 00 FF FF\n\
X: 1000\n\
;--------------------------------------------------------\n\
;Go To ROM Mode\n\
;--------------------------------------------------------\n\
W: AA 00 00 0F\n\
X: 1000\n\
;--------------------------------------------------------\n\
;TEST\n\
;Data Block\n\
;--------------------------------------------------------\n\
X: 1000\n\
;--------------------------------------------------------\n\
;Execute Flash Code\n\
;--------------------------------------------------------\n\
W: 16 00 0F\n\
W: 16 64 0F 00\n\
X: 4000\n\
";