Imax B6 clone white first line after flashing

1,086 views
Skip to first unread message

Zheliazkov

unread,
Jan 16, 2016, 3:15:33 PM1/16/16
to cheali-charger
I have Imax B6 clone. The pins layout for programming is like original. I tried to flash with cheali-charger-imaxB6-original-0.33.hex and with cheali-charger-imaxB6-clone-0.33.hex. After flashing when I turn on with the power supply i see symbols ▓ ▓ ▓ ▓ ▓ ▓ ▓ ▓ ▓ ▓ ▓ ▓ ▓ ▓ ▓ ▓ on the first line. This is the effect no matter which of them I tried. I use avrdude - GUI.
After these tries I downloaded the original firmware which I had uploaded from the CPU before tests. It started properly. Is there anything addition that I must do before downloading the new hex?

Best Regards!

JagiChan Sir

unread,
Jan 17, 2016, 7:27:07 AM1/17/16
to cheali-charger
Hi Zheliazkov,
Those square symbols show that the LCD is functioning properly and that the on-board LCD controller has initialized itself and is ready for further commands from the micro. Now if you are getting this after flashing the firmware, it seems to me that the firmware is corrupt (as flashing your original firmware seems to make it work). Did you try to flash the 1.99 version?

Regards,
JagiChan

Zheliazkov

unread,
Jan 17, 2016, 7:41:50 AM1/17/16
to cheali-charger
Hi, I flashed with cheali-charger-imaxB6-original-0.33.hex and the clone version. My charger is 50W. So I used this old version of hex. Can I try with any 80W version?

Regards

alex alex

unread,
Jan 17, 2016, 8:42:59 AM1/17/16
to cheali-charger
Hi, check the downloaded firmware size before uploading to the charger. There is no point in uploading the 80w version into 50w charger.

Paweł Si

unread,
Jan 17, 2016, 11:52:44 AM1/17/16
to cheali-charger

you should also try this:

but before you change the atmega32 fuses please save your current values:
avrdude.exe -patmega32 -cusbasp -Ulfuse:r:lfuse.bin:r -Uhfuse:r:hfuse.bin:r


Zheliazkov

unread,
Jan 17, 2016, 1:21:32 PM1/17/16
to cheali-charger
I checked the check sums. For the 2 *.hex files that I had downloaded, the FCIV shows me different code from the *.sha1 files. So which version of cheali-charger is good to download?

Regards!

Zheliazkov

unread,
Jan 24, 2016, 5:52:01 AM1/24/16
to cheali-charger
Hello again
I downloaded again the 2 hex files (0.33) - for clone one and for original one (50W Imax B6). I changed the hfuse (lfuse was the same) as in the troubleshooting manual. The result was the same with the ▓ symbols.

Do you have any other ideas?

Thank you in advance!
Regards
Yani

Paweł Si

unread,
Jan 24, 2016, 9:32:10 AM1/24/16
to cheali-charger
2016-01-24 11:52 GMT+01:00 Zheliazkov <ytszhe...@gmail.com>:
Hello again
I downloaded again the 2 hex files (0.33) - for clone one and for original one (50W Imax B6). I changed the hfuse (lfuse was the same) as in the troubleshooting manual. The result was the same with the ▓ symbols.

Do you have any other ideas?

1. check the the sha1 sum again, 
2. is your original firmware still working?
3. it's possible that you PCB layout is different, do you hear "beeps" while pressing buttons?

if 3. is true then I need a good resolution picture of you PCB to check which atmega32 pins  go to the LCD.

Zheliazkov

unread,
Jan 24, 2016, 3:50:10 PM1/24/16
to cheali-charger
Hello again,
I checked again the sha1 check sums and they were different from the *.sha1 files. I opened with notepad cheali-charger-imaxB6-
original-0.33.hex which I had downloaded. The contents inside was different from hex files. So I opened with notepad cheali-charger-imaxB6-original-0.33.hex in the gihub.com/sheali-sharger, coppied the contents and pasted in blank hex file using notepad. After that I renamed this file as the "cheali-charger .....hex" and checked the check sum. Again it was different from the *.sha1. But I installed the new created hex and voila the Imax  turned on with cheali-charger V0.33. So now I must calibrate the charger.

Thank you very much for ideas!
Best Regards
Yani

PS: which is the latest firmware for ImaxB6 50W?

c lef

unread,
Jan 26, 2016, 5:39:06 AM1/26/16
to cheali-charger
Hi every body

I have the same trouble with my imax b6ac 80w (unknown mcu), during charge time, the screen began to show Strange symbols and aftner reboot, i have this line. I can't do anything.
What do you think?

Thanks
Loeuf

Zheliazkov

unread,
Feb 6, 2016, 2:59:28 PM2/6/16
to cheali-charger
Hello again!
I calibrated the charger and tested with 3S 2200mAh battery. I see the maximum discharge current that I can set is 396mA and maximum charge current is 2200mA. Is it correct or I have problem?

Best Regards!

Zheliazkov

unread,
Feb 7, 2016, 2:37:20 PM2/7/16
to cheali-charger
Hello,
today I installed V1.99

I tested the Storage balance mode with 2200mAh 3S battery. The charge current is OK - about 5mA difference from my multi meter in 1500mA charging current.
I measured the internal resistance of 2 batteries of this type with cheali charger Imax B6 and Turnigy Reaktor 250W with the original firmware.

Battery                   Imax , mOhms                             Turnigy Reaktor , mOhms
    1                             9/11/16                                         7/7/11
    2                            22/25/29                                      12/13/28

So here the internal resistance is measured when charging/discharging. The Turnigy Reaktor measure the internal resistance in separate menu, may be the algorithm is not the same. So if these chargers are calibrated with the same multi meter the difference should be only in the algorithm (may be) or hardware (b.w. I use the same cables) or I have mistake somewhere. I can't find my mistake, I calibrated the Imax 3 times.

Regards

Paweł Si

unread,
Feb 7, 2016, 6:25:29 PM2/7/16
to cheali-charger
2016-02-06 20:59 GMT+01:00 Zheliazkov <ytszhe...@gmail.com>:
Hello again!
I calibrated the charger and tested with 3S 2200mAh battery. I see the maximum 
discharge current that I can set is 396mA

Yes, this is more or less correct, your charger can discharge only 5W.
5W/12V ~= 400mA
 
and maximum charge current is 2200mA. Is it correct or I have problem?

you should be able to charge with 4200mA (~50W/12V)

Message has been deleted

Zheliazkov

unread,
Feb 8, 2016, 3:25:11 AM2/8/16
to cheali-charger

Thank you and I am sorry for this stupid question! It is my mistake, I checked now about discharge power, yes it is 5W (although in hobbyking is written 0.1~1.0A). I thought that it is again 50W. 

What do you think about the internal resistance? Is this wrong calibration or different measurement principle ? 

Regards, Yani

Paweł Si

unread,
Feb 9, 2016, 10:23:15 AM2/9/16
to cheali-charger
it's very likely that we use different algorithms,
It would be nice to know how the Turnigy Reaktor does the measurement.
But the internal resistance measurement is not something  you should take too seriously,
You can however compare the value over time to check how your battery changes over time (what's its condition)


here are some information's about internal resistances:

Fist of all the internal resistance depends on meny factors (current charge, temperature, battery condition, ...)
 
we measure the internal resistance at to points:
I) while charging:
   1. when we start charging  (at this point the resistance is meaningless when the battery was fully discharged)
   2. when the voltage reaches 4.2V per cell 
II) while discharging:
   1. when we start discharging  
   2. when the voltage reaches 3.20 per cell (at this point the resistance is meaningless, battery is discharged)


second, the internal resistance is measured by changing the current and measuring the voltage difference on each cell:
R = (V1 - V2)/(I1 - I2)
so if you get R=29mOhms while charging with 2A
that means we measured a difference of 58mV on a cell, (current change form 0A to 2A)
The voltage differences are relatively small so is quite possible there ares errors in it.
Also if the current difference is small the voltage difference is even smaller,
which implies that the measurement during discharge (390mA) has a much bigger error.




 

Zheliazkov

unread,
Feb 9, 2016, 1:04:35 PM2/9/16
to cheali-charger
Thank you very much for your detailed answer.

Now it became interesting to me if I can find anything about the algorithm for internal resistance measurement of Turnigy Reaktor. In internet there is written that the hardware and the software are the same as iCharger.

Best regards again and nice evening!

Marcelo Cmj

unread,
May 6, 2016, 2:00:21 PM5/6/16
to cheali-charger
I know what you did!!! you have downloaded the hex like a link, and the contents "save link as" introduced HTML format in the destination file, so a corrupt file hex was saved to the charger....the fix was notepad and copy paste.....

Zheliazkov

unread,
May 14, 2016, 10:14:33 AM5/14/16
to cheali-charger
Yes, that was :) So after that I understood my lesson
Reply all
Reply to author
Forward
0 new messages