EasyManua.ls Logo

Elprotronic MSP430 - F_Capture_Pc_Addr; F_Synch_Cpu_Jtag

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...
F_Copy_RAM_to_Buffer( address, size );
// read the test-1 result from the RAM
//using F_Get_Byte_from_Buffer(..)
F_Close_Target_Device();
....................
F_Autoprogram(0); // download the final code
F_Capture_PC_Addr
F_Capture_PC_Addr - Instructions monitoring the PC address on fly without
stopping the MCU
VALID FPA index - ( 1 to 64 )
NOTE: Instruction not supported in BSL and Fast BSL.
Syntax:
MSPPRG_API INT_X F_Capture_PC_Addr( void );
Return value:
0 - FALSE;
>0 - Capture PC address
Example:
See example in the F_Set_PC_and_RUN instruction.
F_Synch_CPU_JTAG
F_Synch_CPU_JTAG - Instructions allows to synchronize CPU with JTAG and stop the
CPU when the F_Set_PC_and_RUN has been executed.
Note: When the CPU is executing wrong code with critical error, or hardware RESET
has been used, then only the F_Open_Target_Device can recover the JTAG
communication with CPU.
VALID FPA index - ( 1 to 64 ) or 0 (ALL FPAs) executed sequentially.
NOTE: Instruction not supported in BSL and Fast BSL.
Syntax:
MSPPRG_API INT_X F_Synch_CPU_JTAG( void );
104

Table of Contents