SLAU358Q September 2011 – October 2019
The current status is always displayed at the bottom of the progress bar, as shown in Figure 2-1, and previous status and error messages are shown in the history window in the bottom left corner. are displayed in the report window.
All procedures in the MSP Gang Programmer are divided into small tasks to be executed in series. When first task is finished successfully, then the next task is started. Each task has is own consecutive number assigned by the task manager when the image is created. The most commonly executed tasks are listed below:
For example, the operations Erase, Program ,and Verify execute the following tasks:
These tasks execute the easiest programming process in small MCU devices. The aforementioned tasks can be divided into smaller tasks that only erase one segment, erase info segment, or erase one block of the main memory. For that reason, many more tasks are displayed in the report window than are described above. For example, when programming the MSP430F5438 the following information would be displayed in the report window:
Executing Main Process...
.............
2 : init target
3 : erasing-Info
4 : erasing-Info
5 : erasing-Info
6 : erasing-Main
7 : erasing-Main
8 : erasing-Main
9 : erasing-Main
10 : erasing-Main
11 : erasing-Main
12 : erasing-Main
13 : erasing-Main
14 : erasing-Main
15 : Blank-1800
16 : Blank-1880
17 : Blank-1900
18 : Blank-5C00
19 : Blank-10000
20 : Blank-20000
21 : Blank-30000
22 : Blank-40000
23 : Write-FC00
24 : Write-FC90
25 : Write-FD10
26 : Write-FD80
27 : Write-FFE2
28 : Verify-FC00
29 : Verify-FC90
30 : Verify-FD10
31 : Verify-FD80
32 : Verify-FFE2
33 : Gl.Verify-1800
34 : Gl.Verify-5C00
35 : Gl.Verify-10000
36 : Gl.Verify-20000
37 : Gl.Verify-30000
38 : Gl.Verify-40000
39 : closing target
40 : Done
0 : Finished
This report indicates that sectors INFO-B, INFO-C, INFO-D, and the main memory block have been erased (tasks 2 to 14) blank checked (tasks 15 to 22), programmed (tasks 23 to 27) and verified (tasks 28 to 38). Finally, access to target devices is closed and the programming process is finished. Length of task description (including consecutive task number) is limited to 16 characters to be able display this information on the third line of the MSP Gang Programmer LCD display.
The MSP Gang Programmer can process up to 1000 tasks per one image saved in internal memory. Having that number of available tasks and one or more code files saved in internal memory (total memory footprint of up to 512KB in one image), the MSP Gang Programmer gives the user significant flexibility to perform custom programming procedures. If for any reason the code files and task scripts require more than 512KB of memory, then the next image memory can be taken and combined with the first one for one larger image block (1Mbyte or more). The MSP Gang Programmer has internal flash memory of 8Mbyte that can, if desired, all be used to form one image with a memory footprint of 8Mbyte.
Error messages are displayed similarly to status messages, however, programming is terminated if the error is related to all target devices. Subsequently, if the problem is resolved or the faulty target device is disabled, then the programming procedure can be restarted to complete the programming process. The result for all devices is reported in the results section (green or red icons). When the global status is reported as FAIL, see the result section for details. Similarly, the MSP Gang Programmer uses red and green LEDs to indicate the result of its operations (red indicates failure) and details are displayed on the LCD display. Below is the list of errors reported in the MSP Gang Programmer.
==== Errors from the BOOT loader. ====
ERROR # 001 - BOOT Firmware only is in the MSP-GANG! The API Firmware should be downloaded.
ERROR # 002 - API Firmware CRC is not present! The API Firmware should be reloaded.
ERROR # 003 - API Firmware CRC error! The API Firmware should be reloaded.
ERROR # 004 - BOOT CRC error in the MSP-GANG!
==== Errors from the MSP-GANG Firmware. ====
ERROR # 010 - CRC Access key. Key corrupted. Access to programmer is blocked.
ERROR # 011 - Invalid programmer's access key. Access to programmer is blocked.
ERROR # 012 - Unknown interface.
ERROR # 013 - Vcc is too low.
ERROR # 014 - Vcc is too high.
ERROR # 015 - VtIO is too low.
ERROR # 016 - VtIO is too high.
ERROR # 017 - Header CRC. Image header is corrupted.
ERROR # 018 - Script CRC. Image script is corrupted.
ERROR # 019 - Exceed script number.
ERROR # 020 - Script command unknown.
ERROR # 021 - MCU Fetch synch failed.
ERROR # 022 - CPU JTAG synch failed.
ERROR # 023 - MCU device initialization failed.
ERROR # 024 - RAM firmware download failed.
ERROR # 025 - Flash blank check failed.
ERROR # 026 - Flash read verify failed.
ERROR # 027 - Flash write failed.
ERROR # 028 - Image flash write initialization failed.
ERROR # 029 - Image flash lock failed.
ERROR # 030 - Invalid script type/name.
ERROR # 031 - Script size too big.
ERROR # 032 - Used wrong MCU.
ERROR # 033 - IR communication failed.
ERROR # 034 - Page info number out of range.
ERROR # 035 - Address too high.
ERROR # 036 - Target number out of range.
ERROR # 037 - Address not even.
ERROR # 038 - Size not even.
ERROR # 039 - DCO calibration frequency out of range.
ERROR # 040 - DCO calibration failed.
ERROR # 041 - Gang flash write failed.
ERROR # 042 - SD Card - Read Response Error
ERROR # 043 - SD Card - Boundary Address Error
ERROR # 044 - SD Card - Initialization timeout
ERROR # 045 - SD Card - Read timeout
ERROR # 046 - SD Card - Initialization Error
ERROR # 047 - SD Card - CRC7 Error
ERROR # 048 - SD Card - CRC16 Error
ERROR # 049 - SD Card - Write CRC Error
ERROR # 050 - SD Card - Data Write Error
ERROR # 051 - SD Card - Write Timeout
ERROR # 052 - SD Card - MBR Sector Error
ERROR # 053 - SD Card - Volume Error
ERROR # 054 - SD Card - Address in File Error
ERROR # 055 - SD Card - Read File Error
ERROR # 056 - SD Card - File not found
ERROR # 057 - Hardware Rev-0. option not supported.
ERROR # 058 - Flash PSA verification failed.
ERROR # 059 - Flash read (Rx) data error.
ERROR # 060 - Vpp too low to secure fuse.
ERROR # 061 - Secure key incorrect.
ERROR # 062 - Secure device failed.
ERROR # 063 - Target not open, no access.
ERROR # 064 - BSL password wrong index.
ERROR # 065 - BSL read (Rx) timeout.
ERROR # 066 - BSL firmware download failed.
ERROR # 067 - Unknown command.
ERROR # 068 - Fast BSL initialization failed.
ERROR # 069 - MSP-GANG current overload. Reduce amount of target devices to 5 or select 30 mA output current.
ERROR # 070 - Wrong BSL passwords. Target cannot be unlocked.
==== Errors from the MSP-GANG DLL. ====
ERROR # 301 - Communication - Frame has errors !
ERROR # 302 - Unable to open COM port - already in use?
ERROR # 303 - Unable to close COM port !
ERROR # 304 - Unable to modify COM port state !
ERROR # 305 - Synchronization failed. Programmer connected?
ERROR # 306 - Timeout during operation - Correct COM port selected?
ERROR # 307 - Wrong baud rate specified !
ERROR # 308 - Communication Port baud rate change
ERROR # 309 - Communication port - diagnostic response error
ERROR # 310 - Open Comm port - invalid handle value
ERROR # 311 - Invalid Comm Port Setup
ERROR # 312 - Open Comm Port timeout
ERROR # 313 - Get Comm Port state error
ERROR # 321 - Command did not complete correctly !
ERROR # 322 - Command failed or not defined or Target not accessible !
ERROR # 323 - Could not read 'default.mspgangcfg'!
ERROR # 324 - File contains invalid record !
ERROR # 325 - Unexpected end of file !
ERROR # 326 - Error during file I/O !
ERROR # 327 - Selected file is of unrecognizable format !
ERROR # 328 - Unable to open file !
ERROR # 329 - Function argument(s) out of range !
ERROR # 330 - Note: Boot downloaded
ERROR # 331 - WARNING: Temporary function blocked, due to used main polling
ERROR # 332 - Image Memory corrupted or erased ! Load Image.
ERROR # 333 - Target not accessible !
ERROR # 334 - Verification failed !
ERROR # 335 - Main Process Parameters not yet set ! Load Image.
ERROR # 336 - Could not erase Image Buffer !
ERROR # 337 - Could not load Image Buffer !
ERROR # 338 - Could not load Main Process Parameters !
ERROR # 339 - Could not select Baud Rate !
ERROR # 340 - WARNING: Could not set target voltage - Short circuitry or settling time too small?
ERROR # 341 - Invalid firmware command !
ERROR # 342 - Power supply voltage too low !
ERROR # 343 - WARNING: Sense voltage out of range - Check pin MSP_VCC_IN of target connector !
ERROR # 344 - Wrong target device connected !
ERROR # 345 - No target device connected
ERROR # 346 - File(s) contains already specified data (code overwritten)
ERROR # 347 - Selected Image number out of range
ERROR # 348 - Could not open the configuration file.
ERROR # 349 - Script Header size error
ERROR # 350 - Image ID error. Image ignored, program terminated.
ERROR # 351 - Image contents (size, no of tasks) error. Program terminated.
ERROR # 352 - Image CRC error. Program terminated.
ERROR # 353 - WARNING: Code overwritten. Code from the file written to already used location.
ERROR # 354 - Code in the file contains invalid data.
ERROR # 355 - Open File error
ERROR # 356 - Extension or file name error
ERROR # 357 - Wrong password for opening the image file
ERROR # 358 - Wrong PC hardware fingerprint # for opening the image file
ERROR # 359 - Image file ID error or file corrupted
ERROR # 360 - Check Sum of the Image file error or file corrupted
ERROR # 361 - Wrong header in the image file or file corrupted
ERROR # 362 - Image file is not for the MSP-GANG programmer.
ERROR # 363 - Image file contents error or file corrupted.
ERROR # 364 - Unknown protection mode of the image file or file corrupted.
ERROR # 365 - Data offset in the image file error or file corrupted.
ERROR # 366 - Hex data conversion in the image file error or file corrupted.
ERROR # 367 - Image file corrupted.
ERROR # 368 - Image file cannot be unlocked
ERROR # 369 - Customized MCUs license file open error
ERROR # 370 - WARNING: Code specified for the BSL space location, but access to the BSL is locked.
ERROR # 371 - Info memory page number is out of range.
ERROR # 372 - COM ports scan number is too low.
ERROR # 373 - Selftest data size too high.
ERROR # 374 - Data size too high.
ERROR # 377 - Gang mask ZERO. No target devices enabled. Nothing to do.
ERROR # 378 - Address definition.
ERROR # 379 - Data size is below 2.
ERROR # 380 - Invalid DCO number.
ERROR # 381 - Command not implemented.
ERROR # 382 - Wrong Target number
ERROR # 383 - Code File error.
ERROR # 384 - Password File error.
ERROR # 385 - Nothing to program/verify - empty code in selected memory space.
ERROR # 386 - Code out of range of the selected MCU.
ERROR # 387 - Invalid name index.
ERROR # 388 - Warning: Part of the code ignored. Check the memory setup.
ERROR # 391 - Image data size too long
ERROR # 392 - Terminated by user
ERROR # 393 - Code specified in the Retain Data space
ERROR # 394 - Number of tasks out of range
ERROR # 395 - Data blocks in all tasks out of range
ERROR # 396 - WARNING: Code from file is out of range in selected MCU.
ERROR # 397 - Option not supported for selected MCU.
ERROR # 398 - Wrong destination.
ERROR # 399 - The Address and Size of the Locking Options out of range.
ERROR # 400 - Warning - empty data or string.
ERROR # 401 - Invalid input parameter(s).
ERROR # 402 - Selected Image is READ ONLY and cannot be reprogrammed.
ERROR # 403 - Serial number location and code overlap.
ERROR # 404 - Serial number size error.
ERROR # 405 - No serial number found in serial number file.
ERROR # 406 - Serial number address or size error.
ERROR # 407 - Code located in the MPU-IPE space without selected access to MPU-IPE in Memory Options.
ERROR # 408 - External Power Supply is required for selected MCU.
ERROR # 999 - Invalid error number !