stawel / cheali-charger

cheap lipo charger
820 stars 273 forks source link

Support for NUC029LAN #241

Open iLLiac4 opened 6 years ago

iLLiac4 commented 6 years ago

Hi. Today i ghave received imax b6 charger with nuvoton NUC029LAN chip. Is this one supported. There also seem to be serial port located on this board. Here are the pictures of the chip and board: https://www.dropbox.com/s/81u1nllygtn7des/20171205_191059.jpg?dl=0 https://www.dropbox.com/s/rdaqme6wfllrjfo/20171205_194212.jpg?dl=0 https://www.dropbox.com/s/j1bfr9zcif31xaw/20171205_194225.jpg?dl=0

Stormwing01 commented 6 years ago

I have that exact one... If this software is not supported, where can I find one that is?

pampyras commented 4 years ago

I have the same one, made it almost working

SenasLapinas-LT commented 3 years ago

@pampyras Can you share your progress?

pampyras commented 3 years ago

@SenasLapinas-LT cannot make voltage regulator to work, so stopped for now, until have more time

SenasLapinas-LT commented 3 years ago

@pampyras Can you share your findings so far? Do you able to find schematic of this board?

pampyras commented 3 years ago

@SenasLapinas-LT contact me at gmail email, same like nickname,, will be simplier (galim ir LT)

shadowlab commented 3 years ago

I happened to pick one of these up through an eBay seller, who said that his source for them is HobbyKing direct. It seems this may be a new design. I managed to get some board pictures and preliminarily traced out the signal lines to their respective pins. This board has quite a number of non-populated headers. I'm ordered an STLink programmer to see if this is flashable next week.

front back CPU cpu_pinout

pampyras commented 3 years ago

@shadowlab if you need any tracked pinouts, I can share what I have

shadowlab commented 3 years ago

@shadowlab if you need any tracked pinouts, I can share what I have

That'd be great! I also crossposted to the google group at the following:

https://groups.google.com/g/cheali-charger/c/hzF2EVrXjpo

I'm still mostly poking around at things, and can't really test any physical device stuff until the programmer arrives. Any help is much appreciated.

pampyras commented 3 years ago

Here you go https://github.com/pampyras/imaxb6_nuvoton/blob/main/src/hardware/nuvoton-NUC029/generic/50W/imaxB6-pins.h But as I see my board is blue and has different layout, so I do not know if the pinouts will match.

shadowlab commented 3 years ago

Here you go https://github.com/pampyras/imaxb6_nuvoton/blob/main/src/hardware/nuvoton-NUC029/generic/50W/imaxB6-pins.h But as I see my board is blue and has different layout, so I do not know if the pinouts will match.

Thanks for providing that. Looking at the initial post, I actually have a Turnigy Accucel 6, and not the imaxB6. I went through and there were a few changes with the pins on mine. I'll probably mess around with it when I have some time.

sur5r commented 2 years ago

I received a "SkyRC Imax B6 Pro Evo" yesterday, genuine SkyRC product, which is also using the NUC029LAN. It reports itself as "HW: 2.0 FW: 1.06". I can provide PCB shots if wanted.

In contrast to the other pictures provided here, it does have a USB port. As the NUC029LAN does not have a USB peripheral, I guess SkyRC has implemented this via bit banging.

pampyras commented 2 years ago

Hi, maybe someone made some progress on this MCU?

Akela77 commented 1 year ago

Please say what procent of progress with this microcontroller NUC029LAN? Where can i find finished firmware file?

joshgarde commented 1 year ago

We have "alpha" support for the NUC029LAN; it mostly works, but there's still an ADC issue that causes the charger to believe there's a battery disconnect after a longer cycle. The .hex is not uploaded as I don't consider it to be in a stable enough state for release. You can build it from source though

https://github.com/stawel/cheali-charger/pull/316

diggit commented 1 year ago

Is there some reliable source of chargers with NUC029LAN MCU? I'd like to have a look on issue, @joshgarde mentioned.

joshgarde commented 1 year ago

The EVPeak CQ3 line (I think they rebranded recently) have been updated to use the NUC029LAN. The issue is that they're pricier chargers (~$160 on GetFPV) because they're quad channel. I haven't looked into EVPeak's other offerings

joshgarde commented 1 year ago

Programming the CQ3 line also isn't hard as the button header acts as a programming header as well. Standard ARM toolchain flashing works, but the MCU has to be unlocked first