Other Parts Discussed in Thread: BQ20Z40, BQ20Z80, BQEVSW
A friend of mine repairs accu packs. He replaces the old Lion batteries with new ones
and (re)programs the BQ20Z45 BMS. This works very well, albeit that his 'production
procedure' is very cumbersome, irritating and complicated.
To help him, I wrote software to automate the whole (re)programming process, i.e.:
Place the pack in the charger, the software does its thing and after succesfully
(re)programming the BMS, morse code 'R' (.-. for 'roger') sounds, after which the
pack may/can be removed. This works perfectly.
The issue I have, is that my friend insists uploading a 'clean' (or 'known to work
properly') firmware file to the pack first, and then (re)program the BMS with his
proven parameters (such as design capacity etc, and a serial number).
In the BQ20Z40/BQ20Z45 Technical Reference (TR) document I read on p53 the
device can be put in BootROM mode. Unfortunately no more information is
given in this document.
After some googling I found some issues concerning BootROM mode here.
However, as far as I could ascertain, it only deals with the TI Battery Tool.
Before I enter the I2C-sniffing mode, is there a document where this BootROM mode
and/or protocol description is explained?
What I want to know is:
1. After entering BootROM mode exactly what to send to the device to accept a
long datastring (i.e. firmware file) and what the format has to be (of course hex or bin,
but is there a need for a length word, etc etc)
2. After the firmware has been uploaded what is the response of the device
(if there is any) and how to enter normal mode (I read something about addr 0x0D).
Kind regards & thanks in advance