Author Topic: CFW for KSGER/Quicko STM32 Soldering Stations  (Read 677408 times)

LILO, oleg401169 and 3 Guests are viewing this topic.

Offline Bozog

  • Contributor
  • Posts: 45
  • Country: gb
Re: CFW for STM32 OLED Digital Soldering Station with T12 Handle
« Reply #550 on: January 04, 2021, 10:38:58 pm »
I have tested leaving it unattended for some period of time, and it hasn't burned my shed down yet 👍
 

Offline jesusvallejo

  • Regular Contributor
  • *
  • Posts: 66
  • Country: es
Re: CFW for STM32 OLED Digital Soldering Station with T12 Handle
« Reply #551 on: January 05, 2021, 12:33:11 am »
Im no designer but i have made my own splash mb its of your taste , probably not  :-DD
Code: [Select]
const uint8_t splashBMP[] = {
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x7f, 0x3f, 0x3f, 0x1f, 0x8f, 0x8f, 0x87, 0x07,
0x07, 0x03, 0xff, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x07, 0x07, 0x07, 0x0f, 0x0f,
0x1f, 0x3f, 0x3f, 0x7f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
0xff, 0xff, 0xff, 0xbf, 0xbf, 0xbb, 0xab, 0xab, 0xab, 0x01, 0x70, 0x51, 0x50, 0x51, 0xd0, 0x01,
0x10, 0x11, 0xf0, 0x11, 0x10, 0x01, 0xf0, 0x31, 0x40, 0x31, 0xf0, 0x01, 0xab, 0xab, 0xbb, 0xbb,
0xff, 0xff, 0xff, 0x7f, 0x1f, 0x07, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0x03, 0x83, 0xc1,
0xe1, 0xe1, 0xf1, 0xf1, 0xf1, 0xf1, 0xf1, 0xf1, 0xf1, 0xf1, 0xe3, 0xe6, 0xcc, 0x88, 0x08, 0x08,
0x08, 0x88, 0x88, 0x88, 0x08, 0x09, 0x0f, 0x1f, 0x7f, 0xff, 0xff, 0xff, 0xf3, 0xf3, 0x03, 0x03,
0xf3, 0xf3, 0xff, 0xff, 0x03, 0x03, 0x9f, 0x9f, 0x03, 0x03, 0xff, 0xff, 0x03, 0x03, 0x93, 0x93,
0x93, 0xf3, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
0xff, 0xfb, 0xfb, 0xfb, 0xfb, 0xeb, 0xeb, 0xaa, 0xaa, 0x00, 0x01, 0x01, 0x01, 0x01, 0x01, 0x88,
0xa8, 0xa8, 0x51, 0x00, 0xc8, 0xa8, 0x91, 0x00, 0x00, 0x00, 0x01, 0x00, 0xaa, 0xab, 0xaf, 0xaf,
0xff, 0xff, 0x07, 0x02, 0x02, 0x02, 0x02, 0x02, 0xfe, 0x00, 0x00, 0x00, 0xf8, 0xfe, 0xff, 0xff,
0xff, 0xff, 0xff, 0xdf, 0x0f, 0x07, 0x07, 0x0f, 0xdf, 0xff, 0xff, 0xff, 0xff, 0xff, 0xfe, 0xf8,
0x00, 0x03, 0xff, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x07, 0xff, 0xff, 0x1f, 0x1f, 0x9c, 0x9c,
0x9f, 0x9f, 0xff, 0xff, 0x1c, 0x1c, 0x9f, 0x9f, 0x1c, 0x1c, 0xff, 0xff, 0x1c, 0x1c, 0xfc, 0xfc,
0xfc, 0xfc, 0xff, 0xff, 0x1f, 0x1f, 0x1f, 0xdf, 0xdf, 0x1f, 0xff, 0xff, 0x1f, 0x1f, 0x9f, 0x9f,
0x9f, 0x9f, 0xff, 0xff, 0x1f, 0x1f, 0x9f, 0x9f, 0x9f, 0x1f, 0xff, 0xff, 0x9f, 0x9f, 0x1f, 0x1f,
0x9f, 0x9f, 0xff, 0xff, 0x1f, 0x1e, 0x3e, 0x7e, 0x1e, 0x1c, 0xf0, 0xfc, 0x18, 0x1c, 0x90, 0x9c,
0x98, 0x9c, 0xf0, 0xfc, 0xe0, 0xfc, 0x80, 0xfc, 0xe0, 0xfc, 0xf8, 0xfc, 0xfe, 0xfe, 0xfe, 0xff,
0xff, 0xff, 0xff, 0xf0, 0x80, 0x00, 0x00, 0x70, 0x7f, 0x70, 0x00, 0x00, 0x00, 0x03, 0x0f, 0x9f,
0xff, 0xff, 0xff, 0xff, 0xff, 0x03, 0x03, 0xff, 0xff, 0xff, 0xff, 0xff, 0x9f, 0x1f, 0x13, 0x10,
0x10, 0x10, 0x1f, 0x00, 0x00, 0x07, 0x07, 0x87, 0xf2, 0xff, 0xff, 0xff, 0xe4, 0xe4, 0xe4, 0xe4,
0xe0, 0xe0, 0xff, 0xff, 0xe0, 0xe0, 0xe7, 0xe7, 0xe0, 0xe0, 0xff, 0xff, 0xe0, 0xe0, 0xe7, 0xe7,
0xe7, 0xe7, 0xff, 0xff, 0xe0, 0xe0, 0xe0, 0xef, 0xef, 0xe0, 0xff, 0xff, 0xe0, 0xe0, 0xe4, 0xe4,
0xe4, 0xe7, 0xff, 0xff, 0xe0, 0xe0, 0xfe, 0xf8, 0xe2, 0xe6, 0xff, 0xff, 0xe7, 0xe7, 0xe0, 0xe0,
0xe7, 0xe7, 0xff, 0xff, 0xe0, 0xe0, 0xfe, 0xfc, 0xe0, 0xe0, 0xff, 0xff, 0xe0, 0xe0, 0xe7, 0xe4,
0xe0, 0xe0, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xfc, 0xf8, 0xf0, 0xe0, 0xc0, 0xc0, 0xf0, 0xf8, 0xfe, 0xff,
0xff, 0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xfe, 0xf8, 0xf0,
0xc0, 0xc0, 0xe0, 0xf0, 0xf8, 0xfc, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x20, 0x20, 0x24, 0x24,
0x04, 0x04, 0xff, 0xff, 0xfc, 0xfc, 0x00, 0x00, 0xfc, 0xfc, 0xff, 0xff, 0x00, 0x00, 0xe4, 0xe4,
0x00, 0x00, 0xff, 0xff, 0xfc, 0xfc, 0x00, 0x00, 0xfc, 0xfc, 0xff, 0xff, 0x3c, 0x3c, 0x00, 0x00,
0x3c, 0x3c, 0xff, 0xff, 0x00, 0x00, 0x3c, 0x3c, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0xf9, 0xf3,
0x00, 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
0xff, 0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xfe, 0x52, 0x6d, 0xdf, 0xab, 0x7f, 0xff, 0xff, 0xff, 0xff,
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
0xff, 0xff, 0xff, 0xff, 0xff, 0xe0, 0xc0, 0x8f, 0x1f, 0x3f, 0x7f, 0x7f, 0x7f, 0x7f, 0x7f, 0xff,
0x3f, 0x3f, 0x3f, 0x3f, 0xff, 0x3f, 0x1f, 0x1f, 0x1f, 0x1f, 0x1f, 0x1f, 0x1f, 0x1f, 0x1f, 0x1f,
0x1f, 0x1f, 0x1f, 0x1f, 0x1f, 0x1f, 0x1f, 0x1f, 0x1f, 0x1f, 0x1f, 0x1f, 0x1f, 0x1f, 0x1f, 0x1f,
0x1f, 0x1f, 0x1f, 0x1f, 0x1f, 0x1f, 0x1f, 0x1f, 0x1f, 0xff, 0x1f, 0x1f, 0x0f, 0xff, 0x7f, 0x7f,
0x7f, 0x7f, 0x7f, 0x7f, 0x7f, 0x7f, 0x7f, 0x7f, 0x79, 0x76, 0x55, 0x7e, 0xff, 0xff, 0xff, 0xff,
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xfe, 0xfe, 0xfe, 0xfe, 0xfe, 0xfe, 0xff,
0xfc, 0xfc, 0xfc, 0xfc, 0xff, 0xfc, 0xf8, 0xf8, 0xf8, 0xf8, 0xf8, 0xf8, 0xf8, 0xf8, 0xf8, 0xf8,
0xf8, 0xf8, 0xf8, 0xf8, 0xf8, 0xf8, 0xf8, 0xf8, 0xf8, 0xf8, 0xf8, 0xf8, 0xf8, 0xf8, 0xf8, 0xf8,
0xf8, 0xf8, 0xf8, 0xf8, 0xf8, 0xf8, 0xf8, 0xf8, 0xf8, 0xff, 0xf8, 0xf8, 0xf0, 0xff, 0xfe, 0xfe,
0xfe, 0xfe, 0xfe, 0xfe, 0xfe, 0xfe, 0xfe, 0xfe, 0xfe, 0xfe, 0xfe, 0xfe, 0xff, 0xff, 0xff, 0xff,
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff
};
« Last Edit: January 05, 2021, 11:59:53 am by jesusvallejo »
 

Offline cosmin1

  • Regular Contributor
  • *
  • Posts: 117
  • Country: ro
Re: CFW for STM32 OLED Digital Soldering Station with T12 Handle
« Reply #552 on: January 05, 2021, 05:47:07 am »
I have the latest Russian Ksger (I bought it on November 11, 2020).
But I only used the firmware: 3.1Snew1.hex
On that board you could also use 2.0 firmware.
« Last Edit: January 05, 2021, 05:58:41 am by cosmin1 »
 

Offline DavidAlfa

  • Super Contributor
  • ***
  • Posts: 5959
  • Country: es
Re: CFW for STM32 OLED Digital Soldering Station with T12 Handle
« Reply #553 on: January 05, 2021, 12:02:52 pm »
Jesusvallejo, yes, I'm aware of that bug. There's a function that can't be optimized, causes hard fault but only on the 103!
For now it's "fixed" by disabling optimizations in that specific function. I'm focused on finishing the code and start the first builds for the ksgers.
The problem on that function is probably a small bug that causes memory ilegal memory access by addressing a wrong pointer or any uncontrolled condition. That will be fixed soon.

The new code is almost ready, all the code for i2c and spi is ready, it currently supports all 4 modes (software spi, software i2c, hw dma spi and hw dma i2c), and is plain easy to change the modes.


« Last Edit: January 05, 2021, 12:07:03 pm by DavidAlfa »
Hantek DSO2x1x            Drive        FAQ          DON'T BUY HANTEK! (Aka HALF-MADE)
Stm32 Soldering FW      Forum      Github      Donate
 

Offline DavidAlfa

  • Super Contributor
  • ***
  • Posts: 5959
  • Country: es
Re: CFW for STM32 OLED Digital Soldering Station with T12 Handle
« Reply #554 on: January 05, 2021, 12:06:38 pm »
I have tested leaving it unattended for some period of time, and it hasn't burned my shed down yet 👍
I'm so sorry. I promise I'll fix that on next build. It's not fair that people have cold homes when I could be helping...

Im no designer but i have made my own splash mb its of your taste , probably not  :-DD

Post a pic! Nah, don't do it, I like surprises!

Edit: Wtf. I noticed that all the schematics use 48-pin. Where are the other schematics?
https://github.com/dreamcat4/t12-t245-controllers-docs/tree/master/controllers/stm32-t12-oled

Call me blind, or crazy, but I've checked 20 pages on the forum thread, all the github folders, and I couldn't find the KSGER 64-pin schematics!

We need a bit of order here. Move all the valuable info to the 1st post. Schematics, links...
« Last Edit: January 05, 2021, 12:45:55 pm by DavidAlfa »
Hantek DSO2x1x            Drive        FAQ          DON'T BUY HANTEK! (Aka HALF-MADE)
Stm32 Soldering FW      Forum      Github      Donate
 

Offline cosmin1

  • Regular Contributor
  • *
  • Posts: 117
  • Country: ro
Re: CFW for STM32 OLED Digital Soldering Station with T12 Handle
« Reply #555 on: January 05, 2021, 12:46:05 pm »
At least mine is 64...   ;D
 

Offline dreamcat4

  • Frequent Contributor
  • **
  • Posts: 495
  • Country: gb
Re: CFW for STM32 OLED Digital Soldering Station with T12 Handle
« Reply #556 on: January 05, 2021, 01:26:55 pm »
Don't worry! Updating the Github. It now has that schematic, still adding the photos.
 

Offline jesusvallejo

  • Regular Contributor
  • *
  • Posts: 66
  • Country: es
Re: CFW for STM32 OLED Digital Soldering Station with T12 Handle
« Reply #557 on: January 05, 2021, 01:42:10 pm »
Los reyes majos have left this for you xd
 

Offline DavidAlfa

  • Super Contributor
  • ***
  • Posts: 5959
  • Country: es
Re: CFW for STM32 OLED Digital Soldering Station with T12 Handle
« Reply #558 on: January 05, 2021, 02:14:10 pm »
Hahah, its nice! I like it  :-DD

Oookay all the bugs (hopefully) solved. It builds right away on both stm32f072 and stm32f103.
Added bins in each board folder.
And soldered back the buzzer. Omg, that was incredibly annoying.
Changed all the buzzer timings. Now they're much more subtle.
The short beep is now a 10mS "tick".
The  long beep is now a 50mS beep. They hear completely different although the timings are very short.
The alarm makes a "tick" every 2 seconds.
Only a system failure, like a hard fault or other internal error will make a long, annoying, 2 second beep.


Now let's go with the ksger.

Jesus, Please try the bins and also building your own!
Remember that you can't mix the files. If you add the files for ex. 072, you can't then paste the 103 over it, it will make conflict.
If you want to retarget the project, you have to delete:
- /Core/Inc/*stm32*
- /Core/Src/*stm32*
- /Core/Startup

And then copy the board profile files overwriting any files.
Different stm32xx HAL drivers can co-exist without problem as they don't overlap.


@Dreamcat4, for changes like this, how can I set the git to allow 3rd party contributions?
Also, I'd apreciate some help in the documentation side, as I already saw you are good at it.
I'd like to have all the files like boards, schmetatics, well organized.
« Last Edit: January 05, 2021, 02:57:32 pm by DavidAlfa »
Hantek DSO2x1x            Drive        FAQ          DON'T BUY HANTEK! (Aka HALF-MADE)
Stm32 Soldering FW      Forum      Github      Donate
 
The following users thanked this post: cosmin1

Offline jesusvallejo

  • Regular Contributor
  • *
  • Posts: 66
  • Country: es
Re: CFW for STM32 OLED Digital Soldering Station with T12 Handle
« Reply #559 on: January 05, 2021, 03:20:38 pm »
Compiled by me version works flawless, the provided Quicko_STM32F103C8.bin does not work , screen turns on but only random pixels. diff shows the one compiled by me its bigger and has nothing to do except for 2 lines which are zeros , mb it got corrupted in upload (edit: have tryed with different downloads already)
« Last Edit: January 05, 2021, 03:25:11 pm by jesusvallejo »
 

Offline DavidAlfa

  • Super Contributor
  • ***
  • Posts: 5959
  • Country: es
Re: CFW for STM32 OLED Digital Soldering Station with T12 Handle
« Reply #560 on: January 05, 2021, 03:58:04 pm »
Compiled by me version works flawless, the provided Quicko_STM32F103C8.bin does not work , screen turns on but only random pixels. diff shows the one compiled by me its bigger and has nothing to do except for 2 lines which are zeros , mb it got corrupted in upload (edit: have tryed with different downloads already)
Did you use the latest code? Updated few hours ago.
Well, the important is that it builds correctly. I'll upload the BIN again.



v3.1:


Am I correct thinking the OLED uses 3-Wire SPI? SCK, SDA, DC, RESET and CS not present? (internally always low).
Because I2C mode can also use DC (LSB Address) and RESET.




Ve2.1S r2:

This is clearly using I2C.
« Last Edit: January 05, 2021, 04:02:53 pm by DavidAlfa »
Hantek DSO2x1x            Drive        FAQ          DON'T BUY HANTEK! (Aka HALF-MADE)
Stm32 Soldering FW      Forum      Github      Donate
 

Offline cosmin1

  • Regular Contributor
  • *
  • Posts: 117
  • Country: ro
Re: CFW for STM32 OLED Digital Soldering Station with T12 Handle
« Reply #561 on: January 05, 2021, 04:25:48 pm »
v3.1:

Am I correct thinking the OLED uses 3-Wire SPI? SCK, SDA, DC, RESET and CS not present? (internally always low).
Because I2C mode can also use DC (LSB Address) and RESET.
Yes.


Ve2.1S r2:

This is clearly using I2C.
Yes.
« Last Edit: January 05, 2021, 04:30:13 pm by cosmin1 »
 

Offline jesusvallejo

  • Regular Contributor
  • *
  • Posts: 66
  • Country: es
Re: CFW for STM32 OLED Digital Soldering Station with T12 Handle
« Reply #562 on: January 05, 2021, 04:28:22 pm »
Did you use the latest code? Updated few hours ago.
Well, the important is that it builds correctly. I'll upload the BIN again.
I flashed the one on /Boards/stmxxxx/Quicoxxxx.bin and i did the clone not long ago(1h or so).tryed cloning and downloading zip , same result , diff says its the same bin, no change from .zip and git clone.
 

Offline DavidAlfa

  • Super Contributor
  • ***
  • Posts: 5959
  • Country: es
Re: CFW for STM32 OLED Digital Soldering Station with T12 Handle
« Reply #563 on: January 05, 2021, 05:14:38 pm »
I flashed the one on /Boards/stmxxxx/Quicoxxxx.bin and i did the clone not long ago(1h or so).tryed cloning and downloading zip , same result , diff says its the same bin, no change from .zip and git clone.

Ooops yes, my local linker script was messed up. Yesterday I touched some options and I had totally forgotten.
Github had the scripts untouched, that explains why it worked well for you.
I added the last code changes. Built and  flashed ok in STM32F103 and 32F072. I flashed the bins directly. Try it if you can!

Cosmin1, the first build for ksger 3.1 STM32F103RB  is available! I'm assuming it uses 3-Wire SPI. Fortunately that board is well routed and can use the hw SPI.
Go to github, boards, and download the bin file.
https://github.com/deividAlfa/stm32_soldering_iron_controller/tree/master/BOARDS/KSGER/%5Bv2.1s%20r3%5D%20%5Bv3.1%5D/STM32F103RB
« Last Edit: January 05, 2021, 05:21:29 pm by DavidAlfa »
Hantek DSO2x1x            Drive        FAQ          DON'T BUY HANTEK! (Aka HALF-MADE)
Stm32 Soldering FW      Forum      Github      Donate
 

Offline dreamcat4

  • Frequent Contributor
  • **
  • Posts: 495
  • Country: gb
Re: CFW for STM32 OLED Digital Soldering Station with T12 Handle
« Reply #564 on: January 05, 2021, 05:20:50 pm »
OK have finished uploading cosmin1's missing photos to the git now. Alongside the schematic.Again there is no editable .sch, because well: nobody listens to me. But this is supposed to be an open source project. So letting others edit your .sch is actually something that matters. To get people to map their circuits and share that.

Heres what you posted for my cosmin1, sorry it's rather late. Images file size had to be reduced from 45mb. Because: git.

https://github.com/dreamcat4/t12-t245-controllers-docs/tree/master/controllers/stm32-t12-oled/v3.0-and-v3.1/r0

@Dreamcat4, for changes like this, how can I set the git to allow 3rd party contributions?

Have left an extensive guidelines about that aspect, in a comment on your PR #1.

In short: The right way takes a certain amount time, work, effort to setup. You create a new organization on github. Then you add collaborators to it. And give them with whatever permissions you wish. To work together with you on the shared organisation repo...

Very important bit: This then has the added benefit meaning your own repo can have unstable code in it. Then when you are ready push / publish to the org repo.

However others can still see what you are doing, for the unstable work.

Discussion of that here:

https://github.com/deividAlfa/stm32_soldering_iron_controller/pull/1#issuecomment-735274759

Also, I'd apreciate some help in the documentation side, as I already saw you are good at it.
I'd like to have all the files like boards, schemtatics, well organized.

OK so the big thing to realize here is that:

For the way that git works, we absolutely cannot put all that stuff into the same git repo as the code. Because the size of all the PDF files and images. And other documentation assets. Its hundreds of megabytes.

Git is accumulative, so nothing gets deleted in there. Already tried some work arounds to avoid that (git LFS, etc). Unfortunately it just doesn't work on github. Not without paying money for storage etc. And this is an open source project. So that is not possible like that.

Anyhow, so this is why the seperate docs repo exists to begin with. I'm very happy to move that repo into a new github organisation, should you decide to create one. For where to put your source code as 'published' and 'stable'. Then multiple people can work on it easily. And improve / upload. Add further assets. Re-organize it. And the docs is just another repo allongside the source code repo.

In fact can have multiple docs repos. If the existing docs repo is too big. For something not the whole kitchen sink. Then just create a brand new docs repo. That is more slim. And easier to follow. While my docs repo is more like a collection of reference materials. To keep them safe.

I'm not going to be responsible for that myself. For time reasons. I have other priorities. Instead everybody should contribute to documenting stuff. It's a community effort. I do my part, so others should too. Which also includes everybody these forums, very helpful!

Just be sure not to stuff the docs in the code repo. It will hurt the repo size too much. To mix them together.

BTW sorry I have not received any new notifications of activity here. But it turns out the forum stops notifying me of stuff, unless I come back to visit the forum again.

So the main thing I missed was you renamed your branch to 'master'. Great. OK so now that you have one clear branch. Then I have now updated the landing page on the docs repo. To point to your master branch. Hopefully it helps for others to find.

Actually theres pages in that docs repo it needs updating. Like where i put: stuff not tested, etc. Well it's getting tested right now! Just even doing that i don't have the time for. But at least the README.md (landing page) is updated.

https://github.com/dreamcat4/t12-t245-controllers-docs

And also the README page for the controllers themselves

https://github.com/dreamcat4/t12-t245-controllers-docs/tree/master/controllers/stm32-t12-oled

And that's all the time I have for this project today! (And tomorrow, next week). Until I can try cracking the read protection again. To try to dump the OFW again. With those new set of security hacks.
« Last Edit: January 05, 2021, 05:24:21 pm by dreamcat4 »
 

Offline DavidAlfa

  • Super Contributor
  • ***
  • Posts: 5959
  • Country: es
Re: CFW for STM32 OLED Digital Soldering Station with T12 Handle
« Reply #565 on: January 05, 2021, 05:41:53 pm »
No worries! If it wasn't for the lockdown and being on sick leave, I woulnd't have 1/3 of the time, and by no means I could have started the project.
More than a year has passed now, the surgery was a total disaster, the plan was toput the problem to an end with a second surgery after 3 months, but thanks to the covid-19,  it was postponed until the situation gets better, they don't want to take the risk.
So, what can I do, else that losing my precious time with crappy chinese stations? :-DD

Of course I agree, you can't say that it's done by the community if only one person built it all. I can understand that programming is not for everyone.
I took me weeks to fully undertand everything. I had never programmed with stm32 so you can imagine the initial beating. Also my C skills were pretty rusted.
So now I can modify the code in a breeze, and if there's a bug, I usually catch it quickly. It's ok. But I'd like this to be more open in general.
I guess once it works in ksgers  it will catch more interest.
« Last Edit: January 05, 2021, 05:49:28 pm by DavidAlfa »
Hantek DSO2x1x            Drive        FAQ          DON'T BUY HANTEK! (Aka HALF-MADE)
Stm32 Soldering FW      Forum      Github      Donate
 

Offline cosmin1

  • Regular Contributor
  • *
  • Posts: 117
  • Country: ro
Re: CFW for STM32 OLED Digital Soldering Station with T12 Handle
« Reply #566 on: January 05, 2021, 05:45:08 pm »
Heres what you posted for my cosmin1, sorry it's rather late. Images file size had to be reduced from 45mb. Because: git.
Excellent job!
Maybe we should put this version too.
It's 95% same as v3.0 r0 (schematic too), but with STM32F103 MCU and only working with fw 3.1S.
I have more pictures if you need to upload them on git.



Cosmin1, the first build for ksger 3.1 STM32F103RB  is available! I'm assuming it uses 3-Wire SPI. Fortunately that board is well routed and can use the hw SPI.
Go to github, boards, and download the bin file.
https://github.com/deividAlfa/stm32_soldering_iron_controller/tree/master/BOARDS/KSGER/%5Bv2.1s%20r3%5D%20%5Bv3.1%5D/STM32F103RB
Doesn't work.
Bad news is, now it doesn't work neither with old firmware...  :(
« Last Edit: January 05, 2021, 06:21:42 pm by cosmin1 »
 

Offline dreamcat4

  • Frequent Contributor
  • **
  • Posts: 495
  • Country: gb
Re: CFW for STM32 OLED Digital Soldering Station with T12 Handle
« Reply #567 on: January 05, 2021, 06:00:57 pm »
I have more pictures if you need to upload them on git.

One is enough! Uploaded it. But that's all from me (for the time being). Please think to discuss about creating an 'Organization' account on Github. Thanks & Good day.
 

Offline cosmin1

  • Regular Contributor
  • *
  • Posts: 117
  • Country: ro
Re: CFW for STM32 OLED Digital Soldering Station with T12 Handle
« Reply #568 on: January 05, 2021, 06:31:52 pm »
How it is possible that a firmware destroyed the MCU?
I tested all available fw but the controller does not start anymore.  :palm:
 

Offline DavidAlfa

  • Super Contributor
  • ***
  • Posts: 5959
  • Country: es
Re: CFW for STM32 OLED Digital Soldering Station with T12 Handle
« Reply #569 on: January 05, 2021, 06:34:01 pm »
Impossible! Open ST-Link utility, force reset low by shorting it to ground and click erase, release after a second.
Might take few tries. Or use nRST.

And, I discovered that the 101 is rated for 36MHz max.
Might be silicon that can't achieve 48/72MHz, so they sell them that way.
That's probably  why the 101 fw works on 103 but not always the other way around.
« Last Edit: January 05, 2021, 06:39:00 pm by DavidAlfa »
Hantek DSO2x1x            Drive        FAQ          DON'T BUY HANTEK! (Aka HALF-MADE)
Stm32 Soldering FW      Forum      Github      Donate
 

Offline jesusvallejo

  • Regular Contributor
  • *
  • Posts: 66
  • Country: es
Re: CFW for STM32 OLED Digital Soldering Station with T12 Handle
« Reply #570 on: January 05, 2021, 06:38:17 pm »
Heres what you posted for my cosmin1, sorry it's rather late. Images file size had to be reduced from 45mb. Because: git.
Excellent job!
Maybe we should put this version too.
It's 95% same as v3.0 r0 (schematic too), but with STM32F103 MCU and only working with fw 3.1S.
I have more pictures if you need to upload them on git.



Cosmin1, the first build for ksger 3.1 STM32F103RB  is available! I'm assuming it uses 3-Wire SPI. Fortunately that board is well routed and can use the hw SPI.
Go to github, boards, and download the bin file.
https://github.com/deividAlfa/stm32_soldering_iron_controller/tree/master/BOARDS/KSGER/%5Bv2.1s%20r3%5D%20%5Bv3.1%5D/STM32F103RB
Doesn't work.
Bad news is, now it doesn't work neither with old firmware...  :(


both compiled and uploded are correct and working nicely  :-+
 

Offline cosmin1

  • Regular Contributor
  • *
  • Posts: 117
  • Country: ro
Re: CFW for STM32 OLED Digital Soldering Station with T12 Handle
« Reply #571 on: January 05, 2021, 06:41:14 pm »
Impossible! Open ST-Link utility, force reset low by shorting it to ground and click erase, release after a second.
Might take few tries. Or use nRST.
Ok. Solved. Now it's working again after erasing.
Do you have an updated fw, so i could try out again on this F103 board?
This is the test board:
« Last Edit: January 05, 2021, 06:59:21 pm by cosmin1 »
 

Offline DavidAlfa

  • Super Contributor
  • ***
  • Posts: 5959
  • Country: es
Re: CFW for STM32 OLED Digital Soldering Station with T12 Handle
« Reply #572 on: January 05, 2021, 07:03:43 pm »
The fw was for the 3.0! This one:



And this schematic (But using a STM32F103RB instead of a 101)
At least mine is 64...   ;D


 Yes, I messed up the names at first (put 2.1 and 3.0 in the same folder).
Try the fw in the black pcb! All your board uses stm32F103?
Because I'm already getting mad of so many ksger versions, then the same versions with different mcus :scared:




Where's the schematic for this one?
This is not correct, uses a 48-pin STM32.
It might be similar to the "3.1 r0", but the display is I2C instead SPI, it can't magically work without knowing the exact mcu pins where the display is connected

Nevermind, there's no schematic for that one. I remembered I had done this, so there's no problem

« Last Edit: January 05, 2021, 07:32:56 pm by DavidAlfa »
Hantek DSO2x1x            Drive        FAQ          DON'T BUY HANTEK! (Aka HALF-MADE)
Stm32 Soldering FW      Forum      Github      Donate
 

Offline cosmin1

  • Regular Contributor
  • *
  • Posts: 117
  • Country: ro
Re: CFW for STM32 OLED Digital Soldering Station with T12 Handle
« Reply #573 on: January 05, 2021, 07:33:12 pm »
I tried on 3.0 with F103 black pcb too. Does not start.
I have also a black pcb with F101.

The floobydust schematic for blue pcb Ve2.12s does not apply to my Ve2.12s. My pcb is with 64 pin, schematic is for 48 pin.
I will try to draw the schematic for this one too.

Until then... waiting the right fw for black pcb. If it works on F101 black pcb, it will surely work on F103 black too (same pinout). But the reverse, not.
« Last Edit: January 05, 2021, 07:52:32 pm by cosmin1 »
 

Offline DavidAlfa

  • Super Contributor
  • ***
  • Posts: 5959
  • Country: es
Re: CFW for STM32 OLED Digital Soldering Station with T12 Handle
« Reply #574 on: January 05, 2021, 08:30:53 pm »
There were some 103C8 / 103RB mixed labels inside the project file. Not sure if that was the problem.
Re-checked everything. Added KSGER v2.1s.
Added 101RB to all KSGER builds (Apart of 103RB).

Have a look. Ensure your board and MCU are correct.
https://github.com/deividAlfa/stm32_soldering_iron_controller/tree/master/BOARDS/KSGER
Hantek DSO2x1x            Drive        FAQ          DON'T BUY HANTEK! (Aka HALF-MADE)
Stm32 Soldering FW      Forum      Github      Donate
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf