Hi guys,
sorry to break in on the discussion, but you seem to know this detail:
For the K64F with 1Mbyte Program Flash only, the Flash command "Read Resource" did not return values in the order I expected.
Technical manual 29.4.12.14.1 says "Program Flash Swap IFR" at resource local address 0x040000 contains "Swap Indicator Address", "Swap Enable Word", "reserved bytes..".
I expected that returned as a byte block copy into FCCOB registers -4 through -B, but that gives 00 00 7F FF 7F FF 7F FF.
(When my initial "Swap Indicator Address" was supplied as 0x07 FF F0, I expect to find that truncated as 7FFF)
The FCCOBn (n=0-B) registers are mapped to address 0x4002 0004-F, but the register names are not ordered by increasing address.
The returned bytes makes more sense when assuming the 8 bytes are block-copied from the "Swap IFR" to the start address of registers FCCOB4-B.
The manual 29.4.12.4 Read Resource Command says "Read Data[] goes to FCCOB, in the order of the register numbers B, A, 9, ...4.
How are the content bytes of "Program Flash IFR" ordered in the "returned values" of "Read Resource Command"?
Kind regards
Jacob