meatpiHQ / wican-fw

GNU General Public License v3.0
262 stars 50 forks source link

Two sets of firmware - no obvious explanation of which to use, and "Readme" inside is wrong #153

Open gitcnd opened 1 month ago

gitcnd commented 1 month ago

Discord isn't the best place for this info:

Au{R}oN — 28/05/2024 05:53 hi guys, i'm updating my wican from v2.90 to 2.98, but I can't find any info or the differences between hv150 and hv300, what's that?

meatpi — 28/05/2024 14:16 One is for USB version and the other is for OBD. If you're using the OBD version use hv300

... it belongs on the github page at least - probably also inside the readme's

And the hv150 has an hv300 esptool.py commandline in it:

$ cat wican-fw-usb_v298_hv150/Readme.txt
Address   File 
0x0       bootloader.bin 
0x10000   wican-fw_vxxx_hv300.bin 
0x8000    partition-table.bin 
0xd000    ota_data_initial.bin

Using esptool:
esptool.py esp32c3 -p COMx -b 460800 --before=default_reset --after=hard_reset --no-stub write_flash --flash_mode dio --flash_freq 80m --flash_size 4MB 0x0 bootloader/bootloader.bin 0x10000 wican-fw_vxxx_hv300.bin 0x8000 partition_table/partition-table.bin 0xd000 ota_data_initial.bin

It would be nice to give us the command to backup what we're using before programming in new one too, fwiw

meatpiHQ commented 1 month ago

@gitcnd

It would be nice to give us the command to backup what we're using before programming in new one too, fwiw

If you're updating from the webpage it should not affect your settings unless there is a breaking changes, in this case the settings will restore to default.

But yes, it is a good idea to be able to backup settings.