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

0 Members and 3 Guests are viewing this topic.

Online DavidAlfa

  • Super Contributor
  • ***
  • Posts: 5942
  • Country: es
Re: CFW for KSGER/Quicko STM32 Soldering Stations
« Reply #2775 on: April 18, 2022, 04:25:35 pm »
Are you following this connections? Also: Don't use long wires! Keep them as short as possible, or it'll have noise issues.
I doubt it's dead,unless you connected power backwards!

« Last Edit: April 19, 2022, 12:40:44 am 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: AUTOMOTIVE SOLUTIONS

Offline AUTOMOTIVE SOLUTIONS

  • Regular Contributor
  • *
  • Posts: 58
  • Country: gb
Re: CFW for KSGER/Quicko STM32 Soldering Stations
« Reply #2776 on: April 18, 2022, 04:33:28 pm »
it looks the same. this is what i have thanks


 short mmmmm is 120mm short nope and just run out of solder  |O

at lest we know what was going on i think David is right noise looks like shit on the scope
« Last Edit: April 18, 2022, 04:45:07 pm by AUTOMOTIVE SOLUTIONS »
 

Offline yelkvi

  • Regular Contributor
  • *
  • Posts: 114
  • Country: ru
Re: CFW for KSGER/Quicko STM32 Soldering Stations
« Reply #2777 on: April 18, 2022, 04:35:24 pm »
I also ordered two of these displays for myself (from another seller). But long delivery. Promise in a month (or later).
 

Offline AUTOMOTIVE SOLUTIONS

  • Regular Contributor
  • *
  • Posts: 58
  • Country: gb
Re: CFW for KSGER/Quicko STM32 Soldering Stations
« Reply #2778 on: April 18, 2022, 04:52:09 pm »
shame no one has this screen so we could do some more testing aswell

shops are shut now will grab some solder tomorrow and use small jumpers and see what we get :)

ok just found a scrap of solder now jumpers are 20mm long but still no joy.

off for a nap then i will get the scope back out  :-//
« Last Edit: April 18, 2022, 05:29:29 pm by AUTOMOTIVE SOLUTIONS »
 

Offline yelkvi

  • Regular Contributor
  • *
  • Posts: 114
  • Country: ru
Re: CFW for KSGER/Quicko STM32 Soldering Stations
« Reply #2779 on: April 18, 2022, 04:56:58 pm »
I have another display:
 

Online DavidAlfa

  • Super Contributor
  • ***
  • Posts: 5942
  • Country: es
Re: CFW for KSGER/Quicko STM32 Soldering Stations
« Reply #2780 on: April 18, 2022, 05:12:23 pm »
Don't blame the display yet, a single command can screw everything up, so initializing these things usually require several tries.
Found the cmds in u8g2 to be completely different...
Also lowered the SPI speeds to 140KHz, should work much easier with longer wires, the display will be pretty slow, but this is testing stage!
Edit: v0.2 removed.
« Last Edit: April 18, 2022, 07:28:51 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: AUTOMOTIVE SOLUTIONS

Offline AUTOMOTIVE SOLUTIONS

  • Regular Contributor
  • *
  • Posts: 58
  • Country: gb
Re: CFW for KSGER/Quicko STM32 Soldering Stations
« Reply #2781 on: April 18, 2022, 05:30:24 pm »
now flashing
 

Offline AUTOMOTIVE SOLUTIONS

  • Regular Contributor
  • *
  • Posts: 58
  • Country: gb
Re: CFW for KSGER/Quicko STM32 Soldering Stations
« Reply #2782 on: April 18, 2022, 05:37:17 pm »
just flashed 0.2 still blank and jumpers are 20 mm now thank you for all of your time

update dc=high ,rst=high ,sda and scl are wave forms will have more of a look when i have had a nap
« Last Edit: April 18, 2022, 06:05:23 pm by AUTOMOTIVE SOLUTIONS »
 

Online DavidAlfa

  • Super Contributor
  • ***
  • Posts: 5942
  • Country: es
Re: CFW for KSGER/Quicko STM32 Soldering Stations
« Reply #2783 on: April 18, 2022, 07:28:23 pm »
Make connectivity tests with the DMM, testing point-to-point connectivity and isolation between lines.
If good, I don't think it's really the connection, also the pin code had no change, just the commands init commands.
Addressing is the same, I missread the datasheet, was using the wrong cmd!
« Last Edit: April 18, 2022, 11:34:33 pm by DavidAlfa »
Hantek DSO2x1x            Drive        FAQ          DON'T BUY HANTEK! (Aka HALF-MADE)
Stm32 Soldering FW      Forum      Github      Donate
 

Offline AUTOMOTIVE SOLUTIONS

  • Regular Contributor
  • *
  • Posts: 58
  • Country: gb
Re: CFW for KSGER/Quicko STM32 Soldering Stations
« Reply #2784 on: April 18, 2022, 08:54:05 pm »
now flashing

lcd blank must be a problem my end.

i am shore i just see a flicker or i am going mad. and the bad thing is i only see its one time 3 lines
« Last Edit: April 18, 2022, 10:31:36 pm by AUTOMOTIVE SOLUTIONS »
 

Online DavidAlfa

  • Super Contributor
  • ***
  • Posts: 5942
  • Country: es
Re: CFW for KSGER/Quicko STM32 Soldering Stations
« Reply #2785 on: April 18, 2022, 11:34:16 pm »
it looks the same. this is what i have thanks
In that picture the power is connected backwards. VDD to GND :palm:! Should go to 3.3V!
Maybe you had a little stroke while drawing? I hope so, otherwise the module might have gone kaput :D
Also the LED is reversed, A(Anode) should take the positive, and K(Cathode) should go to the negative.
At least, you won't kill the backlight. If you don't see any light coming out, reverse -only- the led connection.

I think it was related to how the commands were sent.This controller might be a little more picky, not sure.
More testing!
« Last Edit: April 19, 2022, 01:00:01 am 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: AUTOMOTIVE SOLUTIONS

Offline AUTOMOTIVE SOLUTIONS

  • Regular Contributor
  • *
  • Posts: 58
  • Country: gb
Re: CFW for KSGER/Quicko STM32 Soldering Stations
« Reply #2786 on: April 19, 2022, 01:53:41 am »
think it mite of been a mini stroke what the hell was i thinking. |O |O |O

i love the art work  :-DD
« Last Edit: April 19, 2022, 01:58:59 am by AUTOMOTIVE SOLUTIONS »
 

Offline AUTOMOTIVE SOLUTIONS

  • Regular Contributor
  • *
  • Posts: 58
  • Country: gb
Re: CFW for KSGER/Quicko STM32 Soldering Stations
« Reply #2787 on: April 19, 2022, 02:12:06 am »
Dave you done it there is a faint image on v0.3 :phew:

just looks like contrast is very low or very high and the text/image was flipped left to right  ;D

top to bottom is good

 :-+

i think i need sleep
« Last Edit: April 19, 2022, 02:54:05 am by AUTOMOTIVE SOLUTIONS »
 

Online DavidAlfa

  • Super Contributor
  • ***
  • Posts: 5942
  • Country: es
Re: CFW for KSGER/Quicko STM32 Soldering Stations
« Reply #2788 on: April 19, 2022, 02:47:59 am »
Did you miss v0.4.1 I posted earlier?
Added a higher contrast build, too.
Hantek DSO2x1x            Drive        FAQ          DON'T BUY HANTEK! (Aka HALF-MADE)
Stm32 Soldering FW      Forum      Github      Donate
 

Offline AUTOMOTIVE SOLUTIONS

  • Regular Contributor
  • *
  • Posts: 58
  • Country: gb
Re: CFW for KSGER/Quicko STM32 Soldering Stations
« Reply #2789 on: April 19, 2022, 03:02:00 am »
yep i missed it just flashed .4.1 and contrast 80 and don't seem to get any screen

just flashed .3 back and image but fliped

i can try agen with .4.1 in the morning but didnt have any image and flashed .3 faint fliped image
« Last Edit: April 19, 2022, 03:13:55 am by AUTOMOTIVE SOLUTIONS »
 

Online DavidAlfa

  • Super Contributor
  • ***
  • Posts: 5942
  • Country: es
Re: CFW for KSGER/Quicko STM32 Soldering Stations
« Reply #2790 on: April 19, 2022, 12:14:09 pm »
I think I finally caught the issue, turn on/off commands were wrong, so that's why you probably had that blink.
Also added additional power-on steps, I think this time will work! (Still might look reversed or flipped).
« Last Edit: April 19, 2022, 02:42:01 pm by DavidAlfa »
Hantek DSO2x1x            Drive        FAQ          DON'T BUY HANTEK! (Aka HALF-MADE)
Stm32 Soldering FW      Forum      Github      Donate
 

Offline AUTOMOTIVE SOLUTIONS

  • Regular Contributor
  • *
  • Posts: 58
  • Country: gb
Re: CFW for KSGER/Quicko STM32 Soldering Stations
« Reply #2791 on: April 19, 2022, 12:33:59 pm »
lets get flash :box:

just very quickly span through new .5 still blank but could be something my end will keep checking

.3 test  https://youtu.be/s9Zx6hZTxqU
« Last Edit: April 19, 2022, 02:02:41 pm by AUTOMOTIVE SOLUTIONS »
 

Online DavidAlfa

  • Super Contributor
  • ***
  • Posts: 5942
  • Country: es
Re: CFW for KSGER/Quicko STM32 Soldering Stations
« Reply #2792 on: April 19, 2022, 01:59:09 pm »
Keep comparing it with 0.3 before breaking your head.
I cleaned and reworked the display code, it was prety messy and redudant, now is a lot easier to modify, so you might want to try different initializations sequences.

- Setup the IDE (Easy step, just download and install)

- Download the code in .zip rom github, unpack somewhere

- Run _KSGER_v3.bat to load the profile.

- Open the IDE, import the project at the root of the folder (ignore those inside "board" folder)

- Go to Drivers/graphics/lcd.h
  Adjust the first lines as this:
Code: [Select]
/*    Display selection    */
#define ST7565
//#define SSD1306
  Above those lines you can find the command codes.

- The initialization sequences are at start of Drivers/graphics/lcd.c
Code: [Select]
// CMD_SIZE, DELAY_MS, CMD_DATA
const uint8_t disp_init[] = { // Initialization for ST7565R
    1, 0,   c_disp_off,
    1, 0,   c_bias_7,
    1, 0,   c_adc_norm,
    1, 0,   c_com_norm,
    1, 0,   c_start_line,
    1, 50,  c_pwr_ctrl | c_pwr_boost,
    1, 50,  c_pwr_ctrl | c_pwr_boost | c_pwr_vreg,
    1, 50,  c_pwr_ctrl | c_pwr_boost | c_pwr_follow,
    2, 50,  c_boost_ratio, c_boost_234,
    1, 50,  c_res_ratio | 0x07,
    2, 0,   c_set_volume, 0x16,
    1, 0,   c_disp_off,
    1, 0,   c_all_on
};

Follow the project Readme in Github for more details.
« Last Edit: April 19, 2022, 02:10:17 pm by DavidAlfa »
Hantek DSO2x1x            Drive        FAQ          DON'T BUY HANTEK! (Aka HALF-MADE)
Stm32 Soldering FW      Forum      Github      Donate
 

Offline islonina

  • Contributor
  • Posts: 14
  • Country: pl
CFW for KSGER/Quicko STM32 Soldering Stations
« Reply #2793 on: April 19, 2022, 02:21:56 pm »
I have the same board as in the picture. Trying to connect on st-link. Already tried with and without rst, with external power and check st-link on different stm without any problem. I just cant connect to this board
 

Online DavidAlfa

  • Super Contributor
  • ***
  • Posts: 5942
  • Country: es
Re: CFW for KSGER/Quicko STM32 Soldering Stations
« Reply #2794 on: April 19, 2022, 02:40:05 pm »
@AUTOMOTIVE SOLUTIONS, damn a little more bug. Forgot a small detail about..enabling the final power  ::)
That's the slowness caused by not being able to debug the code in real time, waiting for your feedback  :-DD

islonina, try  the manual method, shorting nRST usign tweezers.
Some ST-Link clones have a bug in the PCB design where that signal is connected wrong.
« Last Edit: April 19, 2022, 03:01:22 pm by DavidAlfa »
Hantek DSO2x1x            Drive        FAQ          DON'T BUY HANTEK! (Aka HALF-MADE)
Stm32 Soldering FW      Forum      Github      Donate
 

Offline islonina

  • Contributor
  • Posts: 14
  • Country: pl
Re: CFW for KSGER/Quicko STM32 Soldering Stations
« Reply #2795 on: April 19, 2022, 03:21:01 pm »
Now i can connect but after chip erase i got error about not accessible elf
 

Offline AUTOMOTIVE SOLUTIONS

  • Regular Contributor
  • *
  • Posts: 58
  • Country: gb
Re: CFW for KSGER/Quicko STM32 Soldering Stations
« Reply #2796 on: April 19, 2022, 03:31:34 pm »
@DavidAlfa thank you so much and sorry for the slow testing. i have ordered 2 more lcd's one will be here in 3 days would you like a free screen?

i have tested all. 0.3 is the only one so far with a output. have you seen the vid i posted will look so good. thank you so much what you do for the eevblog i take my hat off.

 

Offline AUTOMOTIVE SOLUTIONS

  • Regular Contributor
  • *
  • Posts: 58
  • Country: gb
Re: CFW for KSGER/Quicko STM32 Soldering Stations
« Reply #2797 on: April 19, 2022, 03:43:52 pm »
Ksger_v3_ST7565R_LCD_v0.6d.bin is the best image starts nice but all 0.6 fade away after 3 seconds ish.

i will install ide and keep on trying
« Last Edit: April 19, 2022, 03:47:24 pm by AUTOMOTIVE SOLUTIONS »
 

Online DavidAlfa

  • Super Contributor
  • ***
  • Posts: 5942
  • Country: es
Re: CFW for KSGER/Quicko STM32 Soldering Stations
« Reply #2798 on: April 19, 2022, 03:53:43 pm »
Now i can connect but after chip erase i got error about not accessible elf
Please follow the Instructions.

Ksger_v3_ST7565R_LCD_v0.6d.bin is the best image starts nice but all 0.6 fade away after 3 seconds ish.

Well, that's something! Please attach some videos/pictures!
« Last Edit: April 19, 2022, 03:55:25 pm by DavidAlfa »
Hantek DSO2x1x            Drive        FAQ          DON'T BUY HANTEK! (Aka HALF-MADE)
Stm32 Soldering FW      Forum      Github      Donate
 

Offline islonina

  • Contributor
  • Posts: 14
  • Country: pl
Re: CFW for KSGER/Quicko STM32 Soldering Stations
« Reply #2799 on: April 19, 2022, 04:02:41 pm »
Now i can connect but after chip erase i got error about not accessible elf
Please follow the Instructions.

I done this on 2 diffrent board already but never got elf error. I already disabled read protection, now i have empty stm32 with only FFF read on all blocks. On github wiki there is no information about this problem
« Last Edit: April 19, 2022, 04:17:29 pm by islonina »
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf