165 #include <DLL430_SYMBOL.h> 168 #if defined(_WIN32) || defined(_WIN64) 172 #if defined(__cplusplus) 321 #define DEVICE_UNKNOWN 0 472 #define ERROR_DEFINITIONS \ 473 ERROR_DEF(NO_ERR, "No error") \ 474 ERROR_DEF(INITIALIZE_ERR, "Could not initialize device interface") \ 475 ERROR_DEF(CLOSE_ERR, "Could not close device interface") \ 476 ERROR_DEF(PARAMETER_ERR, "Invalid parameter(s)") \ 477 ERROR_DEF(NO_DEVICE_ERR, "Could not find device (or device not supported)") \ 478 ERROR_DEF(DEVICE_UNKNOWN_ERR, "Unknown device") \ 479 ERROR_DEF(READ_MEMORY_ERR, "Could not read device memory") \ 480 ERROR_DEF(WRITE_MEMORY_ERR, "Could not write device memory") \ 481 ERROR_DEF(READ_FUSES_ERR, "Could not read device configuration fuses") \ 482 ERROR_DEF(CONFIGURATION_ERR, "Incorrectly configured device; device derivative not supported") \ 483 ERROR_DEF(VCC_ERR, "Could not set device Vcc") \ 484 ERROR_DEF(RESET_ERR, "Could not reset device") \ 485 ERROR_DEF(PRESERVE_RESTORE_ERR, "Could not preserve/restore device memory") \ 486 ERROR_DEF(FREQUENCY_ERR, "Could not set device operating frequency") \ 487 ERROR_DEF(ERASE_ERR, "Could not erase device memory") \ 488 ERROR_DEF(BREAKPOINT_ERR, "Could not set device breakpoint") \ 489 ERROR_DEF(STEP_ERR, "Could not single step device") \ 490 ERROR_DEF(RUN_ERR, "Could not run device (to breakpoint)") \ 491 ERROR_DEF(STATE_ERR, "Could not determine device state") \ 492 ERROR_DEF(EEM_OPEN_ERR, "Could not open Enhanced Emulation Module") \ 493 ERROR_DEF(EEM_READ_ERR, "Could not read Enhanced Emulation Module register") \ 494 ERROR_DEF(EEM_WRITE_ERR, "Could not write Enhanced Emulation Module register") \ 495 ERROR_DEF(EEM_CLOSE_ERR, "Could not close Enhanced Emulation Module") \ 496 ERROR_DEF(FILE_OPEN_ERR, "File open error") \ 497 ERROR_DEF(FILE_DETECT_ERR, "File type could not be identified") \ 498 ERROR_DEF(FILE_END_ERR, "File end error") \ 499 ERROR_DEF(FILE_IO_ERR, "File input/output error") \ 500 ERROR_DEF(FILE_DATA_ERR, "File data error") \ 501 ERROR_DEF(VERIFY_ERR, "Verification error") \ 502 ERROR_DEF(BLOW_FUSE_ERR, "Could not secure the device") \ 503 ERROR_DEF(FUSE_BLOWN_ERR, "The Debug Interface to the device has been secured") \ 504 ERROR_DEF(INTEL_HEX_CODE_ERR, "Error within Intel Hex file") \ 505 ERROR_DEF(WRITE_REGISTER_ERR, "Could not write device Register") \ 506 ERROR_DEF(READ_REGISTER_ERR, "Could not read device Register") \ 507 ERROR_DEF(INTERFACE_SUPPORT_ERR, "Not supported by selected Interface or Interface is not initialized") \ 508 ERROR_DEF(COMM_ERR, "Interface Communication error") \ 509 ERROR_DEF(NO_EX_POWER, "No external power supply detected") \ 510 ERROR_DEF(LOW_EX_POWER, "External power too low") \ 511 ERROR_DEF(EX_POWER_OK, "External power detected") \ 512 ERROR_DEF(HIGH_EX_POWER, "External power too high") \ 513 ERROR_DEF(SELFTEST_ERR, "Hardware Self Test Error") \ 514 ERROR_DEF(FLASH_TIMEOUT_ERR, "Fast Flash Routine experienced a timeout") \ 515 ERROR_DEF(THREAD_ERR, "Could not create thread for polling") \ 516 ERROR_DEF(EEM_INIT_ERR, "Could not initialize Enhanced Emulation Module") \ 517 ERROR_DEF(RESOURCE_ERR, "Insufficient resources") \ 518 ERROR_DEF(CLK_CTRL_ERR, "No clock control emulation on connected device") \ 519 ERROR_DEF(STATE_STOR_ERR, "No state storage buffer implemented on connected device") \ 520 ERROR_DEF(READ_TRACE_ERR, "Could not read trace buffer") \ 521 ERROR_DEF(VAR_WATCH_EN_ERR, "Enable the variable watch function") \ 522 ERROR_DEF(SEQUENCER_ERR, "No trigger sequencer implemented on connected device") \ 523 ERROR_DEF(SEQ_ENABLE_ERR, "Could not read sequencer state - Sequencer is disabled") \ 524 ERROR_DEF(CLR_SEQ_TRIGGER, "Could not remove trigger - Used in sequencer") \ 525 ERROR_DEF(SET_SEQ_TRIGGER, "Could not set combination - Trigger is used in sequencer") \ 526 ERROR_DEF(SPMA_ACTIVE_ERR, "System Protection Module A is enabled - Device locked") \ 527 ERROR_DEF(SPMA_INVALID_KEY_ERR, "Invalid SPMA key was passed to the target device - Device locked") \ 528 ERROR_DEF(SPMA_MAX_TRIALS, "Device does not accept any further SPMA keys - Device locked") \ 529 ERROR_DEF(USB_FET_BSL_ACTIVE_ERR, "MSP-FET430UIF Firmware erased - Bootloader active") \ 530 ERROR_DEF(USB_FET_NOT_FOUND_ERR, "Could not find MSP-FET430UIF on specified COM port") \ 531 ERROR_DEF(USB_FET_BUSY_ERR, "MSP-FET430UIF is already in use") \ 532 ERROR_DEF(THREAD_ACTIVE_ERR, "EEM polling thread is already active") \ 533 ERROR_DEF(THREAD_TERMINATE_ERR, "Could not terminate EEM polling thread") \ 534 ERROR_DEF(UNLOCK_BSL_ERR, "Could not unlock BSL memory segments") \ 535 ERROR_DEF(BSL_MEMORY_LOCKED_ERR, "Could not perform access, BSL memory segments are protected") \ 536 ERROR_DEF(FOUND_OTHER_DEVICE, "Another device as selected was found") \ 537 ERROR_DEF(WRONG_PASSWORD, "Could not enable JTAG wrong password") \ 538 ERROR_DEF(UPDATE_MULTIPLE_UIF_ERR, "Only one UIF must be connected during update to v3") \ 539 ERROR_DEF(CDC_UIF_ERR, "CDC-USB-FET-Driver was not installed. Please install the driver") \ 540 ERROR_DEF(UIF_MANUAL_POWERCYCLE_NEEDED, "Manual reboot of USB-FET needed ! PLEASE unplug and reconnect your USB-FET!!") \ 541 ERROR_DEF(INTERNAL_ERR, "Internal error") \ 542 ERROR_DEF(FETRECOVERY_NEEDED, "One of the connected MSP-FETs / eZ-FETs debuggers needs recovery") \ 543 ERROR_DEF(WRITE_EXTERNAL_MEM_ERR, "One of the connected MSP-FETs / eZ-FETs debuggers needs recovery") \ 544 ERROR_DEF(FEATURE_NOT_SUPPORTED, "Feature not supported") \ 545 ERROR_DEF(RECOVERY_MULTIPLE_UIF, "Only one MSP-FET / eZ-FET must be connected during recovery") \ 546 ERROR_DEF(RECOVERY_FAILED, "MSP-FET / eZ-FET recovery failed") \ 547 ERROR_DEF(UPDATE_CORE_ERR, "MSP-FET / eZ-FET core(communication layer) update failed") \ 548 ERROR_DEF(UPDATE_MODULE_ERR, "MSP-FET / eZ-FET legacy module update failed") \ 549 ERROR_DEF(ET_NOT_SUPPORTED, "EnergyTrace is not supported by the selected debugger") \ 550 ERROR_DEF(HARDWARE_STATE_UNKNOWN, "Hardware State is unknown") \ 551 ERROR_DEF(DEVICE_CRC_WRONG, "Device configuration data inconsistent. Please discontinue using/replace target device.") \ 552 ERROR_DEF(EEM_NOT_ACCESSIBLE, "EEM module not accessible while running in Ultra Low Power Debug Mode - Deactivate Ultra Low Power Debug mode to enable this feature") \ 553 ERROR_DEF(REMOVE_SOFTWARE_BREAKPOINT_ERR, "Failed to remove software breakpoints, please reprogram target device") \ 554 ERROR_DEF(TRIGGER_CONFLICT_ERR, "Trigger configuration conflicts with existing triggers") \ 555 ERROR_DEF(TARGET_RUNNING_ERR, "Operation not possible while device is running") \ 556 ERROR_DEF(INCOMPATIBLE_WITH_SW_BREAKPOINT_API, "This function can not be used when software breakpoints are enabled") \ 557 ERROR_DEF(SPEED_CONFIG_ERR, "JTAG/SBW speed configuration failed") \ 558 ERROR_DEF(SWBP_CRITICAL_INSTRUCTION, "Software breakpoint can't be set (followed by critical value)") \ 559 ERROR_DEF(ET_NOT_SUPPORTED_DEVICE, "EnergyTrace is not supported by selected MSP430 device") \ 560 ERROR_DEF(ET_NOT_SUPPORTED_ULP_DEBUG, "EnergyTrace requires Ultra-Low Power debug / LPMx.5 enabled") \ 561 ERROR_DEF(LEGACY_DEVICE_ERR, "Legacy version of silicon used, which is no longer supported. Please contact TI to obtain a newer version.") \ 562 ERROR_DEF(SECURE_NOT_SUPPORTED_ERR, "Secure device via the IDE is not supported. See Device User Guide for further information.") \ 563 ERROR_DEF(CYCLE_COUNTER_CONFLICT, "Cycle counter is in basic mode. Set to advanced mode to use this function.") \ 564 ERROR_DEF(NO_LPT_SUPPORT, "Parallel port FET (MSP-FETP430IF) is no longer supported.") \ 565 ERROR_DEF(WRONG_TARGET_ARCHITECTURE, "Wrong target architecture was selected - Valid architectures are MSP430 or MSP432_M4.") \ 566 ERROR_DEF(MSP432_TOTAL_ERASE, "Mass erase executed. Please power-cycle your device and restart the debug session.") \ 567 ERROR_DEF(POSSIBLE_OVERCURRENT, "Your connected hardware might drain too much power from the debugger.This results in an overcurrent.") \ 568 ERROR_DEF(FET_UPDATE_FAILED, "MSP Tool firmware update failed. Please ensure the USB or Backchannel UART connection is not in use.") \ 569 ERROR_DEF(INTERFACE_SUPPORT_ERR_MSP432, "MSP432 devices are not supported using the MSPFET430-UIF") \ 570 ERROR_DEF(DAP_LOCK_WRONG_PROTOCOL, "DAP is locked or wrong debug protocol selected.") \ 571 ERROR_DEF(DEVICE_DB_ERR, "Device database not loaded.") \ 572 ERROR_DEF(INVALID_ERR, "Invalid error number") 575 #define ERROR_DEF(errorEnum, errorString) errorEnum, 721 DLL430_SYMBOL STATUS_T WINAPI
MSP430_Initialize(
const char* port, int32_t* version);
739 DLL430_SYMBOL STATUS_T WINAPI
MSP430_Close(int32_t vccOff);
803 DLL430_SYMBOL STATUS_T WINAPI
MSP430_OpenDevice(
const char* Device,
const char* Password, int32_t PwLength,int32_t DeviceCode, int32_t setId);
824 DLL430_SYMBOL STATUS_T WINAPI
MSP430_Device(int32_t localDeviceId, uint8_t*
buffer, int32_t count);
871 DLL430_SYMBOL STATUS_T WINAPI
MSP430_Configure(int32_t mode, int32_t value);
896 DLL430_SYMBOL STATUS_T WINAPI
MSP430_VCC(int32_t voltage);
975 DLL430_SYMBOL STATUS_T WINAPI
MSP430_Reset(int32_t method, int32_t execute, int32_t releaseJTAG);
1016 DLL430_SYMBOL STATUS_T WINAPI
MSP430_Erase(int32_t type, int32_t address, int32_t length);
1047 DLL430_SYMBOL STATUS_T WINAPI
MSP430_Memory(int32_t address, uint8_t*
buffer, int32_t count, int32_t rw);
1049 #define MSP430_Read_Memory(ADDRESS, BUFFER, COUNT) MSP430_Memory(ADDRESS, BUFFER, COUNT, READ) 1050 #define MSP430_Write_Memory(ADDRESS, BUFFER, COUNT) MSP430_Memory(ADDRESS, BUFFER, COUNT, WRITE) 1095 #if ! defined(uController) 1096 DLL430_SYMBOL STATUS_T WINAPI
MSP430_ReadOutFile(int32_t wStart, int32_t wLength,
const char* lpszFileName, int32_t iFileType);
1140 #if ! defined(uController) 1141 DLL430_SYMBOL STATUS_T WINAPI
MSP430_ProgramFile(
const char* File, int32_t eraseType, int32_t verifyMem);
1171 #if ! defined(uController) 1197 DLL430_SYMBOL STATUS_T WINAPI
MSP430_VerifyMem(int32_t StartAddr, int32_t Length,
const uint8_t* DataArray);
1220 DLL430_SYMBOL STATUS_T WINAPI
MSP430_EraseCheck(int32_t StartAddr, int32_t Length);
1244 #if ! defined(uController) 1262 #if ! defined(uController) 1292 #if ! defined(uController) 1319 #if defined(__cplusplus) DLL430_SYMBOL STATUS_T WINAPI MSP430_GetInterface_Type(enum INTERFACE_TYPE *type)
Determine the type of interface for the connection to the device.
System event FET restart needed.
Definition: MSP430.h:587
READ_WRITE
Definition: MSP430.h:337
uint16_t nBreakpointsReadWrite
Definition: MSP430.h:258
uint16_t clockControl
Clock control level.
Definition: MSP430.h:217
uint16_t eemVersion
The EEM Version Number.
Definition: MSP430.h:255
enum FILE_TYPE FILE_TYPE_t
File types.
uint32_t ram32BitBandStart
Indicates the start of the 32-bit RAM Bit-Band alias region space.
Definition: MSP430.h:290
enum RESET_METHOD RESET_METHOD_t
Device reset methods.
uint16_t ram2Start
RAM2 starting address.
Definition: MSP430.h:231
DLL430_SYMBOL STATUS_T WINAPI MSP430_GetFoundDevice(uint8_t *FoundDevice, int32_t count)
DLL430_SYMBOL STATUS_T WINAPI MSP430_Initialize(const char *port, int32_t *version)
Initialize the interface.
uint16_t endian
The value 0xaa55.
Definition: MSP430.h:201
uint16_t lcdEnd
LCD ending address.
Definition: MSP430.h:221
uint32_t main32BitStart
Indicates the start of the 32-bit MAIN space.
Definition: MSP430.h:294
uint32_t main32BitEnd
Indicates the end of the 32-bit MAIN space.
Definition: MSP430.h:296
CONFIG_MODE
Configurations to set with MSP430_Configure.
Definition: MSP430.h:380
uint16_t nCombinations
Number of EEM Trigger Combinations.
Definition: MSP430.h:245
FILE_TYPE
File types.
Definition: MSP430.h:459
uint32_t ram32BitStart
Indicates the start of the 32-bit RAM space.
Definition: MSP430.h:286
int32_t nDataWatchpoints
number of DataWatchpoints (if hardware resources are separated) or -1 if hardware resources are share...
Definition: MSP430.h:306
ERROR_CODE
Definition: MSP430.h:576
uint32_t infoSecond32BitStart
Indicates the start of the second 32-bit Info memory space.
Definition: MSP430.h:310
MESSAGE_LEVEL
Definition: MSP430.h:465
uint16_t mainSegmentSize
Flash segment size for Main.
Definition: MSP430.h:275
SYSTEM_EVENT_MSP
Definition: MSP430.h:580
uint16_t coreIpId
The CoreIP ID.
Definition: MSP430.h:251
DLL430_SYMBOL STATUS_T WINAPI MSP430_GetNumberOfUsbIfs(int32_t *Number)
Returns the number of MSP-FET430UIF USB FETs connected to the PC system.
DLL430_SYMBOL STATUS_T WINAPI MSP430_Reset(int32_t method, int32_t execute, int32_t releaseJTAG)
Reset the device using the specified method(s). Optionally start device execution, and release the JTAG control signals.
uint16_t ramEnd
RAM ending address.
Definition: MSP430.h:211
enum ERROR_CODE ERROR_CODE_t
uint32_t infoSecond32BitEnd
Indicates the end of the second 32-bit Info memory space.
Definition: MSP430.h:312
uint32_t bsl32BitStart
Indicates the start of the 32-bit BSL memory space.
Definition: MSP430.h:302
enum TARGET_ARCHITECTURE TARGET_ARCHITECTURE_t
void(* MessageCallbackFn)(MESSAGE_LEVEL_T, const char *)
Definition: MSP430.h:470
System event FET connection is lost.
Definition: MSP430.h:583
uint32_t ram32BitEnd
Indicates the end of the 32-bit RAM space.
Definition: MSP430.h:288
uint16_t bslStart
BSL starting address.
Definition: MSP430.h:239
uint16_t paddingForLegacyDll
Definition: MSP430.h:278
DLL430_SYMBOL STATUS_T WINAPI MSP430_Secure(void)
The device is secured (i.e., the JTAG security fuse is blown). MSP-FET430UIF USB JTAG adaptor >>> D...
uint16_t HasFramMemroy
Msp430 has FRAM Memory.
Definition: MSP430.h:273
DLL430_SYMBOL STATUS_T WINAPI MSP430_ReadOutFile(int32_t wStart, int32_t wLength, const char *lpszFileName, int32_t iFileType)
Read the specified range of device memory, and write it to the specified file.
uint16_t TrigerMask
Trigger Mask for Breakpoint.
Definition: MSP430.h:261
enum INTERFACE_SPEED INTERFACE_SPEED_t
Configurations values for CONFIG_MODE INTERFACE_SPEED.
int32_t nDataWatchpointsValueMatch
number of DataWatchpoints that can be used to match against an address and a value or -1 ...
Definition: MSP430.h:308
DLL430_SYMBOL STATUS_T WINAPI MSP430_SetTargetArchitecture(TARGET_ARCHITECTURE_t architecture)
uint16_t nRegTrigger
Number of CPU Register Trigger.
Definition: MSP430.h:243
uint32_t ram32BitBandEnd
Indicates the end of the 32-bit RAM Bit-Band alias region space.
Definition: MSP430.h:292
enum MESSAGE_LEVEL MESSAGE_LEVEL_T
enum INTERFACE_TYPE INTERFACE_TYPE_t
Configurations values for CONFIG_MODE INTERFACE_MODE.
DLL430_SYMBOL const char *WINAPI MSP430_Error_String(int32_t errorNumber)
Determine the string associated with errorNumber.
uint16_t nBreakpointsOptions
Breakpoint Modes.
Definition: MSP430.h:257
System event device entered LPMx.5.
Definition: MSP430.h:589
DLL430_SYMBOL STATUS_T WINAPI MSP430_GetJtagID(int32_t *JtagId)
Deprecated.
uint16_t ram2End
RAM2 ending address.
Definition: MSP430.h:233
uint32_t debug32BitStart
Indicates the start of the 32-bit DEBUG memory space.
Definition: MSP430.h:298
DLL430_SYMBOL STATUS_T WINAPI MSP430_Close(int32_t vccOff)
Close the interface.
uint8_t jtagId
The JTAG ID - value returned on an instruction shift.
Definition: MSP430.h:249
enum CPU_ARCH_TYPE CPU_ARCH_TYPE_t
DLL430_SYMBOL STATUS_T WINAPI MSP430_VerifyFile(const char *File)
Compare the MSP430 memory and the contents of the specified file.
DLL430_SYMBOL STATUS_T WINAPI MSP430_Erase(int32_t type, int32_t address, int32_t length)
Erase the device FLASH/FRAM memory.
DLL430_SYMBOL STATUS_T WINAPI MSP430_Memory(int32_t address, uint8_t *buffer, int32_t count, int32_t rw)
Read and write the device memory. "Device memory" includes the Special Function Registers (i...
CPU_ARCH_TYPE
Definition: MSP430.h:323
enum ERASE_TYPE ERASE_TYPE_t
FLASH erase type.
uint32_t deviceIdPtr
The Device-ID Pointer.
Definition: MSP430.h:253
uint8_t buffer[184]
Definition: MSP430.h:197
System event - Timout occourt during FPGA DR/IR shift.
Definition: MSP430.h:595
uint32_t info32BitStart
Indicates the start of the 32-bit RAM space.
Definition: MSP430.h:282
DLL430_SYMBOL STATUS_T WINAPI MSP430_ClearDeviceDb()
Remove all loaded devices from the device database.
DLL430_SYMBOL STATUS_T WINAPI MSP430_GetExtVoltage(int32_t *voltage, int32_t *state)
Detect if external voltage is supplied to the target device. Report back the value of an external vol...
DLL430_SYMBOL STATUS_T WINAPI MSP430_LoadDeviceDb(const char *file)
enum DISABLE_INTERRUPTS_TYPE DISABLE_INTERRUPTS_TYPE_t
Configurations values for CONFIG_MODE DISABLE_INTERRUPTS.
uint32_t info32BitEnd
Indicates the end of the 32-bit RAM space.
Definition: MSP430.h:284
void(* SYSTEM_NOTIFY_CALLBACK)(SYSTEM_EVENT_MSP_t MySystemEvent)
Definition: MSP430.h:598
DLL430_SYMBOL STATUS_T WINAPI MSP430_DumpDeviceDb(const char *file)
uint16_t nCycleCounterOperations
Cycle couter modes.
Definition: MSP430.h:269
DLL430_SYMBOL STATUS_T WINAPI MSP430_Configure(int32_t mode, int32_t value)
Configure the mode(s) of the device and/or the software. Possible configuration modes are covered by ...
uint8_t cpuArch
The MSP430 architecture (non-X, X or Xv2).
Definition: MSP430.h:247
enum READ_WRITE READ_WRITE_t
enum CONFIG_MODE CONFIG_MODE_t
Configurations to set with MSP430_Configure.
uint32_t structSize
Indicates the complete size in bytes of the structure.
Definition: MSP430.h:280
DLL430_SYMBOL STATUS_T WINAPI MSP430_GetCurVCCT(int32_t *voltage)
Report back the current voltage supplied to the target device.
uint16_t nSequencer
Msp430 has Sequencer.
Definition: MSP430.h:271
uint16_t lcdStart
LCD starting address.
Definition: MSP430.h:219
DLL430_SYMBOL STATUS_T WINAPI MSP430_SET_SYSTEM_NOTIFY_CALLBACK(SYSTEM_NOTIFY_CALLBACK parSystemNotifyCallback)
Initialize the SYSTEM NOTIFYCALLBACK.
uint16_t id
Identification number.
Definition: MSP430.h:203
int32_t STATUS_T
this is the definition for the DLL functions return value
Definition: MSP430.h:180
enum STATUS_CODE STATUS_CODE_t
Status codes of the DLL functions.
System event devices wakes up from LPMx.5.
Definition: MSP430.h:591
uint32_t mainEnd
MAIN ending address.
Definition: MSP430.h:237
DLL430_SYMBOL int32_t WINAPI MSP430_Error_Number(void)
Determine the number of the error when a MSP430_xxx() function returns STATUS_ERROR.
DLL430_SYMBOL STATUS_T WINAPI MSP430_RegisterMessageCallback(MessageCallbackFn callback)
Defines the callback function to call for messages The callback will be automatically cleared by call...
union DEVICE_T DEVICE_T_t
Device information structure.
INTERFACE_SPEED
Configurations values for CONFIG_MODE INTERFACE_SPEED.
Definition: MSP430.h:452
uint16_t nBreakpoints
Number of breakpoints.
Definition: MSP430.h:213
uint32_t debug32BitEnd
Indicates the end of the 32-bit DEBUG memory space.
Definition: MSP430.h:300
RESET_METHOD
Device reset methods.
Definition: MSP430.h:349
uint16_t ramStart
RAM starting address.
Definition: MSP430.h:229
enum ENABLE_DISABLE ENABLE_DISABLE_t
TARGET_ARCHITECTURE
Definition: MSP430.h:331
System event - overcurrent detection on JTAG lines or VCC line.
Definition: MSP430.h:593
uint16_t emulation
Emulation level.
Definition: MSP430.h:215
DLL430_SYMBOL STATUS_T WINAPI MSP430_EraseCheck(int32_t StartAddr, int32_t Length)
Verify that the specified memory range is erased.
uint16_t nStateStorage
MSP430 has Stage Storage.
Definition: MSP430.h:265
uint16_t bslEnd
BSL ending address.
Definition: MSP430.h:241
ENABLE_DISABLE
Definition: MSP430.h:343
uint32_t info32BitSegmentSize
Flash segment size for 32-bit Info memory space (MSP432 SimpleLink only)
Definition: MSP430.h:314
Device information structure.
Definition: MSP430.h:194
STATUS_CODE
Status codes of the DLL functions.
Definition: MSP430.h:185
INTERFACE_TYPE
Configurations values for CONFIG_MODE INTERFACE_MODE.
Definition: MSP430.h:439
uint16_t nCycleCounter
Number of cycle counters of MSP430.
Definition: MSP430.h:267
uint32_t bsl32BitEnd
Indicates the end of the 32-bit BSL memory space.
Definition: MSP430.h:304
forces a Power up clear reset
Definition: MSP430.h:359
uint16_t nRegTriggerOperations
Register Trigger modes.
Definition: MSP430.h:263
DLL430_SYMBOL STATUS_T WINAPI MSP430_GetNameOfUsbIf(int32_t Idx, char **Name, int32_t *Status)
Get the name of a Virtual Com Port (VCP), Human Interface Device (HID) or Communication Device Class ...
uint16_t vccMinOp
Vcc minimum during operation [mVolts].
Definition: MSP430.h:223
DLL430_SYMBOL STATUS_T WINAPI MSP430_OpenDevice(const char *Device, const char *Password, int32_t PwLength, int32_t DeviceCode, int32_t setId)
Identify the device, and compare the found device to the expected device.
DISABLE_INTERRUPTS_TYPE
Configurations values for CONFIG_MODE DISABLE_INTERRUPTS.
Definition: MSP430.h:432
uint16_t infoEnd
INFO ending address.
Definition: MSP430.h:235
uint16_t vccMaxOp
Vcc maximum during operation [mVolts].
Definition: MSP430.h:225
uint16_t mainStart
MAIN MEMORY starting address.
Definition: MSP430.h:207
System event device connection is lost.
Definition: MSP430.h:585
ERASE_TYPE
FLASH erase type.
Definition: MSP430.h:371
DLL430_SYMBOL STATUS_T WINAPI MSP430_VerifyMem(int32_t StartAddr, int32_t Length, const uint8_t *DataArray)
DLL430_SYMBOL STATUS_T WINAPI MSP430_Device(int32_t localDeviceId, uint8_t *buffer, int32_t count)
Obtain the device information.
DLL430_SYMBOL STATUS_T WINAPI MSP430_ProgramFile(const char *File, int32_t eraseType, int32_t verifyMem)
The contents of the specified file are input, and then written to the device. The device is optionall...
DLL430_SYMBOL STATUS_T WINAPI MSP430_VCC(int32_t voltage)
Set the device Vcc pin to voltage/1000 volts. The USB JTAG adaptor also checks if external power is ...
uint16_t infoStart
INFORMATION MEMORY starting address.
Definition: MSP430.h:209
uint16_t nBreakpointsDma
Definition: MSP430.h:259
uint16_t hasTestVpp
Device has TEST/VPP.
Definition: MSP430.h:227
enum SYSTEM_EVENT_MSP SYSTEM_EVENT_MSP_t