Part Number:BQ40Z60
Dear
Faced a problem when programming BQ40Z60. We want programming BQ40Z60 for Mass Production without EV2300. We write through our microcontroller. The file with the data is formed as you advised ("BQ40Z60:BQ40Z60 What data is recorded at 0010x0000...").
We used recommendations from the TRM "11.1.63 0x4000-0x5FFF Data Flash Access()". Writing for 16 bits, then we wait for a response from BQ40Z60 with a checksum check. But often we do not get any answer. The time-out was increased to 5 seconds. The recording passes, but with errors (some bits are not true).
We can not understand how to record correctly. If there is no answer, do I have to write from the previous byte or start over from the beginning (0х4000)?
At the same time, if BQ40Z60 has already been written via EV2300, it is updated through our microcontroller without problems (the recording goes without interruptions and stops). The problem with the initial recording and configuration.
The record is produced Operating Status [SEC1=0, SEC0=1] (the default setting-device is shipped from TI in this mode (full access?))
Is there an error here?
To translate into SEC1 = 1 SEC0 = 0 it is obtained only by preliminarily "Sealed" SEC1 = 1 SEC0 = 1. And then you can translate immediately into SEC1 = 1 NUC0 = 0 (This according to Table 11-2 .Security Modes - full access?!). But with this, there are difficulties with the further re-recording of the software.
We are a bit confused.
I can send a video of how the record is made (with stops) and the state of the bits after the recording (because of errors they are different).
If possible, tell me how to correctly record, what time-outs. If possible, then a small piece of code (anat@monitor-ltd.ru) so that we understand what our mistake was and correctly recorded our initial settings and thresholds.
Best regards