Remote Control Programming User’s Guide
PM024A02 Rev.2
70
4.4 Sequential instructions
Sequential instructions allow access to the target device in any combination of the small
instructions like erase, read, write sector, modify part of memory etc. Sequential instruction have an
access only when communication between target device and programming adapter is initialized. This
can be done when
F_Open_Target_Device
instruction is called. When communication is established,
then any of the sequential instruction can be called. When the process is finished, then at the end
F_Close_Target_Device
instruction should be called. When communication is terminated, then
sequential instructions can not be executed.
Note:
Erase/Write/Verify/Read configuration setup is not required when sequential instructions are
called. Also code file is not required to be downloaded. All data to be written, erased, and read is
specified as a parameter to the sequential functions. Data downloaded from the code file is ignored
in this case.
Very important:
The sequential functions allows to program words in the FLASH memory on any flash space location.
Also the same bytes / words can be programmed few times. Software is not be able to control how
many times the same location of the flash has been programmed between erasures. User should take
a full responsibility for programming the flash memory according to the CCxx specifications. See TI’s
data sheets and manuals for details.
The following flash programming limitation should be taken to consideration:
1.
The same word or byte can not be programmed more then twice between erasures. Otherwise,
damage can occur.
2.
In the CCxx flash device two or four bytes are programmed simultaneously. This means -
programmed bytes should be prepared first and flashed as a block with two or four bytes
length. Otherwise four independent bytes programmed separately will be programmed four
times - one time with required data and 3 times with 0xFF data.
Note: CCxx devices with max flash size up to 32 kB have two bytes size programming word
in the flash, while the CCxx with bigger flash memory size (up to 128 kB), have four bytes size
writing word.
Содержание FlashPro-CC
Страница 10: ...10...