2024-04-18 03:03 AM - last edited on 2024-04-19 12:59 AM by Peter BENSCH
I download firmware in s19 format via STVP program.
I would like to know how to check the checksum of firmware via STVP_Cmdline.
How can I check it through the command?
Solved! Go to Solution.
2024-04-19 01:07 AM
In my previous answer, I assumed that you wanted to use STVD in conjunction with an STM32. However, as the name suggests, the STM32CubeProgrammer is only suitable for STM32; the STM8s already on NRND cannot be programmed with it. I am therefore extremely sorry to have to summarise that I cannot suggest a solution to your problem.
Regards
/Peter
2024-04-18 04:42 AM
Welcome @ShawnHong, to the community!
For which MCU do you want to use STVP?
Do you realise that STVP has been on NRND (Not Recommended for New Design) for many years and should be replaced by STM32CubeProgrammer?
In addition, STVP cannot handle checksums, whereas STM32_Programmer_CLI (part of STM32CubeProgrammer) can.
Regards
/Peter
2024-04-18 05:46 PM
Hi Peter,
Thanks for your information.
We are using STM8S003F3P6 and uploading the firmware via STVP.
Our goal is to develop a method to automatically upload FW by sending commands to prevent incorrect FW selection in production line.
For this I'd like to know how to verify the checksum via command.
If we are using STM32_Programmer_CLI, can you provide a command for this?
Thanks a lot.
2024-04-19 01:07 AM
In my previous answer, I assumed that you wanted to use STVD in conjunction with an STM32. However, as the name suggests, the STM32CubeProgrammer is only suitable for STM32; the STM8s already on NRND cannot be programmed with it. I am therefore extremely sorry to have to summarise that I cannot suggest a solution to your problem.
Regards
/Peter
2024-05-06 12:21 AM
Well, STM8S (and STM8L) is back to "active", no longer NRND!
However, as FOSS tends to be less problematic wrt. hardware vendors dropping support: have you considered using stm8flash instead of STVP? However, stm8flash is not a full STVP replacement: it supports the STM8 only, so there is no STM32 and ST7 support. It is for flashing only (not on-target debugging - the FOSS solution for on-target debugging on STM8 uses OpenOCD and GDB).