EasyManua.ls Logo

Elprotronic MSP430 - F_Set_Pc_And_Run

Default Icon
119 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Parameters:
start address - Even address
size - Even number
Return value:
1 - TRUE if data has been read successfully
0 - otherwise FALSE.
-2 - FPA_INVALID_NO.
NOTE: Specified address in the Read Data Buffer is the same as a physical RAM
address.
Example:
....................
....................
st = F_Copy_RAM_to_Buffer( 0x220, 0xE0 );
if( st == TRUE )
{
for( addr = 0x0220; addr<0x0300; addr++ )
data[addr] = F_Get_Byte_from_Buffer( addr );
}
else
{
...................
}
....................
F_Set_PC_and_RUN
F_Set_PC_and_RUN - Instructions allows to run program in microcontroller from
specified PC in the RAM or Flash location. Program should be
downloaded first using the Write to Flash or Ram procedures.
When the processor is running then the JTAG is disconnected
from the CPU. The CPU can be controlled from JTAG again when
the instruction F_Open_Target_Device or F_Synch_CPU_JTAG is
used.
Note: The F_Open_Target_Device instruction is resetting the CPU. All internal
registers states are set to default value. The F_Synch_CPU_JTAG is
synchronizing the CPU and JTAG on fly. The CPU is stopped, but all
registers have not been modified.
VALID FPA index - ( 1 to 64 ) or 0 (ALL FPAs) executed sequentially.
NOTE: Instruction not supported in BSL and Fast BSL.
102

Table of Contents