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.

CCS/LAUNCHXL-CC2640R2: upgrade error with ROM bootloader on cc2640r2

Part Number: LAUNCHXL-CC2640R2


Tool/software: Code Composer Studio

Hi,

I am using launchxl-cc2640r2 kit. i want to upgrade firmware with python script(link : github.com/.../cc2538-bsl) from ROM bootloader. i am not able to upgrade.

below is code configuration and error log.

//#####################################
// Bootloader settings
//#####################################
 
#ifndef SET_CCFG_BL_CONFIG_BOOTLOADER_ENABLE
//#define SET_CCFG_BL_CONFIG_BOOTLOADER_ENABLE            0x00       // Disable ROM boot loader
#define SET_CCFG_BL_CONFIG_BOOTLOADER_ENABLE         0xC5       // Enable ROM boot loader
#endif
 
#ifndef SET_CCFG_BL_CONFIG_BL_LEVEL
#define SET_CCFG_BL_CONFIG_BL_LEVEL                  0x0        // Active low to open boot loader backdoor
//#define SET_CCFG_BL_CONFIG_BL_LEVEL                     0x1        // Active high to open boot loader backdoor
#endif
 
#ifndef SET_CCFG_BL_CONFIG_BL_PIN_NUMBER
#define SET_CCFG_BL_CONFIG_BL_PIN_NUMBER                0x0e       // DIO number for boot loader backdoor
#endif
 
#ifndef SET_CCFG_BL_CONFIG_BL_ENABLE
#define SET_CCFG_BL_CONFIG_BL_ENABLE                 0xC5       // Enabled boot loader backdoor
// #define SET_CCFG_BL_CONFIG_BL_ENABLE                    0xFF       // Disabled boot loader backdoor
#endif

---- LOG ----

$ sudo python3.5 cc2538-bsl.py -e -w -V -p /dev/ttyACM0 -b 115200 release/Handset_oad_all.bin
Opening port /dev/ttyACM0, baud 115200
Reading data from release/Handset_oad_all.bin
Firmware file: Raw Binary
Connecting to target...
*** sending synch sequence
Traceback (most recent call last):
  File "cc2538-bsl.py", line 1149, in <module>
    if not cmd.sendSynch():
  File "cc2538-bsl.py", line 392, in sendSynch
    return self._wait_for_ack("Synch (0x55 0x55)", 2)
  File "cc2538-bsl.py", line 275, in _wait_for_ack
    % (info,))
CmdException: Timeout waiting for ACK/NACK after 'Synch (0x55 0x55)'
ERROR: Timeout waiting for ACK/NACK after 'Synch (0x55 0x55)'

  • Hi,

    Board is not booting normal. after upgrading through uart.


    below is log of upgrade by python script.
    $ sudo python3.5 cc2538-bsl.py -e -w -p /dev/ttyACM0 -b 115200 release/Handset_oad_all.bin
    Opening port /dev/ttyACM0, baud 115200
    Reading data from release/Handset_oad_all.bin
    Firmware file: Raw Binary
    Connecting to target...
    CC2640R2 PG1.0 (7x7mm): 128KB Flash, 20KB SRAM, CCFG.BL_CONFIG at 0x0001FFD8
    Primary IEEE Address: FF:FF:FF:FF:FF:FF:FF:FF
    Erasing all main bank flash sectors
        Erase done
    Writing 118584 bytes starting at address 0x00000000
    Write 40 bytes at 0x0001CF1018
        Write done

    regards,
    Darshan

  • Hi,

    Did you check your image by downloading it with flash programmer?

    Also, since this seems to be an oad-enabled application, did you merge the BIM project in your bin file?
  • Hi Marie,

    earlier it was OAD enabled application.
    now i am using central_bidirectional_audio_cc2640r2lp_app.bin . it is successfully downloaded to flash. and it is booting correctly. but after booting it is not again upgrade.

    is there any setting in register to upgrade many times?

    Regards,
    Darshan
  • Hi Darshan,

    Are you overwriting the CCFG area when you do the first flash upgrade?

    Can you tell me more exactly what you mean by "after booting it is not again upgrade"?
  • Hi

    I am attaching upgrade log with debug info.

    once hex file is loaded then i am not able to flash it again.

    $ sudo python3.5 cc2538-bsl.py -e -w -V -p /dev/ttyACM0 -b 115200 release/app.hex 
    Opening port /dev/ttyACM0, baud 115200
    Reading data from release/app.hex
    Firmware file: Intel Hex
    Connecting to target...
    *** sending synch sequence
    *** GetChipId command (0x28)
    *** received 6 bytes
    bytearray(b'\xb0\x02\x90\x00')
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
        Version 0xB0029000
        Unrecognized chip ID. Trying CC13xx/CC26xx
    *** Mem Read (0x2A)
    *** received 6 bytes
    bytearray(b'/\xa0\x99\xbb')
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Mem Read (0x2A)
    *** received 6 bytes
    bytearray(b'\x00\x90\x02\xb0')
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Mem Read (0x2A)
    *** received 6 bytes
    bytearray(b'\x00\xff\xff\xff')
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Mem Read (0x2A)
    *** received 6 bytes
    bytearray(b' \x00\x00\x00')
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Mem Read (0x2A)
    *** received 6 bytes
    bytearray(b'\x03\x00\x00\x00')
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Mem Read (0x2A)
    *** received 6 bytes
    bytearray(b'\xff\xff\xff\xff')
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Mem Read (0x2A)
    *** received 6 bytes
    bytearray(b'\xff\xff\xff\xff')
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    CC2640R2 PG1.0 (7x7mm): 128KB Flash, 20KB SRAM, CCFG.BL_CONFIG at 0x0001FFD8
    Primary IEEE Address: FF:FF:FF:FF:FF:FF:FF:FF
    Erasing all main bank flash sectors
    *** Bank Erase command(0x2C)
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
        Erase done
    *** lng 131056
    Writing 131056 bytes starting at address 0x00000000
    *** Download command (0x21)
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00000000
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x000000F8
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x000001F0
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x000002E8
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x000003E0
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x000004D8
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x000005D0
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x000006C8
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x000007C0
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x000008B8
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x000009B0
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00000AA8
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00000BA0
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00000C98
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00000D90
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00000E88
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00000F80
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00001078
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00001170
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00001268
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00001360
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00001458
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00001550
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00001648
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00001740
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00001838
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00001930
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00001A28
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00001B20
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00001C18
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00001D10
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00001E08
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00001F00
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00001FF8
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x000020F0
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x000021E8
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x000022E0
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x000023D8
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x000024D0
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x000025C8
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x000026C0
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x000027B8
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x000028B0
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x000029A8
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00002AA0
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00002B98
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00002C90
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00002D88
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00002E80
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00002F78
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00003070
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00003168
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00003260
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00003358
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00003450
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00003548
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00003640
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00003738
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00003830
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00003928
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00003A20
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00003B18
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00003C10
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00003D08
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00003E00
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00003EF8
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00003FF0
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x000040E8
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x000041E0
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x000042D8
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x000043D0
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x000044C8
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x000045C0
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x000046B8
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x000047B0
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x000048A8
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x000049A0
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00004A98
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00004B90
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00004C88
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00004D80
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00004E78
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00004F70
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00005068
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00005160
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00005258
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00005350
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00005448
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00005540
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00005638
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00005730
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00005828
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00005920
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00005A18
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00005B10
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00005C08
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00005D00
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00005DF8
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00005EF0
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00005FE8
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x000060E0
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x000061D8
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x000062D0
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x000063C8
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x000064C0
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x000065B8
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x000066B0
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x000067A8
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x000068A0
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00006998
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00006A90
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00006B88
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00006C80
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00006D78
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00006E70
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00006F68
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00007060
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00007158
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00007250
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00007348
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00007440
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00007538
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00007630
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00007728
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00007820
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00007918
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00007A10
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00007B08
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00007C00
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00007CF8
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00007DF0
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00007EE8
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00007FE0
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x000080D8
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x000081D0
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x000082C8
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x000083C0
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x000084B8
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x000085B0
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x000086A8
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x000087A0
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00008898
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00008990
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00008A88
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00008B80
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00008C78
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00008D70
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00008E68
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00008F60
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00009058
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00009150
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00009248
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00009340
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00009438
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00009530
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00009628
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00009720
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00009818
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00009910
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00009A08
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00009B00
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00009BF8
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00009CF0
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00009DE8
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00009EE0
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00009FD8
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x0000A0D0
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x0000A1C8
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x0000A2C0
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x0000A3B8
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x0000A4B0
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x0000A5A8
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x0000A6A0
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x0000A798
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x0000A890
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x0000A988
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x0000AA80
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x0000AB78
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x0000AC70
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x0000AD68
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x0000AE60
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x0000AF58
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x0000B050
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x0000B148
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x0000B240
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x0000B338
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x0000B430
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x0000B528
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x0000B620
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x0000B718
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x0000B810
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x0000B908
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x0000BA00
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x0000BAF8
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x0000BBF0
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x0000BCE8
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x0000BDE0
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x0000BED8
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x0000BFD0
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x0000C0C8
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x0000C1C0
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x0000C2B8
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x0000C3B0
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x0000C4A8
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x0000C5A0
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x0000C698
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x0000C790
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x0000C888
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x0000C980
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x0000CA78
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x0000CB70
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x0000CC68
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x0000CD60
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x0000CE58
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x0000CF50
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x0000D048
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x0000D140
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x0000D238
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x0000D330
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x0000D428
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x0000D520
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x0000D618
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x0000D710
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x0000D808
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x0000D900
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x0000D9F8
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x0000DAF0
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x0000DBE8
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x0000DCE0
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x0000DDD8
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x0000DED0
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x0000DFC8
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x0000E0C0
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x0000E1B8
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x0000E2B0
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x0000E3A8
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x0000E4A0
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x0000E598
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x0000E690
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x0000E788
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x0000E880
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x0000E978
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x0000EA70
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x0000EB68
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x0000EC60
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x0000ED58
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x0000EE50
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x0000EF48
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x0000F040
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x0000F138
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x0000F230
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x0000F328
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x0000F420
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x0000F518
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x0000F610
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x0000F708
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x0000F800
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x0000F8F8
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x0000F9F0
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x0000FAE8
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x0000FBE0
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x0000FCD8
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x0000FDD0
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x0000FEC8
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x0000FFC0
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x000100B8
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x000101B0
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x000102A8
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x000103A0
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00010498
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00010590
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00010688
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00010780
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00010878
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00010970
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00010A68
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00010B60
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00010C58
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00010D50
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00010E48
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00010F40
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00011038
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00011130
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00011228
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00011320
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00011418
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00011510
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00011608
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00011700
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x000117F8
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x000118F0
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x000119E8
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00011AE0
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00011BD8
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00011CD0
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00011DC8
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00011EC0
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00011FB8
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x000120B0
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x000121A8
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x000122A0
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00012398
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00012490
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00012588
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00012680
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00012778
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00012870
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00012968
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00012A60
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00012B58
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00012C50
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00012D48
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00012E40
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00012F38
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00013030
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00013128
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00013220
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00013318
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00013410
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00013508
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00013600
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x000136F8
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x000137F0
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x000138E8
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x000139E0
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00013AD8
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00013BD0
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00013CC8
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00013DC0
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00013EB8
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00013FB0
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x000140A8
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x000141A0
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00014298
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00014390
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00014488
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00014580
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00014678
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00014770
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00014868
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00014960
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00014A58
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00014B50
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00014C48
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00014D40
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00014E38
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00014F30
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00015028
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00015120
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00015218
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00015310
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00015408
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00015500
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x000155F8
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x000156F0
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x000157E8
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x000158E0
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x000159D8
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00015AD0
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00015BC8
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00015CC0
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00015DB8
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00015EB0
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00015FA8
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x000160A0
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00016198
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x00016290
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Download command (0x21)
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x0001CF10
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x0001D008
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x0001D100
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x0001D1F8
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x0001D2F0
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x0001D3E8
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x0001D4E0
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x0001D5D8
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x0001D6D0
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x0001D7C8
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x0001D8C0
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x0001D9B8
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x0001DAB0
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x0001DBA8
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x0001DCA0
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x0001DD98
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x0001DE90
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x0001DF88
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x0001E080
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x0001E178
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x0001E270
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x0001E368
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x0001E460
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x0001E558
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x0001E650
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x0001E748
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x0001E840
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x0001E938
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x0001EA30
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x0001EB28
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x0001EC20
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x0001ED18
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x0001EE10
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)0x0001EF08
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    Write 112 bytes at 0x0001FF80
    *** Download command (0x21)
    *** GetStatus command (0x23)
    *** received 3 bytes
    bytearray(b'@')
    Command Successful
    *** Send Data (0x24)
    *** GetStatus command (0x23)
    Traceback (most recent call last):
      File "cc2538-bsl.py", line 1214, in <module>
        if cmd.writeMemory(conf['address'], firmware.bytes):
      File "cc2538-bsl.py", line 708, in writeMemory
        return self.cmdSendData(data[offs:offs+lng])  # send last data packet
      File "cc2538-bsl.py", line 586, in cmdSendData
        return self.checkLastCmd()
      File "cc2538-bsl.py", line 396, in checkLastCmd
        stat = self.cmdGetStatus()
      File "cc2538-bsl.py", line 467, in cmdGetStatus
        if self._wait_for_ack("Get Status (0x23)"):
      File "cc2538-bsl.py", line 275, in _wait_for_ack
        % (info,))
    CmdException: Timeout waiting for ACK/NACK after 'Get Status (0x23)'
    

    Regards,

    Darshan

  • Hi Darshan,

    What do you mean by " i am not able to flash it again"? Does the hex file run? Is the ROM bootloader responding?
  • Hi Marie,

    somehow CCFG is getting changed. now i am able to upgrade correctly.

    Regards,
    Darshan