Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
KC868-D8 V4.34 new firmware update
#11
1. download https://www.kincony.com/download/ArteryI...2.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.
Reply
#12
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/...s-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-m...l#overview
Does anyone know how I could perform the update?
Reply
#13
you can download this ST-link software that we have used in our video tour:
https://www.kincony.com/download/sttoolset.zip
Reply
#14
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?
Reply
#15
take a photo of your PCB, i want to see your CPU chip model. it showed: "Wrong device selected ".
Reply
#16
It is this one:
[Image: gEioIfTSMOJ5.jpg?o=1]
Reply
#17
(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.
Reply
#18
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.
Reply
#19
we use this one: https://www.aliexpress.us/item/225183283..._shipto=US
Reply
#20
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.
Reply


Forum Jump:


Users browsing this thread:
1 Guest(s)