This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

FDS function Implementation on DFU bootloader

Hi,

    I use FDS to save my data in my application. Below is my fds list. All RECORD already have data from factory production.

#define FILE_ID 0x1111
#define RECORD_KEY_TORQUE_0 0x0001
#define RECORD_KEY_W_TORQUE 0x0002
#define RECORD_KEY_I_TORQUE 0x0003
#define RECORD_KEY_UUID 0x0004
#define RECORD_KEY_EMS 0x0005
#define RECORD_KEY_SPINDOWN 0x0006
#define RECORD_KEY_SMT 0x0007
#define RECORD_KEY_ASM 0x0008

It's work well.

Now I want to read those data in dfu bootloader. Can I implement FDS function into dfu sample code? Is there anything to watch out for?

Thank you.

  

Parents
  • Hi,

    We do not have any examples of it (nor can I think of ever seeing it before), but I do not see any fundamental issue with using FDS in the bootloader nor anything in particular that should cause problems. The only think I think is worth mentioning is that you will increase the sizes of the bootloader this way, so you must move the bootloader start address down  a bit (I would guess one page). That is a general thing when adding functionality to the bootloader, though.

Reply
  • Hi,

    We do not have any examples of it (nor can I think of ever seeing it before), but I do not see any fundamental issue with using FDS in the bootloader nor anything in particular that should cause problems. The only think I think is worth mentioning is that you will increase the sizes of the bootloader this way, so you must move the bootloader start address down  a bit (I would guess one page). That is a general thing when adding functionality to the bootloader, though.

Children
Related