|
The J-Link 430 DLL is a standard Windows DLL
typically used from "C" (Visual Basic or Delphi projects are also
doable). It makes the entire functionality of J-Link 430 available
through the exported functions. The functionality includes things such
as halting/stepping the MSP430 core, reading/writing CPU and EEM
registers and reading/writing memory. Therefore it can be used in any
kind of application accessing an MSP430. Sample applications are a
memory viewer, DCC communication program, Debugger or flash programming
tool, such as J-Flash430.
The downloadable zip contains the following files:
GLOBAL.h
GLOBALS.h |
These files contain the define and typedefs. |
| MSP430.h |
functions that can be called inside a project. |
| JLink430.lib |
library contains the exports of the JLink430 DLL. |
| JLink430.dll |
the DLL itself |
| TestDLL.cpp |
the test application, that calls the some JLink DLL functions. |
TestDLL.dsp
TestDLL.dsw |
The project files. Double click "TestDLL.dsw" to open the project. |
The simple Visual C++ project, uses the JLink430 DLL and demonstrates how to call the functions inside a Visual C++ project.
Functions exported by the DLL:
The following functions are available:
MSP430_Initialize()
MSP430_Close()
MSP430_Identify()
MSP430_Device()
MSP430_Configure()
MSP430_VCC()
MSP430_Reset()
MSP430_Erase()
MSP430_Memory()
MSP430_Read_Memory()
MSP430_Write_Memory()
MSP430_Secure()
MSP430_ReadOutFile()
MSP430_ProgramFile()
MSP430_VerifyFile()
MSP430_EraseCheck()
MSP430_Error_Number()
MSP430_Error_String()
MSP430_VerifyMem()
MSP430_SetTMS()
MSP430_ClrTMS()
MSP430_SetTDI()
MSP430_ClrTDI()
MSP430_SetTCK()
MSP430_ClrTCK()
MSP430_ActReset()
MSP430_DeactReset()
MSP430_SetVPPOnTest()
MSP430_SetVPPOnTDI()
MSP430_ClrVPP()
MSP430_MeasureVoltages()
MSP430_UseTDOAsTDI()
MSP430_Registers()
MSP430_Read_Registers()
MSP430_Write_Registers()
MSP430_Breakpoint()
MSP430_Clear_Breakpoint()
MSP430_Run()
MSP430_State()
MSP430_EEM_Open()
MSP430_EEM_Read_Register()
MSP430_EEM_Read_Register_Test()
MSP430_EEM_Write_Register()
MSP430_EEM_Close()
MSP430_GetCompileDate()
Software download
|