I am using three XK-1A's tied together and trying to write to the second boards Flash. After some work on the base code to get it to work on in 12.2 Xtime environment I have a clean compile. Tested the basic function that are in the xcore-sw_flashlib_examples-60b8048 and noticed that the flash is configured with no data partition. Added a call to fl_setBootPartitionSize(65536) (half of the flash size) I get the following output:
FLASH data partition size: 0 bytes.
FLASH size: 131072 bytes.
FLASH page size: 256 bytes.
FLASH Update Boot size to 65536 bytes.
FLASH data partition size: 65536 bytes.
FLASH number of pages in data partition: 256
FLASH number of sectors in data partition: 2
FLASH data sector size: 32768 bytes.
Data partition erased!
Data partition written!
Data partition read! Data: Hello World!
FLASH tested successfully!
I thought great, it worked. Now if I stop the run and start it back up the flash boot size is back to the entire 128K.
Any help would be most appreciated!
XK-1A and Flash problem
-
- Junior Member
- Posts: 7
- Joined: Mon Mar 25, 2013 2:51 am