This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hello,
I am trying to program MSP430FR2433 with UART BSL using the BSL Rocket and BSL scripter where I run the example code 'script_FRxx_uart' file given by TI to Blink the led. But I see a error message Flash write check failed. Please let me know where I am going wrong.
Thanks!
// //Script example FRxx UART BSL // //Device : MSP430FR6989 //Comm Bridge: MSP-BSL Rocket // //Download blink application through //UART BSL in FRAM device // LOG MODE FRxx UART 9600 COM22 //gives wrong password to do mass erase RX_PASSWORD pass32_wrong.txt // //add delay after giving wrong password //because the device does not give //any response after wrong password applied // DELAY 2000 RX_PASSWORD pass32_default.txt RX_DATA_BLOCK blinkLED_FR6989.txt CRC_CHECK 0x4400 0x0020 SET_PC 0x4400
@4400 81 00 00 24 B1 13 94 00 0C 93 02 24 B1 13 00 00 0C 43 B1 13 6C 00 B1 13 98 00 32 D0 10 00 FD 3F @ff80 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF @ffc6 1A 44 1A 44 1A 44 1A 44 1A 44 1A 44 1A 44 1A 44 1A 44 1A 44 1A 44 1A 44 1A 44 1A 44 1A 44 1A 44 1A 44 1A 44 1A 44 1A 44 1A 44 1A 44 1A 44 1A 44 1A 44 1A 44 1A 44 1A 44 00 44 2A 14 40 18 1A 42 5C 01 40 18 B2 40 80 5A 5C 01 8F 00 00 00 9F 00 00 00 13 24 89 00 00 00 88 00 00 00 0C 3C 0C 09 7F 4C 5F 06 00 18 5F 4F 00 00 A9 00 04 00 0D 09 4F 13 A9 00 04 00 D9 08 F2 23 7A C2 3A D0 08 5A 40 18 82 4A 5C 01 8F 00 00 00 9F 00 00 00 09 24 8A 00 00 00 03 3C 6A 13 AA 00 04 00 9A 00 00 00 FA 23 28 16 10 01 F1 03 B2 40 80 5A 5C 01 92 C3 30 01 D2 D3 04 02 D2 E3 02 02 B1 40 10 27 00 00 91 83 00 00 81 93 00 00 F6 27 FA 3F 03 43 1C 43 10 01 03 43 FF 3F q
// //Script example FRxx UART BSL // //Device : MSP430FR6989 //Comm Bridge: MSP-BSL Rocket // //Download blink application through //UART BSL in FRAM device // LOG MODE FRxx UART 9600 COM22 //gives wrong password to do mass erase RX_PASSWORD pass32_wrong.txt // //add delay after giving wrong password //because the device does not give //any response after wrong password applied // DELAY 2000 RX_PASSWORD pass32_default.txt RX_DATA_BLOCK blinkLED_FR6989.txt CRC_CHECK 0x4400 0x0020 SET_PC 0x4400
Hello,
I think the reason you get the "Flash write check failed!" message is because you are trying to write memory that doesn't exist on the device. On the FR2433, the highest address is 0xFFFF. You can find this information in section 6.13.1 Memory Organization, Table 6-23. Memory Organization of the datasheet (https://www.ti.com/lit/gpn/msp430fr2433). Looking at <2072.blinkLED_FR6989.txt>, you are trying to write 214 bytes starting at 0xFFC6, that would take you to 0x01009C, which is outside the range of defined memory.
Srinivas
Ok, I was able to resolve the issue now. Thank you.
Now, I am trying to program MSP430FR2355 using UART BSL through the BSL rocket/scripter. But now it gives [ACK_ERROR_MESSAGE]Unknown ACK value! Attached my files. Please let me know where I am going wrong. Also if I want to use I2C BSL, do i need to have pull up resistors for the SCL, SDA lines? The launchpad for MSP430FR2355 does not seem to have them. Thanks!
// //Script example FRxx UART BSL // //Device : MSP430FR2355 //Comm Bridge: MSP-BSL Rocket // //Download blink application through //UART BSL in FRAM device // LOG MODE FRxx UART 9600 COM22 //gives wrong password to do mass erase RX_PASSWORD pass32_wrong.txt // //add delay after giving wrong password //because the device does not give //any response after wrong password applied // DELAY 2000 RX_PASSWORD pass32_default.txt RX_DATA_BLOCK BlinkLED2355.txt CRC_CHECK 0x4400 0x0020 SET_PC 0x4400
@8000 31 80 06 00 3E 40 00 00 3E F0 3F 00 81 4E 00 00 3F 40 01 00 1F F3 81 4F 02 00 3D 40 01 00 1D F3 81 4D 04 00 5E 06 5F 02 0F DE 1F D1 04 00 3F D0 00 A5 82 4F 60 01 31 50 06 00 10 01 B2 40 80 5A CC 01 D2 C3 02 02 D2 D3 04 02 92 C3 30 01 D2 E3 02 02 0D 14 3D 40 32 82 1D 83 FE 23 0D 16 F7 3F 03 43 03 43 FF 3F 03 43 1C 43 10 01 31 40 00 30 B0 13 00 80 B0 13 68 80 0C 43 B0 13 3C 80 1C 43 B0 13 62 80 32 D0 10 00 FD 3F 03 43 @ff80 FF FF FF FF FF FF FF FF FF FF FF FF @ffa0 FF FF @ffce 84 80 84 80 84 80 84 80 84 80 84 80 84 80 84 80 84 80 84 80 84 80 84 80 84 80 84 80 84 80 84 80 84 80 84 80 84 80 84 80 84 80 84 80 84 80 84 80 6C 80 q
**Attention** This is a public forum