This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Saving & Reading a structure using FDS (Flash Data Storage) SDK15.3

I am trying to save and read a structure using FDS, how do I go about it?

I have the structure:

Is this correct by populating the record as such?:

And to read is the main problem, I can't seem to match the types in which it would load data from the structure: (This is giving error)

Parents
  • Hi,

    The first two code snippets (defining a struct and writing it with FDS looks sensible). I am not sure what you want to convey in the last. What are you trying to do? What fails? If you need a simple example you can refer to this post. You can also refer to the FDS example, but it is a bit over-complicated.

  • I am facing another problem with another structure saving. The structure I have is: 

    My custom function for saving is:

    I call the function using below:

    But I get error 0x03 at:

    Suggestion would be greatly appreciated Slight smile

Reply
  • I am facing another problem with another structure saving. The structure I have is: 

    My custom function for saving is:

    I call the function using below:

    But I get error 0x03 at:

    Suggestion would be greatly appreciated Slight smile

Children