Smart Home Automation Forum
KC868-D8 V4.34 new firmware update - Printable Version

+- Smart Home Automation Forum (https://www.kincony.com/forum)
+-- Forum: Technical Support (https://www.kincony.com/forum/forumdisplay.php?fid=1)
+--- Forum: News (https://www.kincony.com/forum/forumdisplay.php?fid=5)
+--- Thread: KC868-D8 V4.34 new firmware update (/showthread.php?tid=808)

Pages: 1 2 3


RE: KC868-D8 V4.34 new firmware update - admin - 02-11-2022

1. download https://www.kincony.com/download/ArteryICPProgrammer_V2.4.20.zip
2. let AT-link connect to your pc USB
3. open AT-link PC software
4. let KC868-D8 connect to DC12v power supply.
5. let your AT-link cable PIN connect to KC868-D8 PCB download interface.
6. press "connect" red button on PC software, then you will see it detected the chip.
7. press right window "add" button to load bootloader HEX file. (download from "https://www.kincony.com/forum/attachment.php?aid=298")
8. press "Download" button.
9. after download complete, ready to download BIN file by bootloader tool : KC868 Controller Network Bootloader.zip (download from https://www.kincony.com/forum/attachment.php?aid=297)
10. use KC868 Controller Network Bootloader to download BIN file. details step see software window step1-4
11. complete.


RE: KC868-D8 V4.34 new firmware update - iwzr - 02-24-2023

I am using the ST-Link V2 chip to program the update. For this, I downloaded "NET_IAP_DIMMER8_0909.hex" and then tried to update my KC868-D8 device with the STM32F103VCT6 chip. The config in the ST Visual Programmer is set as described in your Youtube video https://www.youtube.com/watch?v=MI2_qAIEt2U 
which means:
CONFIGURATION:
Hardware: ST-LINK
Programming mode: SWD
Device name: STM32F103x8
Port: USB

The version of the ST Visual Programmer is 3.3.2 and it seems not to support the new dongle.

Because the ST Visual Programmer gives me the error below:

Code:
> Programming  OPTION BYTE area...
Error : Wrong device selected ! Check the configuration or the device !
Error : < OPTION BYTE programming failed.


So I downloaded the newest version of the  STM32 Programmer (STM32CubeProgrammer software for all STM32) https://www.st.com/en/development-tools/st-link-v2.html#tools-software
The ST-Link configuration is set to:
[Image: 7FEn6KXlJxqE.png]
In case the image does not work:
Port: SWD
Frequency (kHz): 4000
Mode: Normal
Access port: 0
Reset mode: Software reset
Speed: Reliable
Shared: Disabled

Unfortunately, the new programmer is not able t am not able to connect to the chip. The programmer is supported according to the vendor. See https://www.st.com/en/microcontrollers-microprocessors/stm32f103vc.html#overview
Does anyone know how I could perform the update?


RE: KC868-D8 V4.34 new firmware update - admin - 02-25-2023

you can download this ST-link software that we have used in our video tour:
https://www.kincony.com/download/sttoolset.zip


RE: KC868-D8 V4.34 new firmware update - iwzr - 02-28-2023

this is what I tried and I am getting the error:
Code:
Hardware configuration set to <ST-LINK on USB with STM32F103x8 plugged in and SWD protocol>.
Blank check before programming (when available) is OFF
Verify after programming is ON.
Clear memory before loading a file is ON.
Erase device memory before programming (when available) is ON.
Display a popup window when an error occurs is ON.
Log activity is OFF
> Loading file C:\usr\Local_Work\NET_IAP_DIMMER8_0909.hex in PROGRAM MEMORY area  ...
< File successfully loaded. File Checksum 0x1909E8
> Reading  OPTION BYTE area...
Error : Wrong device selected ! Check the configuration or the device !
Error : < OPTION BYTE reading failed.


any other suggestions?


RE: KC868-D8 V4.34 new firmware update - admin - 03-01-2023

take a photo of your PCB, i want to see your CPU chip model. it showed: "Wrong device selected ".


RE: KC868-D8 V4.34 new firmware update - iwzr - 03-01-2023

It is this one:
[Image: gEioIfTSMOJ5.jpg?o=1]


RE: KC868-D8 V4.34 new firmware update - admin - 03-01-2023

(02-25-2023, 01:11 AM)admin Wrote: you can download this ST-link software that we have used in our video tour:
https://www.kincony.com/download/sttoolset.zip

just use this tool , do as our video, not use the newest tool.


RE: KC868-D8 V4.34 new firmware update - iwzr - 03-01-2023

I am using the old tool. See gif:
[Image: PeuB31X1eGUg.gif?o=1]
I guess, my programmer is not compatible. I just ordered another one with the STM32F103C8T6. Let's see if this will work. I will know more by end of March when the dongle arrived.


RE: KC868-D8 V4.34 new firmware update - admin - 03-01-2023

we use this one: https://www.aliexpress.us/item/2251832837185159.html?spm=a2g0o.store_pc_allProduct.8148356.1.401a6c0auzmMh3&pdp_npi=2%40dis%21USD%21US%20%2412.00%21US%20%2412.00%21%21%21%21%21%402133f17c16776674116085396e84c6%2167200781542%21sh&gatewayAdapt=glo2usa&_randl_shipto=US


RE: KC868-D8 V4.34 new firmware update - iwzr - 03-17-2024

I had to set the project on hold for a while, but now I am on track again. I have the same dongle as you suggested and also the same software, but I still get the error:

Code:
Hardware configuration set to <ST-LINK on USB with STM32F103x8 plugged in and SWD protocol>.
Blank check before programming (when available) is OFF
Verify after programming is ON.
Clear memory before loading a file is ON.
Erase device memory before programming (when available) is ON.
Display a popup window when an error occurs is ON.
Log activity is OFF
> Loading file C:\usr\Local_Work\NET_IAP_DIMMER8_0909.hex in PROGRAM MEMORY area  ...
< File successfully loaded. File Checksum 0x1909E8
> Programming  OPTION BYTE area...
Error : Wrong device selected ! Check the configuration or the device !


Error : < OPTION BYTE programming failed.

[Image: chipset.png]

[Image: connection.png]

What am I doing wrong? I hope I did not brick my device.