save before programming

Discussion related to "under the hood" OpenMV topics.
User avatar
chrisPyres66
Posts: 28
Joined: Mon Jul 16, 2018 9:22 am
Location: France

save before programming

Postby chrisPyres66 » Mon Jul 16, 2018 9:37 am

Dear All,

i do C code to program microchip uc on windows and i am a beginner with openmv, linux and stm32.
I virtualized ubuntu, installed repositery and compiled code.

I did the cable between stlink and openmv board, but before starting to reprogram it, i would like to make a save to have the possibility to restart.
Could you give me your point what is the simplest way to do it ?

Thanks,
User avatar
kwagyeman
Posts: 2313
Joined: Sun May 24, 2015 2:10 pm

Re: save before programming

Postby kwagyeman » Mon Jul 16, 2018 1:39 pm

Hi, the IDE can reload the firmware at any time using DFU. You cannot brick the device. If you need to reflash the system you can git the latest firmware image from the release page on our git hub and then you can use the Tools->Run Bootloader to program the camera using the DFU file.
Nyamekye,
User avatar
chrisPyres66
Posts: 28
Joined: Mon Jul 16, 2018 9:22 am
Location: France

Re: save before programming

Postby chrisPyres66 » Mon Jul 23, 2018 7:45 am

Thanks again,

As you said, It is not usefull to read the memory because there are many way to reload the the camera :
- load all through the ide by shunting the boot and rst
- load the bootloader.elf through stm32cubeprogrammer for example and the firmware through the ide
- load only the firmware.elf through stm32cubeprogrammer for example (and yes you can still connect it with the IDE)
- other i did not try.
User avatar
kwagyeman
Posts: 2313
Joined: Sun May 24, 2015 2:10 pm

Re: save before programming

Postby kwagyeman » Mon Jul 23, 2018 1:16 pm

Loading the firmware.bin file through the IDE uses our bootloader code which is the fastest way to load the system. The same dialog box which you can load the dfu file through also will accept he firmware.bin file.
Nyamekye,

Return to “Technical Discussion”

Who is online

Users browsing this forum: No registered users and 4 guests