Quantcast
Channel: MSP low-power microcontrollers
Viewing all articles
Browse latest Browse all 62309

Forum Post: RE: MSP430FR6972 CHECK FUSE FAIL

$
0
0
Thanks ! My code is same as the slau320,such as follows: //---------------------------------------------------------------------------- //! \brief Function to take target device under JTAG control. Disables the //! target watchdog. Sets the global DEVICE variable as read from the target //! device. //! \return word (STATUS_ERROR if fuse is blown, incorrect JTAG ID or //! synchronizing time-out; STATUS_OK otherwise) word GetDevice_430Xv2(void) { if(GetCoreID () != STATUS_OK) { return(STATUS_ERROR); } if (IsLockKeyProgrammed()) // Stop here if fuse is already blown { return(STATUS_FUSEBLOWN); } if (GetCoreipIdXv2()!= STATUS_OK) { return(STATUS_ERROR); } if(SyncJtag_AssertPor() != STATUS_OK) { return(STATUS_ERROR); } // CPU is now in Full-Emulation-State // read DeviceId from memory ReadMemQuick_430Xv2(DeviceIdPointer + 4, 1, (word*)&DeviceId); return(STATUS_OK); }

Viewing all articles
Browse latest Browse all 62309

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>