I've now tried updating the bootloader to canbootloader on my desktop via the web, but it doesn't work for me; it gets stuck at 25%. Now I've done it via USB with ST-Link and installed the regular bootloader. To my surprise, I also have access to it via can-web, so installing the canbootloader isn't necessary.
I don't want to make any mistakes, otherwise I'll have to remove the LDU again to install the software.
Bootloader update via Wifi [SOLVED]
- tom91
- Posts: 2391
- Joined: Fri Mar 01, 2019 9:15 pm
- Location: Bristol
- Has thanked: 206 times
- Been thanked: 563 times
Re: Bootloader update via Wifi
Now try updating the firmware over CAN. This is what the CAN bootloader is for.
-
- Posts: 168
- Joined: Thu Dec 07, 2023 9:32 pm
- Location: Kosova
- Has thanked: 18 times
- Been thanked: 3 times
Re: Bootloader update via Wifi
Yes, I noticed that it doesn't work. But how do I get the canbootloader onto the LDU without having to remove the whole thing?
- tom91
- Posts: 2391
- Joined: Fri Mar 01, 2019 9:15 pm
- Location: Bristol
- Has thanked: 206 times
- Been thanked: 563 times
- tom91
- Posts: 2391
- Joined: Fri Mar 01, 2019 9:15 pm
- Location: Bristol
- Has thanked: 206 times
- Been thanked: 563 times
Re: Bootloader update via Wifi
Id be suprised it works but what do I know. Via UART it is not possible.
You need to go in via the SWDIO which might be working or not depending on the board hardware and wifi module used.
You need to go in via the SWDIO which might be working or not depending on the board hardware and wifi module used.
- johu
- Site Admin
- Posts: 6708
- Joined: Thu Nov 08, 2018 10:52 pm
- Location: Kassel/Germany
- Has thanked: 367 times
- Been thanked: 1536 times
- Contact:
Re: Bootloader update via Wifi [SOLVED]
Nono, indeed it is only possible via UART. The boot loader is then flashed into the application space and started as an application. Then it receives the new boot loader and writes it to the boot loader space. Then you can flash an application again.
The bootupdater has not been extended to support CAN yet
The bootupdater has not been extended to support CAN yet
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
- johu
- Site Admin
- Posts: 6708
- Joined: Thu Nov 08, 2018 10:52 pm
- Location: Kassel/Germany
- Has thanked: 367 times
- Been thanked: 1536 times
- Contact:
Re: Bootloader update via Wifi
Spent some though on it and it doesn't make sense to add CAN support to the boot updater as of now. If you have a processor without CAN bootloader you can't program the boot updater anyway. You always need UART access to do this.
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9