Skip to content

Firmware updates from SD #215

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
1 of 2 tasks
fietser28 opened this issue Jun 17, 2021 · 4 comments
Closed
1 of 2 tasks

Firmware updates from SD #215

fietser28 opened this issue Jun 17, 2021 · 4 comments
Assignees
Milestone

Comments

@fietser28
Copy link
Collaborator

fietser28 commented Jun 17, 2021

I would like to be able to update the firmware of the BB3 from a file on the SD card. This issue is jus about the plain update method itself (probably an additional small step between the current bootloader (supporting dfu-util) and the main software).

I think this is an important enabler for other UI/user functions that download the firmware file to the BB3:

  • directly via ethernet from GitHub
  • via studio (USB or ethernet)
@prasimix
Copy link
Member

I believe that the first step here is to find out how to make custom bootloader and does it can be part of the firmware or factory default bootloader needs to be replaced.

@goran-mahovlic
Copy link
Collaborator

As I know we cannot remove current factory default boot loader - so it stays. To have SD card bootloader we would need small application that reads SD card and writes data to memory address of STM32.

Factory default bootloader jumps to custom bootloader address that will be at 0x08000000
custom bootloader checks if file is available - or button is pressed
custom bootloader loads app
custom bootloader jumps to app address that has offset (depending of bootloader size)

We can also find already written bootloader and check how it works...

https://github.com/akospasztor/stm32-bootloader/tree/master/projects/STM32L496-Discovery

@goran-mahovlic
Copy link
Collaborator

goran-mahovlic commented Jun 17, 2021

This one looks promissing - https://github.com/feaser/openblt
https://www.feaser.com/openblt/doku.php?id=manual:sdcard_demo

@prasimix prasimix added this to the v1.7.1 milestone Jul 3, 2021
@prasimix
Copy link
Member

prasimix commented Jul 7, 2021

Fixed partially, i.e. it is possible to detect and download new firmware indirectly from GitHub via EEZ Studio.

@prasimix prasimix closed this as completed Jul 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants