Steps to update the VTP bootloader and to update the VTP firmware
-----------------------------------------------------------------

# =====================================================================================================
# (1) Load bootloader update application
# =====================================================================================================

./BinaryBlockDownload -n 32 --device_num 1 J2vtpBootUpd_100.bin --blupdate_app --sdoc_type 2

[           ] 23.09.2009 14:14:22: --------------------------------------------------------------------
[           ] 23.09.2009 14:14:22: BinaryBlockDownload v1.8.0.0
[           ] 23.09.2009 14:14:22:  (C) SYS TEC electronic GmbH, 2008
[           ] 23.09.2009 14:14:22:  (C) TMS, 2008 - 2009 (Build Sep 23 2009 / 13:45:06)
[           ] 23.09.2009 14:14:22:  Build Sep 23 2009 / 13:45:06
[           ] 23.09.2009 14:14:22: --------------------------------------------------------------------
[           ] 23.09.2009 14:14:22:
[BBD        ] 23.09.2009 14:14:22:    (Node ID 32)
[BBD        ] 23.09.2009 14:14:22:    (Firmware File J2vtpBootUpd_100.bin)
[BBD        ] 23.09.2009 14:14:22:    (!! LOAD BOOTLOADER UPDATE APPLICATION !!)
[           ] 23.09.2009 14:14:22: Check bootloader
[           ] 23.09.2009 14:14:22: Connection established (result 0)
[           ] 23.09.2009 14:14:22: CAN driver state set to 0x8000 (first bus contact)
[BBD-FTCOP  ] 23.09.2009 14:14:22: Check bootloader: devType=0x10000000 expDevType=0x10000000
[           ] 23.09.2009 14:14:22: Clear application
[           ] 23.09.2009 14:14:22: Wait until application cleared
[           ] 23.09.2009 14:14:38: 55396/55396
[           ] 23.09.2009 14:14:38: Start application for the first time
[           ] 23.09.2009 14:14:38: Delay check if application is running
[           ] 23.09.2009 14:14:41: Check if application is running
[BBD-FTCOP  ] 23.09.2009 14:14:41: Check if app works: devType=0x20000000 expDevType != 0x10000000
[           ] 23.09.2009 14:14:41: Idle
[           ] 23.09.2009 14:14:41: -------------------------------------------------------------------
[           ] 23.09.2009 14:14:41: Process succeeded in state 0x0F
[           ] 23.09.2009 14:14:41: -------------------------------------------------------------------
[           ] 23.09.2009 14:14:41: UDP connection released and closed (result 0)
[           ] 23.09.2009 14:14:41: BBD returns 0x0


# =====================================================================================================
# (2) Update bootloader using bootloader update application
# =====================================================================================================

./BinaryBlockDownload -n 32 --device_num 1 J2VtpBoot105.bin --blupdate --sdoc_type 2

[           ] 23.09.2009 14:16:25: --------------------------------------------------------------------
[           ] 23.09.2009 14:16:25: BinaryBlockDownload v1.8.0.0
[           ] 23.09.2009 14:16:25:  (C) SYS TEC electronic GmbH, 2008
[           ] 23.09.2009 14:16:25:  (C) TMS, 2008 - 2009 (Build Sep 23 2009 / 13:45:06)
[           ] 23.09.2009 14:16:25:  Build Sep 23 2009 / 13:45:06
[           ] 23.09.2009 14:16:25: --------------------------------------------------------------------
[           ] 23.09.2009 14:16:25:
[BBD        ] 23.09.2009 14:16:25:    (Node ID 32)
[BBD        ] 23.09.2009 14:16:25:    (Firmware File J2VtpBoot105.bin)
[BBD        ] 23.09.2009 14:16:25:    (!! UPDATE BOOTLOADER !!)
[           ] 23.09.2009 14:16:25: Check bootloader
[           ] 23.09.2009 14:16:25: Connection established (result 0)
[           ] 23.09.2009 14:16:25: CAN driver state set to 0x8000 (first bus contact)
[BBD-FTCOP  ] 23.09.2009 14:16:25: Check bootloader: devType=0x20000000 expDevType=0x20000000
[           ] 23.09.2009 14:16:25: Clear application
[           ] 23.09.2009 14:16:25: Wait until application cleared
[           ] 23.09.2009 14:16:41: 56456/56456
[           ] 23.09.2009 14:16:41: Start application for the first time
[           ] 23.09.2009 14:16:41: Delay check if application is running
[           ] 23.09.2009 14:16:44: Check if application is running
[BBD-FTCOP  ] 23.09.2009 14:16:44: Check if app works: devType=expDevType=0x10000000
[           ] 23.09.2009 14:16:44: Idle
[           ] 23.09.2009 14:16:44: -------------------------------------------------------------------
[           ] 23.09.2009 14:16:44: Process succeeded in state 0x0F
[           ] 23.09.2009 14:16:44: -------------------------------------------------------------------
[           ] 23.09.2009 14:16:44: UDP connection released and closed (result 0)
[           ] 23.09.2009 14:16:44: BBD returns 0x0




# =====================================================================================================
# Update firmware
# =====================================================================================================

./BinaryBlockDownload -n 32 --device_num 1 VTP_Firmware.bin --sdoc_type 2

[           ] 23.09.2009 14:18:36: --------------------------------------------------------------------
[           ] 23.09.2009 14:18:36: BinaryBlockDownload v1.8.0.0
[           ] 23.09.2009 14:18:36:  (C) SYS TEC electronic GmbH, 2008
[           ] 23.09.2009 14:18:36:  (C) TMS, 2008 - 2009 (Build Sep 23 2009 / 13:45:06)
[           ] 23.09.2009 14:18:36:  Build Sep 23 2009 / 13:45:06
[           ] 23.09.2009 14:18:36: --------------------------------------------------------------------
[           ] 23.09.2009 14:18:36:
[BBD        ] 23.09.2009 14:18:36:    (Node ID 32)
[BBD        ] 23.09.2009 14:18:36:    (Firmware File VTP_Firmware.bin)
[           ] 23.09.2009 14:18:36: Check bootloader
[           ] 23.09.2009 14:18:36: Connection established (result 0)
[           ] 23.09.2009 14:18:36: CAN driver state set to 0x8000 (first bus contact)
[BBD-FTCOP  ] 23.09.2009 14:18:36: Check bootloader: devType=0x10000000 expDevType=0x10000000
[           ] 23.09.2009 14:18:36: Clear application
[           ] 23.09.2009 14:18:36: Wait until application cleared
[           ] 23.09.2009 14:19:05: 110060/110060
[           ] 23.09.2009 14:19:05: Start application for the first time
[           ] 23.09.2009 14:19:05: Delay check if application is running
[           ] 23.09.2009 14:19:07: Check if application is running
[BBD-FTCOP  ] 23.09.2009 14:19:07: Check if app works: devType=0xF0191 expDevType != 0x10000000
[           ] 23.09.2009 14:19:07: Restart Bootloader
[           ] 23.09.2009 14:19:07: Delay check reentering of Bootloader
[           ] 23.09.2009 14:19:09: Check reentering of Bootloader
[           ] 23.09.2009 14:19:09: Set signature
[           ] 23.09.2009 14:19:09: Wait until signature programmed
[           ] 23.09.2009 14:19:09: Finally start application
[           ] 23.09.2009 14:19:09: Finally check if application is running
[           ] 23.09.2009 14:19:10: Idle
[           ] 23.09.2009 14:19:10: -------------------------------------------------------------------
[           ] 23.09.2009 14:19:10: Process succeeded in state 0x16
[           ] 23.09.2009 14:19:10: -------------------------------------------------------------------
[           ] 23.09.2009 14:19:10: UDP connection released and closed (result 0)
[           ] 23.09.2009 14:19:10: BBD returns 0x0

