Folks,
Would someone who has used this BSL please take a look at the input
and output data below and see if they know what might be wrong?
I've also
asked TI, but so far, they're not much help...
The main problem is that if I
make the file LittleFile2.
txt, which is a subset of the TI.txt file for out
main program, much larger, the RX_DATA_BUFFER fails. This must be overcome if I
am to use this to upload new firmware. Also, I call ERASE_CHECK 5C00 200 after
mass erase just before the write, and again after the write, and it says
"Passed" both times even though the block is not erased the second
time.
Thank you for taking the time to look at this,
Mike Raines
Script file:
MODE 5438 COM4
VERBOSE
CHANGE_BAUD_RATE 57600
MASS_ERASE
ERASE_CHECK 5C00 200
RX_PASSWORD defaultPassword.txt
TX_BSL_VERSION
TX_BUFFER_SIZE
RX_DATA_BLOCK Little_File2.txt
ERASE_CHECK 5C00 200
TX_DATA_BLOCK 5C00 80 readback.txt
defaultPassword.txt:
@FFF0
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
q
LittleFile2.txt:
@5C00
31 40 00 5C B1 13 EA A8 0C 93 14 24 3C 40 9E 22
3D 40 B1 0D B1 13 18 A5 3C 40 00 1C 3D 40 CA 92
3E 40 9E 06 B1 13 7C A9 8C 00 68 99 8D 00 6C 99
B1 13 34 9D B0 13 BA BD B1 13 78 A9 92 42 20 07
BC 2B 92 42 2A 07 B0 2B 92 42 22 07 B2 2B 92 42
00 00
q
outfile.txt:
------------------------------------------
BSL Scripting application 1.02
The local time is: 14:45 on 22.04.2010
------------------------------------------
Initializing, Mode: 5438 COM: COM4 DONE
Verbose mode on
Changing Baud Rate to 57600
-------------------------------------------------
[80] [02] [00] [52] [05] [77] [25] {00}
-------------------------------------------------
DONE
Mass Erase:
-------------------------------------------------
[80] [01] [00] [15] [64] [a3] {00}
-------------------------------------------------
-------------------------------------------------
{80} {02} {00} {3b} {00} {60} {c4}
-------------------------------------------------
DONE
Checking 0512 bytes starting at 5c00 for erase: PASSED
RX Password:
-------------------------------------------------
[80] [11] [00] [11] [ff] [ff] [ff] [ff] [ff] [ff] [ff] [ff] [ff] [ff] [ff] [ff] [ff] [ff] [ff] [ff] [4e] [c9] {00}
-------------------------------------------------
-------------------------------------------------
{80} {02} {00} {3b} {00} {60} {c4}
-------------------------------------------------
DONE
-------------------------------------------------
[80] [01] [00] [19] [e8] [62] {00}
-------------------------------------------------
-------------------------------------------------
{80} {05} {00} {3a} {00} {01} {01} {01} {6c} {4f}
-------------------------------------------------
BSL Version: Vendor:[TI],CI:[01],API:[01],PI:[01]
-------------------------------------------------
[80] [01] [00] [1a] [8b] [52] {00}
-------------------------------------------------
-------------------------------------------------
{80} {03} {00} {3a} {04} {01} {1d} {12}
-------------------------------------------------
Getting Buffer Size: [260]
Writing Little_File2.txt to device:
-------------------------------------------------
[80] [56] [00] [10] [00] [5c] [00] [31] [40] [00] [5c] [b1] [13] [ea] [a8] [0c] [93] [14] [24] [3c] [40] [9e] [22] [3d] [40] [b1] [0d] [b1] [13] [18] [a5] [3c] [40] [00] [1c] [3d] [40] [ca] [92] [3e] [40] [9e] [06] [b1] [13] [7c] [a9] [8c] [00] [68] [99] [8d] [00] [6c] [99] [b1] [13] [34] [9d] [b0] [13] [ba] [bd] [b1] [13] [78] [a9] [92] [42] [20] [07] [bc] [2b] [92] [42] [2a] [07] [b0] [2b] [92] [42] [22] [07] [b2] [2b] [92] [42] [00] [00] [68] [26] {00}
-------------------------------------------------
-------------------------------------------------
{80} {02} {00} {3b} {00} {60} {c4}
-------------------------------------------------
DONE
Checking 0512 bytes starting at 5c00 for erase: PASSED
Reading 0128 bytes starting at 5c00 to file readback.txt:
-------------------------------------------------
[80] [06] [00] [18] [00] [5c] [00] [80] [00] [47] [38] {00}
-------------------------------------------------
-------------------------------------------------
{80} {81} {00} {3a} {31} {40} {00} {5c} {b1} {13} {ea} {a8} {0c} {93} {14} {24} {3c} {40} {9e} {22} {3d} {40} {b1} {0d} {b1} {13} {18} {a5} {3c} {40} {00} {1c} {3d} {40} {ca} {92} {3e} {40} {9e} {06} {b1} {13} {7c} {a9} {8c} {00} {68} {99} {8d} {00} {6c} {99} {b1} {13} {34} {9d} {b0} {13} {ba} {bd} {b1} {13} {78} {a9} {92} {42} {20} {07} {bc} {2b} {92} {42} {2a} {07} {b0} {2b} {92} {42} {22} {07} {b2} {2b} {92} {42} {00} {00} {ff} {ff} {ff} {ff} {ff} {ff} {ff} {ff} {ff} {ff} {ff} {ff} {ff} {ff} {ff} {ff} {ff} {ff} {ff} {ff} {ff} {ff} {ff} {ff} {ff} {ff} {ff} {ff} {ff} {ff} {ff} {ff} {ff} {ff} {ff} {ff} {ff} {ff} {ff} {ff} {ff} {ff} {ff} {ff} {ff} {ff} {59} {cb}
-------------------------------------------------
DONE