HobbyKing.com New Products Flash Sale
Reply
Thread Tools
Old Jan 06, 2011, 12:16 PM
throw new IOPilotException();
IceWind's Avatar
Ireland, County Dublin, Dublin
Joined Feb 2005
2,691 Posts
The piracy issue could be arguable.

But I'd like to see this shared exactly for what it was referred on the last post.
If someone would change the FW to allow a easier setting correction values for the individual cells readings for example, it would transform a brick into a useful charger.
Myself I gave up on this charger and order a new one.

Btw the file is called "Imax B6 firmware.zip or .rar" but has no seeds.
Mine is so far off that I wouldn't even mind flashing a crazy FW if it would make it work better. Last time I tried it would detect cells as 4.20v while I was measuring 4.03v.
IceWind is offline Find More Posts by IceWind
Reply With Quote
Sign up now
to remove ads between posts
Old Jan 06, 2011, 02:58 PM
sp5
Registered User
Joined Sep 2010
69 Posts
If anyone reading this has experience in AVR assembly -- especially for the ATMega32 (I am) -- then we could work together to produce a new firmware. Please PM me.
sp5 is offline Find More Posts by sp5
Reply With Quote
Old Jan 07, 2011, 01:39 PM
sp5
Registered User
Joined Sep 2010
69 Posts
simonk's mystery charger has an identical firmware. Well, almost. (So the MD5's don't match, but check this out: )
Code:
 000067d0  54 20 20 00 20 41 74 00  20 4d 6e 00 20 41 75 74  |T  . At. Mn. Aut|
-000067e0  00 20 4d 61 6e 00 44 49  53 43 48 41 52 47 45 00  |. Man.DISCHARGE.|
+000067e0  00 20 4d 61 78 00 44 49  53 43 48 41 52 47 45 00  |. Max.DISCHARGE.|
 000067f0  20 20 20 4e 4f 2d 55 53  45 00 20 20 20 20 20 41  |   NO-USE.     A|
 00006800  55 54 4f 00 53 54 4f 52  41 47 45 00 46 41 53 54  |UTO.STORAGE.FAST|
 00006810  20 43 48 47 00 42 41 4c  41 4e 43 45 00 43 48 41  | CHG.BALANCE.CHA|

 00006a90  4f 57 20 56 4f 4c 54 41  47 45 00 42 41 54 54 45  |OW VOLTAGE.BATTE|
-00006aa0  52 59 20 43 48 45 43 4b  2e 2e 2e 00 20 20 20 20  |RY CHECK....    |
+00006aa0  52 59 20 43 48 45 43 4b  2e 2e 2e 00 20 20 20 44  |RY CHECK....   D|
-00006ab0  20 20 42 36 20 20 20 20  20 00 69 6d 61 78 52 43  |  B6     .imaxRC|
+00006ab0  69 73 63 68 61 72 67 65  20 00 43 68 61 72 67 65  |ischarge .Charge|
 00006ac0  00 43 41 4e 43 45 4c 28  53 54 4f 50 29 00 53 41  |.CANCEL(STOP).SA|
 00006ad0  56 45 28 45 4e 54 45 52  29 20 00 56 4f 4c 3a 00  |VE(ENTER) .VOL:.|
If you really want to flash a firmware from a no-name clone that displays "Discharge" "Charge" when you boot it up -- because that's all they did to the firmware: replace the brand name with some generic words -- well, I'd be fine posting it somewhere. simonk, I'm waiting a couple days if you have any reservations you can PM me or post here. Otherwise I'll post the firmware.
sp5 is offline Find More Posts by sp5
Reply With Quote
Old Jan 07, 2011, 01:50 PM
throw new IOPilotException();
IceWind's Avatar
Ireland, County Dublin, Dublin
Joined Feb 2005
2,691 Posts
That's what I thought they did.
Simply changed the display name and that's it, the HW is basically it's almost or even the same.

Thanks for sharing.


What's you plan, do a FW from scratch or change the existing one?
IceWind is offline Find More Posts by IceWind
Reply With Quote
Old Jan 07, 2011, 02:33 PM
sp5
Registered User
Joined Sep 2010
69 Posts
I can probably release simonk's (assuming I don't hear from him first) because they didn't protect his charger and as far as anyone knows they are not claiming copyright on the firmware. (And it should be legally supportable to claim they don't have a valid copyright on their firmware.)

I'd much prefer to use a GPL firmware. I can think of a hundred improvements off the top of my head - first of all, a better PC link. But I don't want to do it all by myself, so anyone who wants to work on it, please brush up on ATMega32 assembly.
sp5 is offline Find More Posts by sp5
Reply With Quote
Old Jan 07, 2011, 03:43 PM
throw new IOPilotException();
IceWind's Avatar
Ireland, County Dublin, Dublin
Joined Feb 2005
2,691 Posts
I started working on the AVR ASM for the Quads but I'm very far from mastering it.
But I can try and help, still I'd much prefer AVR C instead.
What's the code size that you have, does it fill the ATmega32?
IceWind is offline Find More Posts by IceWind
Reply With Quote
Old Jan 07, 2011, 03:46 PM
Registered User
Joined Feb 2008
12 Posts
Quote:
Originally Posted by dusk View Post
I think that I saw a torrent of it floating around the net.
Hello

I've found, but has no seeds or peers, only 14.7 kb but impossible to download.

Thanks
benavide is offline Find More Posts by benavide
Reply With Quote
Old Jan 08, 2011, 03:59 PM
hacker
Canada, BC, North Vancouver
Joined Dec 2010
936 Posts
Quote:
Originally Posted by sp5 View Post
simonk's mystery charger has an identical firmware. Well, almost. (So the MD5's don't match, but check this out: )
Code:
 000067d0  54 20 20 00 20 41 74 00  20 4d 6e 00 20 41 75 74  |T  . At. Mn. Aut|
-000067e0  00 20 4d 61 6e 00 44 49  53 43 48 41 52 47 45 00  |. Man.DISCHARGE.|
+000067e0  00 20 4d 61 78 00 44 49  53 43 48 41 52 47 45 00  |. Max.DISCHARGE.|
 000067f0  20 20 20 4e 4f 2d 55 53  45 00 20 20 20 20 20 41  |   NO-USE.     A|
 00006800  55 54 4f 00 53 54 4f 52  41 47 45 00 46 41 53 54  |UTO.STORAGE.FAST|
 00006810  20 43 48 47 00 42 41 4c  41 4e 43 45 00 43 48 41  | CHG.BALANCE.CHA|

 00006a90  4f 57 20 56 4f 4c 54 41  47 45 00 42 41 54 54 45  |OW VOLTAGE.BATTE|
-00006aa0  52 59 20 43 48 45 43 4b  2e 2e 2e 00 20 20 20 20  |RY CHECK....    |
+00006aa0  52 59 20 43 48 45 43 4b  2e 2e 2e 00 20 20 20 44  |RY CHECK....   D|
-00006ab0  20 20 42 36 20 20 20 20  20 00 69 6d 61 78 52 43  |  B6     .imaxRC|
+00006ab0  69 73 63 68 61 72 67 65  20 00 43 68 61 72 67 65  |ischarge .Charge|
 00006ac0  00 43 41 4e 43 45 4c 28  53 54 4f 50 29 00 53 41  |.CANCEL(STOP).SA|
 00006ad0  56 45 28 45 4e 54 45 52  29 20 00 56 4f 4c 3a 00  |VE(ENTER) .VOL:.|
If you really want to flash a firmware from a no-name clone that displays "Discharge" "Charge" when you boot it up -- because that's all they did to the firmware: replace the brand name with some generic words -- well, I'd be fine posting it somewhere. simonk, I'm waiting a couple days if you have any reservations you can PM me or post here. Otherwise I'll post the firmware.
I don't mind you posting it, and I saw no copyrights in the binary either, but I wonder why everybody is interested in getting a copy. If yours and mine was unlocked, surely everybody else who wants to mess with it can just download and modify their own version, which is probably safer than randomly putting another version on.

I haven't seen any bugs with mine yet. I've never seen the current go beyond what I specify. In fact, I've been really happy with this thing, now that it is finally calibrated.

Yeah, I'd like to make some improvements as well, like reducing the start button wait time, start to skip wait time during cycling, temperature monitoring enabled with lipos, etc., etc... I worry that if posted, though, somebody's charger might have inverted balancer pins and shipped firmware to match, and so just throwing some other firmware might look to be working, but then blow up a lipo in somebody's face. That would kind of suck. Note this if you post it.

My copy is 27788 bytes on a 32768 byte flash chip, so there is some room for more than a copyright notice. The iCharger firmwares seem to be in the 64kB territory, unless it's just that they're encoded in some way, so they're probably quite different. Some screens look similar, though, so maybe they were originally based on this firmware? Anyway, I'd also be interested in a disassembly, if somebody has the tools. Cheers
simonk is offline Find More Posts by simonk
Reply With Quote
Old Jan 08, 2011, 06:12 PM
sp5
Registered User
Joined Sep 2010
69 Posts
I totally agree. If you go to the risk of replacing your "working" (I know, they don't work very well) charger's firmware with a firmware from the *wrong* brand of charger, with absolutely no guarantee that it will do anything except crash, ...

Don't hook LiPos up to this sort of Frankenstein! Please!
sp5 is offline Find More Posts by sp5
Reply With Quote
Old Jan 08, 2011, 11:31 PM
hacker
Canada, BC, North Vancouver
Joined Dec 2010
936 Posts
Then again, uncalibrated-from-the-factory chargers are probably more dangerous, since people who have little idea what is going on will just trust the display, and that would be worse. The reason I bothered to solder the ISP was to enable the calibration menu.

I'd be interested to see if anybody else with a Mystery charger like mine has the same eeprom values. I suspect the factory just set the flash and eeprom to something they copied from another charger for all builds, since there is no way they would have shipped it with it so far out of calibration.

So, what sort of features are you interested in?
simonk is offline Find More Posts by simonk
Reply With Quote
Old Jan 09, 2011, 12:58 AM
Crashing on a budget.
dusk's Avatar
Canberra, Australia
Joined Oct 2007
155 Posts
Quote:
Originally Posted by simonk View Post
So, what sort of features are you interested in?
How about calculating a battery's internal resistance?

Also, a mode where you can get the charger to act as an adjustable power supply to drive things such as hot wire cutters.
dusk is offline Find More Posts by dusk
Reply With Quote
Old Jan 09, 2011, 09:10 AM
throw new IOPilotException();
IceWind's Avatar
Ireland, County Dublin, Dublin
Joined Feb 2005
2,691 Posts
And have the calibration menu accessible at all time.
IceWind is offline Find More Posts by IceWind
Reply With Quote
Old Jan 10, 2011, 07:09 PM
Registered User
nysom's Avatar
Upstate NY
Joined Jan 2008
200 Posts
Well my USBasp came in today and guess what? Yep, its locked. I give up...
nysom is offline Find More Posts by nysom
Reply With Quote
Old Jan 10, 2011, 10:37 PM
hacker
Canada, BC, North Vancouver
Joined Dec 2010
936 Posts
Quote:
Originally Posted by nysom View Post
Well my USBasp came in today and guess what? Yep, its locked. I give up...
If it's locked, you can still try flashing another firmware, assuming they didn't modify it in an incompatible way. If you don't mind giving up to the extent of possibly having to write your own modifications to make it useful again, you could try flashing over it. Or, maybe it would let you clear just the eeprom, which would let you enable the calibration menu (not sure on if that is possible when it is locked). Also, how do you know it is locked? Does it read back as 00 00 01 01 02 02 etc, or does it just not identify the part signature? Mine had a messed up signature, but everything else still worked.
simonk is offline Find More Posts by simonk
Reply With Quote
Old Jan 11, 2011, 01:13 AM
Registered User
nysom's Avatar
Upstate NY
Joined Jan 2008
200 Posts
Well the Lock Fuse is set to 0xF8 (11111000) and I think it would take a full erase to reset those bits so I would loose everything. This is one of those mystery b6 like dealextreme was selling.
nysom is offline Find More Posts by nysom
Reply With Quote
Reply


Thread Tools

Similar Threads
Category Thread Thread Starter Forum Replies Last Post
Service Menu for JR 9303 / JR PCM9XII Annette38 Radios 17 Jun 26, 2013 02:06 AM
FAQ Accessing the JR XP6102 Service Menu hilgert Volenti Non Fit Injuria Extrema 68 Jan 26, 2009 06:03 PM
Futaba 7C Service Menu Pete K Radios 2 Oct 16, 2005 07:42 PM
JR X347 service menu query aduncan Radios 0 Sep 09, 2005 07:39 PM