bq28400读data flash问题
通过单片机配置data flash时,在0x00写错了命令,现在sbs可以读,但是data flash读不了,什么原因?
可以使用TI bqEVSW或者bqStudio软件来抓取下RAM寄存器信息和data flash信息,方便判断具体是哪里出问题。
谢谢你的回复,现在用bqEVSW读出status bits "SS"亮红色,请问用什么命令可以解除?
电量计为sealed 状态,
需要解锁,
To enter Full Access mode from Sealed mode in CMD (0x61), enter the 1st and 2nd bytes of the words as 0xffff and 0xffff. This instructs the bq28400 to allow Full Access to all SBS commands and data flash. The bq28400 is shipped from TI in this mode. The key for Full Access can be read and changed via the extended SBS block command FullAccessKey when in Full Access mode. Use the ManufacturerAccess command to change from Sealed to Full Access by writing the 1st word of the FullAccessKey to ManufacturerAccess followed by the second word of the FullAccessKey to ManufacturerAccess. The full access key can be read and changed via the extended SBS block command FullAccessKey when in Full Access mode. In Full Access mode, the command to go to Boot ROM can be sent.
请用FullAccessKey 来解锁