fl_readdata and data partion
Posted: Wed May 03, 2017 9:40 pm
Hi,
If have a problem reading from the data partition
I used xflash to write a piece of data in the flash, when i (with xflash) read the contents in flash, the data is on the memory location i expected
in mine application (which i test in xtime composer with run or debug) when is do a fl_readdata it returns the value on memory location zero, the start of the boot section.
When i query the size of the data partition it return 0.
What can be the cause of this, and how does fl_read know what where the data partition starts. or must i run the application from flash?, if i run it from flash can i than stil print information to the xtime console?
King Regards
Niels Braspenning
If have a problem reading from the data partition
I used xflash to write a piece of data in the flash, when i (with xflash) read the contents in flash, the data is on the memory location i expected
in mine application (which i test in xtime composer with run or debug) when is do a fl_readdata it returns the value on memory location zero, the start of the boot section.
When i query the size of the data partition it return 0.
What can be the cause of this, and how does fl_read know what where the data partition starts. or must i run the application from flash?, if i run it from flash can i than stil print information to the xtime console?
King Regards
Niels Braspenning