Hello.
I've got some questions about Flash API with respect to array generated from .out file by hex2000.
First of all, Flash28335_Program function works with words buffer. But hex2000 generated array without even number of symbols. It do it right - I checked it by .map file. For example:
$A328000,
BD FF AC 50 C7 61 D7 A9 35 07 AC B4 A9 A9 A9 A6 2C AC 05 3B A9 AA 00 AB //24
AB FF C8 09 A9 63 87 A5 A6 05 A9 63 A9 A3 0C F6 A5 A5 AC 05 2C 00 9E 0D //24
81 A9 05 A9 63 A9 AC 08 52 0B F8 BE 06 35 3B A9 AB FF AA FF 48 AB 85 AC //24
AB B1 AC 8D A8 00 AC A6 A9 12 06 //11
So, if I want to program this array to device, i have to change last line to even line. As I think, i have to add FF symbol, and line will look like:
AB B1 AC 8D A8 00 AC A6 A9 12 06 FF //12
Am I right with this suggestion?
Secondly, hex2000 generates two odd lines in my case (sure, all amount of symbols is even). For example:
C4 42 44 A6 F5 84 BE 06 1F 0D 3A 06 1F 0D 3C 06 06 1F 22 C0 29 68 1A 73 //24 92 //1 FF 00 00 0F FF 01 00 00 FF 02 00 00 FF 03 00 00 FF 04 00 00 FF 05 00 00 //24 ----so on --------------------
80 00 00 00 FE 82 00 00 00 FF 84 00 00 FF 85 00 00 FF 79 00 10 FF 7E 00 //24 00 00 00 //3 F8 33 F8 33 F8 33 F8 33 F8 33 F8 33 F8 33 F8 33 F8 33 F8 33 F8 33 F8 33 //24 So, i have to move symbols to convert all lines to even:
92 FF 00 00 0F FF 01 00 00 FF 02 00 00 FF 03 00 00 FF 04 00 00 FF 05 00 //24
----so on----
00 00 00 00 F8 33 F8 33 F8 33 F8 33 F8 33 F8 33 F8 33 F8 33 F8 33 F8 33 //24 , or something like that, i can miss in symbols now.
--so on
Last line will be even.
Is it right?