Hi,
I am facing communication problem from BSL scripter.exe to MSP430F5255 BSL.
I am trying to communicate with the existing BSL(factory default) in the chip(MSP430F5255).
I tried both Hardware method and software method for Invoking the BSL mode. And trying to communicate from BSL scripter.exe through MSP-FET430UIF debugger interface.
Here I am using DVCC mode(By shorting DVIO with DVCC).
Hardware Invoking:
Used the connections which are mentioned in the MSP430F5255 datasheet for DVCC mode(P6.1 and P6.2).
Software Invoking:
When I receive some character 'R' from UART, I am calling BSL address location as below:
if(rec_ch == 'R')
{
//if(!(BIT2 & P4IN))
//{
debug_Transmit('R');
__bic_SR_register(GIE);
((void(*)())0x1000)();
//((void (*)(void))0x1000)();
//}
}
But, in both the cases I am not succeeded. I am not getting, why the scripter is not able to communicate with the BSL.
Please suggest what are all the connections and pins required between the MSP-FET430UIF debugger and the MSP430F5255 controller for communicating with BSL of the controller from BSL scripter.exe
Please find the below Scripter log data for your reference. In that it is showing transmitting data but not getting any responses.
---------------------------------------------------------
BSL Scripter 3.1.0.0
PC software for BSL programming
2016-Oct-22 19:16:59
---------------------------------------------------------
Input file script is : C:/Users/sushma/MSPBSL_Scripter_win/BSL_Scripter_Windows/ScriptExample/5xx_uart/script_5xx_uart.txt
MODE 5xx UART COM8
VERBOSE
//CHANGE_BAUD_RATE 115200
//gives the wrong password to
//mass erase the memory
MASS_ERASE
[15]
DELAY 20000
//RX_PASSWORD pass30_wrong.txt
//RX_PASSWORD pass30_default.txt
//TX_BSL_VERSION
RX_DATA_BLOCK blinkLED_f5255.txt
Read Txt File : C:/Users/sushma/MSPBSL_Scripter_win/BSL_Scripter_Windows/ScriptExample/5xx_uart/blinkLED_f5255.txt
[10] [00] [a4] [00] [81] [00] [00] [a4] [b1] [13] [a4] [00] [0c] [93] [02] [24]
[b1] [13] [00] [00] [0c] [43] [b1] [13] [6c] [00] [b1] [13] [a8] [00] [32] [d0]
[10] [00] [fd] [3f]
[10] [c8] [ff] [00] [1a] [a4] [1a] [a4] [1a] [a4] [1a] [a4] [1a] [a4] [1a] [a4]
[1a] [a4] [1a] [a4] [1a] [a4] [1a] [a4] [1a] [a4] [1a] [a4] [1a] [a4]
[10] [e4] [ff] [00] [1a] [a4] [1a] [a4] [1a] [a4] [1a] [a4] [1a] [a4] [1a] [a4]
[1a] [a4] [1a] [a4] [1a] [a4] [1a] [a4] [1a] [a4] [1a] [a4] [1a] [a4] [00] [a4]
[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] [b2] [40] [80] [5a]
[5c] [01] [d2] [d3] [24] [02] [d2] [c3] [22] [02] [e2] [d3] [24] [02] [e2] [c3]
[22] [02] [1e] [14] [3d] [40] [8c] [10] [3e] [40] [03] [00] [1d] [83] [0e] [73]
[fd] [23] [0d] [93] [fb] [23] [1d] [16] [e2] [e3] [22] [02] [d2] [e3] [22] [02]
[f0] [3f] [03] [43] [1c] [43] [10] [01] [03] [43] [ff] [3f]
Time elapsed of writing 258 bytes : 15.21 seconds
Speed of writing data :0.01656(kB/s)
//CRC_CHECK 0x8000 0x0020 0x4872
//CRC_CHECK 0xffc6 0x00D0 0xacf7
SET_PC 0xa400
[17] [00] [a4] [00]
Set PC is sent.