Author Topic: Youyue 858D+ some reverse engineering + custom firmware  (Read 419427 times)

0 Members and 8 Guests are viewing this topic.

Offline Gixy

  • Regular Contributor
  • *
  • Posts: 233
  • Country: fr
Re: Youyue 858D+ some reverse engineering + custom firmware
« Reply #275 on: March 29, 2016, 12:57:29 pm »
@GiantGnome:
Did you manage to find a probe able to measure more than 250°? It should be interesting to work together on the 230V version of this device in order to find the best combination of PID parameters.
 

Offline doctormord

  • Regular Contributor
  • *
  • Posts: 190
  • Country: cx
  • !nop
    • #fine_arts & #electronics - 360customs.de
Re: Youyue 858D+ some reverse engineering + custom firmware
« Reply #276 on: April 09, 2016, 10:50:25 pm »
Hi guys,

i received a "Kaleep 8586" 2in1 station today (hotair + soldering iron), bought because the possibility to change the firmware. :)

To my suprise, the non-modified station acts pretty much like the alternative firmware in the mean that it is not showing the set temperature only, but the real air temperature after ~1 second. Also heating phases are indicated by the small dot on the right. Secondly, when putting back the handle into the holder, the controller keeps "blowing" until the temperature is < 100°C.

As i haven't read through the whole thread yet, is this as expected? From my knowledge, the "Youyues" are only showing the setpoint and some linear ramp + they don't do a cooldown.

Regards,

Christian
#fine_arts & #electronics  - www.360customs.de
 

Offline bitseeker

  • Super Contributor
  • ***
  • Posts: 9057
  • Country: us
  • Lots of engineer-tweakable parts inside!
Re: Youyue 858D+ some reverse engineering + custom firmware
« Reply #277 on: April 10, 2016, 10:13:23 pm »
The Youyue's show the actual temp and do cool the heater when in the cradle. One of the major issues with the stock firmware is that when the actual temp approaches the set temp, the display locks onto the set temp so that it looks like it's ready when, in reality, it's overshooting. In essence, it's fake accuracy. The modded firmware has better temp control and doesn't hide the actual temp when near the set point.
TEA is the way. | TEA Time channel
 

Offline doctormord

  • Regular Contributor
  • *
  • Posts: 190
  • Country: cx
  • !nop
    • #fine_arts & #electronics - 360customs.de
Re: Youyue 858D+ some reverse engineering + custom firmware
« Reply #278 on: April 10, 2016, 10:16:15 pm »
Hmm, mine does show the overshoot temperature as well, like set to 280 and air "4", it goes/overshoot up to ~305 and then cools down until temp is reached.  :-/O
#fine_arts & #electronics  - www.360customs.de
 

Offline bitseeker

  • Super Contributor
  • ***
  • Posts: 9057
  • Country: us
  • Lots of engineer-tweakable parts inside!
Re: Youyue 858D+ some reverse engineering + custom firmware
« Reply #279 on: April 10, 2016, 10:19:20 pm »
Oh, that's good. Makes you wonder if it's using this mod or their own correction to that behavior. I don't remember all the differences between the stock and mod firmwares, but if you're curious, then it'd be good to compare yours to the modded one feature-for-feature.
TEA is the way. | TEA Time channel
 

Offline doctormord

  • Regular Contributor
  • *
  • Posts: 190
  • Country: cx
  • !nop
    • #fine_arts & #electronics - 360customs.de
Re: Youyue 858D+ some reverse engineering + custom firmware
« Reply #280 on: April 11, 2016, 01:13:39 am »
Yeah, maybe the skipped their own R&D and flashed the mod already at the fab. Will have a look into it again and post some pics.

Thanks. :)
#fine_arts & #electronics  - www.360customs.de
 

Offline kmlee

  • Newbie
  • Posts: 3
  • Country: sg
Re: Youyue 858D+ some reverse engineering + custom firmware
« Reply #281 on: April 16, 2016, 11:54:16 am »
Hi to all

After the marvellous work started by Robert aka Madworm, I took the plunge and just ordered a youyue 858D+ but I report some not so good news:

The product was from banggood, but the PCB showed a MK1841D3 processor -  >:(
I had half a mind to send it back - but based on what?

I would guess that the cheapest processor wins out - I'll post more later, but it would seem that these Taiwanese chips would win out...and maybe the days of the atmel chips are numbered  :'(

But there is hope in the work of wguibas...to which I thank a heap as well!
 

Offline kmlee

  • Newbie
  • Posts: 3
  • Country: sg
Re: Youyue 858D+ some reverse engineering + custom firmware
« Reply #282 on: April 16, 2016, 12:42:30 pm »
Hi to all

After some investigation, it seems the MK1841D3 besides being a clone of a Samsung (reply #171) is a custom ROM programmed version of the MK7A23 microcontroller from Mikkon Technology http://www.mikkon.com/ or just search for ??. The datasheet can be found here:

http://www.mikkon.com/datasheet/8bit/MK7A23P%20v07.pdf.

This company seems to be Taiwanese with manufacturing done in China.

Further searching in Chinese mentions that this chip has the same core (=code compatible?) with the Samsung s3F9454 - see https://detail.1688.com/offer/598345751.html.
It seems Zilog has bought over the Samsung microcontroller setup and there is a C compiler for the S3F9xx chip, which is actually based on the KS58 family.

With regards to my previous post, where I found a MK1841D3 instead of an Atmel chip in my Youyue 858D+ (sticker says - left factory - March 2016) it could signal a move to using the presumably lower cost Mikkon chip rather than the Atmel.

I say this because now, how can one be *sure* of ever getting an Atmel powered device?  :'(
« Last Edit: April 16, 2016, 02:55:50 pm by kmlee »
 
The following users thanked this post: carpin

Offline kmlee

  • Newbie
  • Posts: 3
  • Country: sg
Re: Youyue 858D+ some reverse engineering + custom firmware
« Reply #283 on: April 16, 2016, 01:05:43 pm »
Hi again

After posting, I looked a bit more and saw that Zilog, (now part of ixsys) do offer samples for their S3 family. They are in circuit flash programmable in the same way as the Atmels. It may be that the Mikkon parts are too! - but a s3F94C8 (s3F9458 are obsolete now) could fit in the socket. Hopefully there is a free C compiler for the part.

So this could be a possible direction for development?

Cheers!
 

Offline steve41993

  • Newbie
  • Posts: 8
  • Country: de
Re: Youyue 858D+ some reverse engineering + custom firmware
« Reply #284 on: April 17, 2016, 02:58:27 pm »
Hi,
finally i got all parts for my adapter PCB. But I'm getting in some trouble with flashing the Atmega328p. I got some in the MLF(32pins) package from aliexpress. They behave a bit strange:
First of all i need to apply a clock to it (without clock nothing happens on the MISO). I thought that they are using the internal oscillator by default. To solve this problem I'm using a xmega-A1 xplained borad and generate a clock with around 680kHz.
Now the chip seems to be alive but the device programming dialog in Atmel Studio shows always the wrong device signature: 0xFFFFFF
Can someone give me some hints how to solve this problem?

In the attachments are some measurements with a working ISP (also a atmega328p but in a DIP package) connection and one with the fault.
 
The following users thanked this post: carpin

Offline madwormTopic starter

  • Frequent Contributor
  • **
  • Posts: 371
  • Country: de
Re: Youyue 858D+ some reverse engineering + custom firmware
« Reply #285 on: April 17, 2016, 03:50:46 pm »
Try slowing down programming speed as far down as it can go.

If I remember correctly, ISP clock <= system clock.
 

Offline steve41993

  • Newbie
  • Posts: 8
  • Country: de
Re: Youyue 858D+ some reverse engineering + custom firmware
« Reply #286 on: April 17, 2016, 05:08:07 pm »
Hi,
I've tried every single speed (from ~2kHz up to 250kHz or so). But every time i got the same result... The timings look always exactly the same (wrong). The max ISP clock is 1/4 of the system clock.
 

Offline madwormTopic starter

  • Frequent Contributor
  • **
  • Posts: 371
  • Country: de
Re: Youyue 858D+ some reverse engineering + custom firmware
« Reply #287 on: April 17, 2016, 05:18:27 pm »
Can you tell studio to ignore the device signature and get it to at least blink an LED?

I hope you did not spend too much on those "atmel" chips.
 

Offline steve41993

  • Newbie
  • Posts: 8
  • Country: de
Re: Youyue 858D+ some reverse engineering + custom firmware
« Reply #288 on: April 17, 2016, 06:28:26 pm »
Ok, got it to work now.
1. Install drivers for for avrdude and Winavr
2. Read fuses with the -F (disable device signature) command (with external clock)
3. Write new fuses with the -F command (with external clock)
4. Write program still with -F (without external clock)
5. LED is blinking now  ;D (without external clock)

But i got still the wrong device signature. Hope I can fix this.
 

Offline stj

  • Super Contributor
  • ***
  • Posts: 2186
  • Country: gb
Re: Youyue 858D+ some reverse engineering + custom firmware
« Reply #289 on: April 27, 2016, 06:03:02 pm »
the device sig can probably be erased and re-written.
i have done this by accident on pic chips.

it sounds like the chips you have are "recovered" and have been erased.
that's why the device id is "FF" and probably all the fusebits were set to 1 - causing your clock problems.
 

Offline JackM

  • Regular Contributor
  • *
  • Posts: 63
  • Country: ca
Re: Youyue 858D+ some reverse engineering + custom firmware
« Reply #290 on: April 30, 2016, 07:58:44 pm »
Does the Youyue 858D branded model exist at all in a 110VAC / 120VAC version? The only ones I am finding are all 220VAC input rated.
 

Offline Shock

  • Super Contributor
  • ***
  • Posts: 4275
  • Country: au
Re: Youyue 858D+ some reverse engineering + custom firmware
« Reply #291 on: May 01, 2016, 01:49:19 am »
Does the Youyue 858D branded model exist at all in a 110VAC / 120VAC version? The only ones I am finding are all 220VAC input rated.

ebay.com
Soldering/Rework: Pace ADS200, Pace MBT350
Multimeters: Fluke 189, 87V, 117, 112   >>> WANTED STUFF <<<
Oszilloskopen: Lecroy 9314, Phillips PM3065, Tektronix 2215a, 314
 

Offline JackM

  • Regular Contributor
  • *
  • Posts: 63
  • Country: ca
Re: Youyue 858D+ some reverse engineering + custom firmware
« Reply #292 on: May 01, 2016, 01:54:56 am »
Does the Youyue 858D branded model exist at all in a 110VAC / 120VAC version? The only ones I am finding are all 220VAC input rated.

ebay.com

Where? Honestly. I've searched and every one of the Youyue brand ones I've seen are 220V. The ad may say 110V/220V, but pictures show only 220VAC input. I have not found one being sold that says it takes 110VAC and has the pictures to prove it.
 

Offline bitseeker

  • Super Contributor
  • ***
  • Posts: 9057
  • Country: us
  • Lots of engineer-tweakable parts inside!
Re: Youyue 858D+ some reverse engineering + custom firmware
« Reply #293 on: May 01, 2016, 04:50:58 am »
I've seen lots of them. Here's the first one that came up for me. It has the brand, the correct cable, and 110VAC printed on the back. There shouldn't be a shortage of them.

http://www.ebay.com/itm/152069653907



TEA is the way. | TEA Time channel
 

Offline JackM

  • Regular Contributor
  • *
  • Posts: 63
  • Country: ca
Re: Youyue 858D+ some reverse engineering + custom firmware
« Reply #294 on: May 01, 2016, 04:59:46 pm »
Thanks bitseeker. I'd love to buy that exact one but unfortunately they do not ship to Canada... Seems that when I was searching for a listening it was only showing me ones that would ship to Canada, and because of that I didn't see any of the Youyue branded ones that were 110VAC.
 

Offline bitseeker

  • Super Contributor
  • ***
  • Posts: 9057
  • Country: us
  • Lots of engineer-tweakable parts inside!
Re: Youyue 858D+ some reverse engineering + custom firmware
« Reply #295 on: May 01, 2016, 08:48:48 pm »
Yes, that is an important factor that could significantly change what you see vs. what I do.
TEA is the way. | TEA Time channel
 

Offline kcbrown

  • Frequent Contributor
  • **
  • Posts: 896
  • Country: us
Re: Youyue 858D+ some reverse engineering + custom firmware
« Reply #296 on: May 05, 2016, 10:02:30 am »
You should just get this one, it is cheaper and doesn't require an adapter board if they are still shipping the real one that I got. 


http://www.amazon.com/gp/product/B00P8Z4RPG?psc=1&redirect=true&ref_=oh_aui_search_detailpage

I ordered that very unit from that very link.  And what I got is a "UYue 858D", not a "Youyue 858D".  Mine has the MK1841D3 microcontroller.

I'm slightly tempted to return it, but if even the "Youyue" versions now have the Samsung-based microcontroller (or a clone of that), then there probably wouldn't be any point.  And since there's an adapter board for this now, I doubt I'd be gaining much in the process anyway.

Between my experience and kmlee's, I don't even know if it's possible to get the original one with the Atmel microcontroller anymore.
« Last Edit: May 05, 2016, 10:18:01 am by kcbrown »
 

Offline spinkidiver

  • Newbie
  • Posts: 3
  • Country: ve
Re: Youyue 858D+ some reverse engineering + custom firmware
« Reply #297 on: May 05, 2016, 03:17:11 pm »
Hello friends .! Excuse me but my english isn't good. I want to buy a 2 in 1 station soldering. i'm between  two options.
a) Yihua 8786D (60 $). http://www.amazon.com/Soldering-Rework-Station-Solder-Display/dp/B00XTK1JLC/ref%3Dsr_1_1&usg=ALkJrhj5y03iaLmqGGn1BjHwqSHx2VQrsA
b) Youyue 8586 (54 $). http://www.amazon.com/Rework-Soldering-Station-Solder-Nozzles/dp/B00P8Z4RQ0/ref=sr_1_1?ie=UTF8&qid=1462460214&sr=8-1&keywords=youyue+8586

Can you talk about these? quality? durability? Tips useful(hakko)? i prefer option A, because it have more certifications (for example: CE). But youyue is more cheap and i could buy best tips similiar to hakko or http://www.amazon.com/Marrywindix-Anti-static-Non-magnetic-Electronics-Jewelry-making/dp/B00DVIEJ14?ie=UTF8&psc=1&redirect=true&ref_=ox_sc_act_title_1&smid=A17ZZD0COKS85P. I read  comments but i don't understand all. I wiil not change (mod) the station, only i want one station of quality for the price.
« Last Edit: May 05, 2016, 08:41:00 pm by spinkidiver »
 

Offline bitseeker

  • Super Contributor
  • ***
  • Posts: 9057
  • Country: us
  • Lots of engineer-tweakable parts inside!
Re: Youyue 858D+ some reverse engineering + custom firmware
« Reply #298 on: May 05, 2016, 05:22:06 pm »
Hi spinkidiver,

Welcome to the forum.

The 8786D that you linked to has the correct title, but incorrect images and price (858D). Perhaps you meant this one http://www.amazon.com/Soldering-Rework-Station-Solder-Display/dp/B00XTK1JLC/ref=sr_1_1

I have the 8586 and it works well. I prefer the separate temperature controls for hot air and soldering iron on the 8586. As for quality and durability, the only way to know is to buy one. The insides can change in time, so I wouldn't try to predict what you will get.

As far as certifications, I wouldn't look too seriously at any of them on these brands of devices.
TEA is the way. | TEA Time channel
 
The following users thanked this post: spinkidiver

Offline spinkidiver

  • Newbie
  • Posts: 3
  • Country: ve
Re: Youyue 858D+ some reverse engineering + custom firmware
« Reply #299 on: May 05, 2016, 08:53:45 pm »
Hi spinkidiver,

Welcome to the forum.

The 8786D that you linked to has the correct title, but incorrect images and price (858D). Perhaps you meant this one http://www.amazon.com/Soldering-Rework-Station-Solder-Display/dp/B00XTK1JLC/ref=sr_1_1

I have the 8586 and it works well. I prefer the separate temperature controls for hot air and soldering iron on the 8586. As for quality and durability, the only way to know is to buy one. The insides can change in time, so I wouldn't try to predict what you will get.

As far as certifications, I wouldn't look too seriously at any of them on these brands of devices.


Thanks..!
already I edited the link,  about the temperature controls is not very important because only will be back up(iron), i have a soldering iron. if I will not look too seriously the certifications i will choose 8586 for price. I live in latinoamerican. the wheather is hot (35 ºC   :phew:). i read the yihua's triac can be burn. What is quality for youyue?
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf