Other Parts Discussed in Thread: MSP-FET
Hello,
I receive an error during programming MSP430FR5964 with MSP-FET tool used with MSP430Flasher:
./MSP430Flasher.exe -n MSP430FR5964 -j fast -w password.txt -v -p 0x11111111 * -----/|-------------------------------------------------------------------- * * / |__ * * /_ / MSP Flasher v1.3.19 * * | / * * -----|/-------------------------------------------------------------------- * * * Evaluating triggers...done * Checking for available FET debuggers: * Found USB FET @ COM7 <- Selected * Initializing interface @ COM7...done * Setting FET speed...done * Checking firmware compatibility: * FET firmware is up to date. * Reading FW version...done * Setting VCC to 3000 mV...done * Accessing device...done * Reading device information...done * Loading file into device...done * Verifying memory (password.txt)... # Exit: 10 # ERROR: Could not reset device * Powering down...done * Disconnecting from device...done * * ---------------------------------------------------------------------------- * Driver : closed (No error) * ---------------------------------------------------------------------------- */
Error disappear when I do not use JTAG password protection:
./MSP430Flasher.exe -n MSP430FR5964 -j fast -w .\without_password.txt -v * -----/|-------------------------------------------------------------------- * * / |__ * * /_ / MSP Flasher v1.3.19 * * | / * * -----|/-------------------------------------------------------------------- * * * Evaluating triggers...done * Checking for available FET debuggers: * Found USB FET @ COM7 <- Selected * Initializing interface @ COM7...done * Setting FET speed...done * Checking firmware compatibility: * FET firmware is up to date. * Reading FW version...done * Setting VCC to 3000 mV...done * Accessing device...done * Reading device information...done * Loading file into device...done * Verifying memory (.\without_password.txt)...done * * ---------------------------------------------------------------------------- * Arguments : -n MSP430FR5964 -j FAST -w .\without_password.txt -v * ---------------------------------------------------------------------------- * Driver : loaded * Dll Version : 31400000 * FwVersion : 31200000 * Interface : TIUSB * HwVersion : U 3.0 * JTAG Mode : AUTO * Device : MSP430FR5964 * EEM : Level 5, ClockCntrl 2 * Erase Mode : ERASE_ALL * Prog.File : .\without_password.txt * Verified : TRUE * BSL Unlock : FALSE * InfoA Access: FALSE * VCC OFF * ---------------------------------------------------------------------------- * Powering down...done * Disconnecting from device...done * * ---------------------------------------------------------------------------- * Driver : closed (No error) * ---------------------------------------------------------------------------- */
My password configuration:
/* * jtag_password.c * */ #include <stdint.h> /* Code protection feature*/ #pragma RETAIN(JTAG_signatures) #pragma DATA_SECTION(JTAG_signatures, ".jtagsignature") const uint16_t JTAG_signatures[] = {0xAAAA, 0x0002}; #pragma RETAIN(JTAG_password) #pragma DATA_SECTION(JTAG_password, ".jtagpassword") const uint8_t JTAG_password[] = {0x11, 0x11, 0x11, 0x11 };
Any ideas?