Skip to content

Instantly share code, notes, and snippets.

@codewithpassion
Created May 16, 2018 12:36
Show Gist options
  • Save codewithpassion/fafc5a7797b9932dcaf054ac01c9f96f to your computer and use it in GitHub Desktop.
Save codewithpassion/fafc5a7797b9932dcaf054ac01c9f96f to your computer and use it in GitHub Desktop.
root@86b0e96-86b0e96:/home/rov# journalctl -u trident-update -f
-- Logs begin at Tue 2018-05-15 15:56:17 UTC. --
May 15 15:56:25 86b0e96-86b0e96 trident-update[165]: 2018-05-15 15:56:25,017 INFO | Waiting for MCU status updates...
May 15 15:56:25 86b0e96-86b0e96 trident-update[165]: 2018-05-15 15:56:25,518 INFO | Version matched: port_esc
May 15 15:56:25 86b0e96-86b0e96 trident-update[165]: 2018-05-15 15:56:25,518 INFO | Version matched: samd21
May 15 15:56:25 86b0e96-86b0e96 trident-update[165]: 2018-05-15 15:56:25,518 INFO | Version matched: star_esc
May 15 15:56:25 86b0e96-86b0e96 trident-update[165]: 2018-05-15 15:56:25,518 INFO | Version matched: vert_esc
May 15 15:56:25 86b0e96-86b0e96 trident-update[165]: 2018-05-15 15:56:25,523 INFO | Health Check complete.
May 15 15:56:25 86b0e96-86b0e96 trident-update[165]: 2018-05-15 15:56:25,523 INFO | No actions required!
May 15 15:56:25 86b0e96-86b0e96 trident-update[165]: 2018-05-15 15:56:25,523 INFO | Ready to receive commands
May 15 15:56:53 86b0e96-86b0e96 trident-update[165]: 2018-05-15 15:56:53,489 INFO | Executing updates
May 15 15:56:53 86b0e96-86b0e96 trident-update[165]: 2018-05-15 15:56:53,989 INFO | Calling: /opt/openrov/firmware/scripts/000001-02/flash_port_esc.py
May 15 15:57:43 86b0e96-86b0e96 trident-update[165]: 2018-05-15 15:57:43,070 INFO | Flash STDOUT:
May 15 15:57:43 86b0e96-86b0e96 trident-update[165]: [INFO ][15:56:55.190] Starting PORT esc flasher
May 15 15:57:43 86b0e96-86b0e96 trident-update[165]: [INFO ][15:56:55.196] Setting pin 27 as an output.
May 15 15:57:43 86b0e96-86b0e96 trident-update[165]: [INFO ][15:56:55.197] Setting pin 22 as an output.
May 15 15:57:43 86b0e96-86b0e96 trident-update[165]: [INFO ][15:56:55.197] Selecting device: C
May 15 15:57:43 86b0e96-86b0e96 trident-update[165]: [INFO ][15:56:55.197] Writing: 1 to pin: 22
May 15 15:57:43 86b0e96-86b0e96 trident-update[165]: [INFO ][15:56:55.197] Writing: 0 to pin: 27
May 15 15:57:43 86b0e96-86b0e96 trident-update[165]: [INFO ][15:56:55.197] Done selecting...
May 15 15:57:43 86b0e96-86b0e96 trident-update[165]: [INFO ][15:56:55.398] Starting flashing process
May 15 15:57:43 86b0e96-86b0e96 trident-update[165]: [INFO ][15:56:55.398] Running command: ['openocd', '-f', '/usr/share/openocd/scripts/board/openrov_trident_pac.cfg', '-c', 'program /opt/openrov/firmware/000001-02/pac5220/trident.bin verify; reset; exit']
May 15 15:57:43 86b0e96-86b0e96 trident-update[165]: [INFO ][15:57:43.006]
May 15 15:57:43 86b0e96-86b0e96 trident-update[165]: [INFO ][15:57:43.006] Done flashing.
May 15 15:57:43 86b0e96-86b0e96 trident-update[165]: [INFO ][15:57:43.007] Flashing took: 47.61 seconds
May 15 15:57:43 86b0e96-86b0e96 trident-update[165]: 2018-05-15 15:57:43,070 INFO | Flash STDERR:
May 15 15:57:43 86b0e96-86b0e96 trident-update[165]: Open On-Chip Debugger 0.10.0+dev-gb210485 (2018-03-16-00:37)
May 15 15:57:43 86b0e96-86b0e96 trident-update[165]: Licensed under GNU GPL v2
May 15 15:57:43 86b0e96-86b0e96 trident-update[165]: For bug reports, read
May 15 15:57:43 86b0e96-86b0e96 trident-update[165]: http://openocd.org/doc/doxygen/bugs.html
May 15 15:57:43 86b0e96-86b0e96 trident-update[165]: BCM2835 GPIO nums: swclk = 25, swdio = 24
May 15 15:57:43 86b0e96-86b0e96 trident-update[165]: none separate
May 15 15:57:43 86b0e96-86b0e96 trident-update[165]: Warn : Interface already configured, ignoring
May 15 15:57:43 86b0e96-86b0e96 trident-update[165]: none separate
May 15 15:57:43 86b0e96-86b0e96 trident-update[165]: cortex_m pac_config is_pac
May 15 15:57:43 86b0e96-86b0e96 trident-update[165]: adapter speed: 100 kHz
May 15 15:57:43 86b0e96-86b0e96 trident-update[165]: adapter speed: 100 kHz
May 15 15:57:43 86b0e96-86b0e96 trident-update[165]: Info : BCM2835 GPIO JTAG/SWD bitbang driver
May 15 15:57:43 86b0e96-86b0e96 trident-update[165]: Info : SWD only mode enabled (specify tck, tms, tdi and tdo gpios to add JTAG mode)
May 15 15:57:43 86b0e96-86b0e96 trident-update[165]: Info : clock speed 100 kHz
May 15 15:57:43 86b0e96-86b0e96 trident-update[165]: Info : SWD DPIDR 0x0bb11477
May 15 15:57:43 86b0e96-86b0e96 trident-update[165]: Info : pac5223.cpu: hardware has 4 breakpoints, 2 watchpoints
May 15 15:57:43 86b0e96-86b0e96 trident-update[165]: Info : Listening on port 3333 for gdb connections
May 15 15:57:43 86b0e96-86b0e96 trident-update[165]: TargetName Type Endian TapName State
May 15 15:57:43 86b0e96-86b0e96 trident-update[165]: -- ------------------ ---------- ------ ------------------ ------------
May 15 15:57:43 86b0e96-86b0e96 trident-update[165]: 0* pac5223.cpu cortex_m little pac5223.cpu running
May 15 15:57:43 86b0e96-86b0e96 trident-update[165]: Warn : Only resetting the Cortex-M core, use a reset-init event handler to reset any peripherals or configure hardware srst support.
May 15 15:57:43 86b0e96-86b0e96 trident-update[165]: target halted due to debug-request, current mode: Thread
May 15 15:57:43 86b0e96-86b0e96 trident-update[165]: xPSR: 0xc1000000 pc: 0x00000100 msp: 0x20001c48
May 15 15:57:43 86b0e96-86b0e96 trident-update[165]: Warn : Only resetting the Cortex-M core, use a reset-init event handler to reset any peripherals or configure hardware srst support.
May 15 15:57:43 86b0e96-86b0e96 trident-update[165]: target halted due to debug-request, current mode: Thread
May 15 15:57:43 86b0e96-86b0e96 trident-update[165]: xPSR: 0xc1000000 pc: 0x00000100 msp: 0x20001c48
May 15 15:57:43 86b0e96-86b0e96 trident-update[165]: ** Programming Started **
May 15 15:57:43 86b0e96-86b0e96 trident-update[165]: auto erase enabled
May 15 15:57:43 86b0e96-86b0e96 trident-update[165]: wrote 22528 bytes from file /opt/openrov/firmware/000001-02/pac5220/trident.bin in 46.660946s (0.471 KiB/s)
May 15 15:57:43 86b0e96-86b0e96 trident-update[165]: ** Programming Finished **
May 15 15:57:43 86b0e96-86b0e96 trident-update[165]: ** Verify Started **
May 15 15:57:43 86b0e96-86b0e96 trident-update[165]: verified 22394 bytes in 0.385969s (56.660 KiB/s)
May 15 15:57:43 86b0e96-86b0e96 trident-update[165]: ** Verified OK **
May 15 15:57:43 86b0e96-86b0e96 trident-update[165]: Warn : Only resetting the Cortex-M core, use a reset-init event handler to reset any peripherals or configure hardware srst support.
May 15 15:57:43 86b0e96-86b0e96 trident-update[165]: 2018-05-15 15:57:43,571 INFO | Calling: /opt/openrov/firmware/scripts/000001-02/flash_samd21.py
May 15 15:57:56 86b0e96-86b0e96 trident-update[165]: 2018-05-15 15:57:56,232 INFO | Flash STDOUT:
May 15 15:57:56 86b0e96-86b0e96 trident-update[165]: [INFO ][15:57:44.173] Starting samd flasher
May 15 15:57:56 86b0e96-86b0e96 trident-update[165]: [INFO ][15:57:44.173] Setting pin 27 as an output.
May 15 15:57:56 86b0e96-86b0e96 trident-update[165]: [INFO ][15:57:44.177] Setting pin 22 as an output.
May 15 15:57:56 86b0e96-86b0e96 trident-update[165]: [INFO ][15:57:44.177] Selecting device: SAMD
May 15 15:57:56 86b0e96-86b0e96 trident-update[165]: [INFO ][15:57:44.177] Writing: 1 to pin: 22
May 15 15:57:56 86b0e96-86b0e96 trident-update[165]: [INFO ][15:57:44.178] Writing: 1 to pin: 27
May 15 15:57:56 86b0e96-86b0e96 trident-update[165]: [INFO ][15:57:44.178] Done selecting...
May 15 15:57:56 86b0e96-86b0e96 trident-update[165]: [INFO ][15:57:44.378] Starting flashing process
May 15 15:57:56 86b0e96-86b0e96 trident-update[165]: [INFO ][15:57:44.378] Running command: ['openocd', '-f', '/usr/share/openocd/scripts/board/openrov_trident_samd.cfg', '-c', 'flash protect 0 0 15 off; program /opt/openrov/firmware/000001-02/samd21/trident.bin verify; at91samd bod33-level-mod; at91samd bod33-hyst-mod; flash protect 0 0 15 on; reset; exit']
May 15 15:57:56 86b0e96-86b0e96 trident-update[165]: [INFO ][15:57:56.172]
May 15 15:57:56 86b0e96-86b0e96 trident-update[165]: [INFO ][15:57:56.172] Done flashing.
May 15 15:57:56 86b0e96-86b0e96 trident-update[165]: [INFO ][15:57:56.172] Flashing took: 11.79 seconds
May 15 15:57:56 86b0e96-86b0e96 trident-update[165]: 2018-05-15 15:57:56,232 INFO | Flash STDERR:
May 15 15:57:56 86b0e96-86b0e96 trident-update[165]: Open On-Chip Debugger 0.10.0+dev-gb210485 (2018-03-16-00:37)
May 15 15:57:56 86b0e96-86b0e96 trident-update[165]: Licensed under GNU GPL v2
May 15 15:57:56 86b0e96-86b0e96 trident-update[165]: For bug reports, read
May 15 15:57:56 86b0e96-86b0e96 trident-update[165]: http://openocd.org/doc/doxygen/bugs.html
May 15 15:57:56 86b0e96-86b0e96 trident-update[165]: BCM2835 GPIO nums: swclk = 25, swdio = 24
May 15 15:57:56 86b0e96-86b0e96 trident-update[165]: none separate
May 15 15:57:56 86b0e96-86b0e96 trident-update[165]: Warn : Interface already configured, ignoring
May 15 15:57:56 86b0e96-86b0e96 trident-update[165]: none separate
May 15 15:57:56 86b0e96-86b0e96 trident-update[165]: adapter speed: 400 kHz
May 15 15:57:56 86b0e96-86b0e96 trident-update[165]: cortex_m reset_config sysresetreq
May 15 15:57:56 86b0e96-86b0e96 trident-update[165]: adapter speed: 100 kHz
May 15 15:57:56 86b0e96-86b0e96 trident-update[165]: Info : BCM2835 GPIO JTAG/SWD bitbang driver
May 15 15:57:56 86b0e96-86b0e96 trident-update[165]: Info : SWD only mode enabled (specify tck, tms, tdi and tdo gpios to add JTAG mode)
May 15 15:57:56 86b0e96-86b0e96 trident-update[165]: Info : clock speed 100 kHz
May 15 15:57:56 86b0e96-86b0e96 trident-update[165]: Info : SWD DPIDR 0x0bc11477
May 15 15:57:56 86b0e96-86b0e96 trident-update[165]: Info : at91samd21g18.cpu: hardware has 4 breakpoints, 2 watchpoints
May 15 15:57:56 86b0e96-86b0e96 trident-update[165]: Info : Listening on port 3333 for gdb connections
May 15 15:57:56 86b0e96-86b0e96 trident-update[165]: TargetName Type Endian TapName State
May 15 15:57:56 86b0e96-86b0e96 trident-update[165]: -- ------------------ ---------- ------ ------------------ ------------
May 15 15:57:56 86b0e96-86b0e96 trident-update[165]: 0* at91samd21g18.cpu cortex_m little at91samd21g18.cpu running
May 15 15:57:56 86b0e96-86b0e96 trident-update[165]: target halted due to debug-request, current mode: Thread
May 15 15:57:56 86b0e96-86b0e96 trident-update[165]: xPSR: 0x01000000 pc: 0x00000370 msp: 0x20000200
May 15 15:57:56 86b0e96-86b0e96 trident-update[165]: Info : SAMD MCU: SAMD21G18A (256KB Flash, 32KB RAM)
May 15 15:57:56 86b0e96-86b0e96 trident-update[165]: cleared protection for sectors 0 through 15 on flash bank 0
May 15 15:57:56 86b0e96-86b0e96 trident-update[165]: target halted due to debug-request, current mode: Thread
May 15 15:57:56 86b0e96-86b0e96 trident-update[165]: xPSR: 0x01000000 pc: 0x00000370 msp: 0x20000200
May 15 15:57:56 86b0e96-86b0e96 trident-update[165]: ** Programming Started **
May 15 15:57:56 86b0e96-86b0e96 trident-update[165]: auto erase enabled
May 15 15:57:56 86b0e96-86b0e96 trident-update[165]: wrote 43008 bytes from file /opt/openrov/firmware/000001-02/samd21/trident.bin in 7.580567s (5.540 KiB/s)
May 15 15:57:56 86b0e96-86b0e96 trident-update[165]: ** Programming Finished **
May 15 15:57:56 86b0e96-86b0e96 trident-update[165]: ** Verify Started **
May 15 15:57:56 86b0e96-86b0e96 trident-update[165]: verified 42860 bytes in 3.484107s (12.013 KiB/s)
May 15 15:57:56 86b0e96-86b0e96 trident-update[165]: ** Verified OK **
May 15 15:57:56 86b0e96-86b0e96 trident-update[165]: NVM register u16 is 59391
May 15 15:57:56 86b0e96-86b0e96 trident-update[165]: BOD33 Level value is 39
May 15 15:57:56 86b0e96-86b0e96 trident-update[165]: NVM Upper half is 4294966621
May 15 15:57:56 86b0e96-86b0e96 trident-update[165]: BOD33 Hysteresis value is 1
May 15 15:57:56 86b0e96-86b0e96 trident-update[165]: set protection for sectors 0 through 15 on flash bank 0
May 15 15:57:56 86b0e96-86b0e96 trident-update[165]: /opt/openrov/firmware/scripts/000001-02/flasher.py:63: RuntimeWarning: This channel is already in use, continuing anyway. Use GPIO.setwarnings(False) to disable warnings.
May 15 15:57:56 86b0e96-86b0e96 trident-update[165]: GPIO.setup(27, GPIO.OUT)
May 15 15:57:56 86b0e96-86b0e96 trident-update[165]: /opt/openrov/firmware/scripts/000001-02/flasher.py:66: RuntimeWarning: This channel is already in use, continuing anyway. Use GPIO.setwarnings(False) to disable warnings.
May 15 15:57:56 86b0e96-86b0e96 trident-update[165]: GPIO.setup(22, GPIO.OUT)
May 15 15:57:56 86b0e96-86b0e96 trident-update[165]: 2018-05-15 15:57:56,733 INFO | Calling: /opt/openrov/firmware/scripts/000001-02/flash_star_esc.py
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: 2018-05-15 15:58:49,854 INFO | Flash STDOUT:
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: [INFO ][15:57:57.336] Starting STAR flasher
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: [INFO ][15:57:57.336] Setting pin 27 as an output.
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: [INFO ][15:57:57.337] Setting pin 22 as an output.
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: [INFO ][15:57:57.338] Selecting device: A
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: [INFO ][15:57:57.338] Writing: 0 to pin: 22
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: [INFO ][15:57:57.338] Writing: 0 to pin: 27
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: [INFO ][15:57:57.338] Done selecting...
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: [INFO ][15:57:57.539] Starting flashing process
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: [INFO ][15:57:57.539] Running command: ['openocd', '-f', '/usr/share/openocd/scripts/board/openrov_trident_pac.cfg', '-c', 'program /opt/openrov/firmware/000001-02/pac5220/trident.bin verify; reset; exit']
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: [INFO ][15:58:49.791]
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: [INFO ][15:58:49.792] Done flashing.
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: [INFO ][15:58:49.792] Flashing took: 52.25 seconds
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: 2018-05-15 15:58:49,854 INFO | Flash STDERR:
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: Open On-Chip Debugger 0.10.0+dev-gb210485 (2018-03-16-00:37)
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: Licensed under GNU GPL v2
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: For bug reports, read
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: http://openocd.org/doc/doxygen/bugs.html
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: BCM2835 GPIO nums: swclk = 25, swdio = 24
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: none separate
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: Warn : Interface already configured, ignoring
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: none separate
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: cortex_m pac_config is_pac
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: adapter speed: 100 kHz
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: adapter speed: 100 kHz
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: Info : BCM2835 GPIO JTAG/SWD bitbang driver
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: Info : SWD only mode enabled (specify tck, tms, tdi and tdo gpios to add JTAG mode)
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: Info : clock speed 100 kHz
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: Info : SWD DPIDR 0x0bb11477
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: Info : pac5223.cpu: hardware has 4 breakpoints, 2 watchpoints
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: Info : Listening on port 3333 for gdb connections
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: TargetName Type Endian TapName State
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: -- ------------------ ---------- ------ ------------------ ------------
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: 0* pac5223.cpu cortex_m little pac5223.cpu running
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: Warn : Only resetting the Cortex-M core, use a reset-init event handler to reset any peripherals or configure hardware srst support.
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: target halted due to debug-request, current mode: Thread
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: xPSR: 0xc1000000 pc: 0x00000100 msp: 0x20001c48
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: Warn : Only resetting the Cortex-M core, use a reset-init event handler to reset any peripherals or configure hardware srst support.
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: target halted due to debug-request, current mode: Thread
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: xPSR: 0xc1000000 pc: 0x00000100 msp: 0x20001c48
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: ** Programming Started **
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: auto erase enabled
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: wrote 22528 bytes from file /opt/openrov/firmware/000001-02/pac5220/trident.bin in 40.942997s (0.537 KiB/s)
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: ** Programming Finished **
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: ** Verify Started **
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: Error: pac5223.cpu -- clearing lockup after double fault
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: Error: pac5223.cpu -- clearing lockup after double fault
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: Error: error executing cortex_m crc algorithm
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: Error: checksum mismatch - attempting binary compare
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: diff 0 address 0x00000000. Was 0x00 instead of 0x48
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: diff 1 address 0x00000001. Was 0x00 instead of 0x1c
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: diff 2 address 0x00000003. Was 0x00 instead of 0x20
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: diff 3 address 0x00000004. Was 0x00 instead of 0x01
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: diff 4 address 0x00000005. Was 0x00 instead of 0x01
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: diff 5 address 0x00000008. Was 0x00 instead of 0x35
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: diff 6 address 0x00000009. Was 0x00 instead of 0x18
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: diff 7 address 0x0000000c. Was 0x00 instead of 0x41
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: diff 8 address 0x0000000d. Was 0x00 instead of 0x18
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: diff 9 address 0x0000002c. Was 0x00 instead of 0x99
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: diff 10 address 0x00000038. Was 0x00 instead of 0x99
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: diff 11 address 0x0000003c. Was 0x00 instead of 0x99
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: diff 12 address 0x0000003d. Was 0x00 instead of 0x18
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: diff 13 address 0x00000040. Was 0x00 instead of 0x4d
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: diff 14 address 0x00000041. Was 0x00 instead of 0x18
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: diff 15 address 0x00000044. Was 0x00 instead of 0x99
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: diff 16 address 0x00000048. Was 0x00 instead of 0x99
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: diff 17 address 0x0000004c. Was 0x00 instead of 0x99
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: diff 18 address 0x00000050. Was 0x00 instead of 0x01
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: diff 19 address 0x00000051. Was 0x00 instead of 0x18
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: diff 20 address 0x00000054. Was 0x00 instead of 0x99
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: diff 21 address 0x00000058. Was 0x00 instead of 0x99
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: diff 22 address 0x0000005c. Was 0x00 instead of 0x1d
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: diff 23 address 0x0000005d. Was 0x00 instead of 0x18
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: diff 24 address 0x00000060. Was 0x00 instead of 0x09
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: diff 25 address 0x00000061. Was 0x00 instead of 0x0b
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: diff 26 address 0x00000063. Was 0x00 instead of 0x20
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: diff 27 address 0x00000064. Was 0x00 instead of 0x99
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: diff 28 address 0x00000068. Was 0x00 instead of 0x29
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: diff 29 address 0x00000069. Was 0x00 instead of 0x0b
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: diff 30 address 0x0000006b. Was 0x00 instead of 0x20
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: diff 31 address 0x0000006c. Was 0x00 instead of 0x2d
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: diff 32 address 0x0000006d. Was 0x00 instead of 0x0b
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: diff 33 address 0x0000006f. Was 0x00 instead of 0x20
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: diff 34 address 0x00000070. Was 0x00 instead of 0x99
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: diff 35 address 0x00000074. Was 0x00 instead of 0x3d
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: diff 36 address 0x00000075. Was 0x00 instead of 0x06
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: diff 37 address 0x00000077. Was 0x00 instead of 0x20
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: diff 38 address 0x00000078. Was 0x00 instead of 0x99
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: diff 39 address 0x0000007c. Was 0x00 instead of 0x99
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: diff 40 address 0x00000080. Was 0x00 instead of 0x51
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: diff 41 address 0x00000081. Was 0x00 instead of 0x01
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: diff 42 address 0x00000083. Was 0x00 instead of 0x20
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: diff 43 address 0x00000084. Was 0x00 instead of 0x99
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: diff 44 address 0x00000088. Was 0x00 instead of 0x99
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: diff 45 address 0x0000008c. Was 0x00 instead of 0x99
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: diff 46 address 0x00000090. Was 0x00 instead of 0x80
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: diff 47 address 0x00000091. Was 0x00 instead of 0xf3
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: diff 48 address 0x00000092. Was 0x00 instead of 0x08
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: diff 49 address 0x00000093. Was 0x00 instead of 0x88
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: diff 50 address 0x00000094. Was 0x00 instead of 0x70
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: diff 51 address 0x00000095. Was 0x00 instead of 0x47
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: diff 52 address 0x00000096. Was 0x00 instead of 0xc0
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: diff 53 address 0x00000097. Was 0x00 instead of 0x46
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: diff 54 address 0x00000098. Was 0x00 instead of 0xfe
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: diff 55 address 0x00000099. Was 0x00 instead of 0xe7
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: diff 56 address 0x0000009a. Was 0x00 instead of 0xc0
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: diff 57 address 0x0000009b. Was 0x00 instead of 0x46
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: diff 58 address 0x0000009c. Was 0x00 instead of 0x11
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: diff 59 address 0x0000009d. Was 0x00 instead of 0x4a
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: diff 60 address 0x0000009e. Was 0x00 instead of 0x12
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: diff 61 address 0x0000009f. Was 0x00 instead of 0x4b
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: diff 62 address 0x000000a0. Was 0x00 instead of 0x10
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: diff 63 address 0x000000a1. Was 0x00 instead of 0xb5
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: diff 64 address 0x000000a2. Was 0x00 instead of 0x9a
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: diff 65 address 0x000000a3. Was 0x00 instead of 0x42
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: diff 66 address 0x000000a4. Was 0x00 instead of 0x0b
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: diff 67 address 0x000000a5. Was 0x00 instead of 0xd2
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: diff 68 address 0x000000a6. Was 0x00 instead of 0xd0
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: diff 69 address 0x000000a7. Was 0x00 instead of 0x43
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: diff 70 address 0x000000a8. Was 0x00 instead of 0xc0
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: diff 71 address 0x000000a9. Was 0x00 instead of 0x18
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: diff 72 address 0x000000aa. Was 0x00 instead of 0x80
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: diff 73 address 0x000000ab. Was 0x00 instead of 0x08
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: diff 74 address 0x000000ac. Was 0x00 instead of 0x01
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: diff 75 address 0x000000ad. Was 0x00 instead of 0x30
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: diff 76 address 0x000000ae. Was 0x00 instead of 0x0f
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: diff 77 address 0x000000af. Was 0x00 instead of 0x49
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: diff 78 address 0x000000b0. Was 0x00 instead of 0x80
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: diff 79 address 0x000000b3. Was 0x00 instead of 0x23
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: diff 80 address 0x000000b4. Was 0x00 instead of 0xcc
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: diff 81 address 0x000000b5. Was 0x00 instead of 0x58
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: diff 82 address 0x000000b6. Was 0x00 instead of 0xd4
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: diff 83 address 0x000000b7. Was 0x00 instead of 0x50
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: diff 84 address 0x000000b8. Was 0x00 instead of 0x04
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: diff 85 address 0x000000b9. Was 0x00 instead of 0x33
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: diff 86 address 0x000000ba. Was 0x00 instead of 0x83
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: diff 87 address 0x000000bb. Was 0x00 instead of 0x42
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: diff 88 address 0x000000bc. Was 0x00 instead of 0xfa
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: diff 89 address 0x000000bd. Was 0x00 instead of 0xd1
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: diff 90 address 0x000000be. Was 0x00 instead of 0x0c
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: diff 91 address 0x000000bf. Was 0x00 instead of 0x4b
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: diff 92 address 0x000000c0. Was 0x00 instead of 0x0c
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: diff 93 address 0x000000c1. Was 0x00 instead of 0x4a
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: diff 94 address 0x000000c2. Was 0x00 instead of 0x93
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: diff 95 address 0x000000c3. Was 0x00 instead of 0x42
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: diff 96 address 0x000000c4. Was 0x00 instead of 0x09
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: diff 97 address 0x000000c5. Was 0x00 instead of 0xd2
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: diff 98 address 0x000000c6. Was 0x00 instead of 0x18
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: diff 99 address 0x000000c7. Was 0x00 instead of 0x1d
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: diff 100 address 0x000000c8. Was 0x00 instead of 0xd1
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: diff 101 address 0x000000c9. Was 0x00 instead of 0x1c
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: diff 102 address 0x000000ca. Was 0x00 instead of 0x09
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: diff 103 address 0x000000cb. Was 0x00 instead of 0x1a
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: diff 104 address 0x000000cc. Was 0x00 instead of 0x89
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: diff 105 address 0x000000cd. Was 0x00 instead of 0x08
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: diff 106 address 0x000000ce. Was 0x00 instead of 0x89
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: diff 107 address 0x000000d0. Was 0x00 instead of 0x41
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: diff 108 address 0x000000d1. Was 0x00 instead of 0x18
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: diff 109 address 0x000000d3. Was 0x00 instead of 0x22
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: diff 110 address 0x000000d4. Was 0x00 instead of 0x04
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: diff 111 address 0x000000d5. Was 0x00 instead of 0xc3
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: diff 112 address 0x000000d6. Was 0x00 instead of 0x8b
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: diff 113 address 0x000000d7. Was 0x00 instead of 0x42
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: diff 114 address 0x000000d8. Was 0x00 instead of 0xfc
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: diff 115 address 0x000000d9. Was 0x00 instead of 0xd1
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: diff 116 address 0x000000da. Was 0x00 instead of 0x07
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: diff 117 address 0x000000db. Was 0x00 instead of 0x4b
May 15 15:58:49 86b0e96-86b0e96 trident-update[165]: diff 118 address 0x000000dc. Was 0x00 instead of 0x98
May 15 15:58:50 86b0e96-86b0e96 trident-update[165]: diff 119 address 0x000000dd. Was 0x00 instead of 0x47
May 15 15:58:50 86b0e96-86b0e96 trident-update[165]: diff 120 address 0x000000de. Was 0x00 instead of 0x07
May 15 15:58:50 86b0e96-86b0e96 trident-update[165]: diff 121 address 0x000000df. Was 0x00 instead of 0x4b
May 15 15:58:50 86b0e96-86b0e96 trident-update[165]: diff 122 address 0x000000e0. Was 0x00 instead of 0x98
May 15 15:58:50 86b0e96-86b0e96 trident-update[165]: diff 123 address 0x000000e1. Was 0x00 instead of 0x47
May 15 15:58:50 86b0e96-86b0e96 trident-update[165]: diff 124 address 0x000000e2. Was 0x00 instead of 0x10
May 15 15:58:50 86b0e96-86b0e96 trident-update[165]: diff 125 address 0x000000e3. Was 0x00 instead of 0xbd
May 15 15:58:50 86b0e96-86b0e96 trident-update[165]: diff 126 address 0x000000e7. Was 0x00 instead of 0x20
May 15 15:58:50 86b0e96-86b0e96 trident-update[165]: diff 127 address 0x000000e8. Was 0x00 instead of 0x7c
May 15 15:58:50 86b0e96-86b0e96 trident-update[165]: More than 128 errors, the rest are not printed.
May 15 15:58:50 86b0e96-86b0e96 trident-update[165]: embedded:startup.tcl:477: Error: ** Verify Failed **
May 15 15:58:50 86b0e96-86b0e96 trident-update[165]: in procedure 'program'
May 15 15:58:50 86b0e96-86b0e96 trident-update[165]: in procedure 'program_error' called at file "embedded:startup.tcl", line 522
May 15 15:58:50 86b0e96-86b0e96 trident-update[165]: at file "embedded:startup.tcl", line 477
May 15 15:58:50 86b0e96-86b0e96 trident-update[165]: /opt/openrov/firmware/scripts/000001-02/flasher.py:63: RuntimeWarning: This channel is already in use, continuing anyway. Use GPIO.setwarnings(False) to disable warnings.
May 15 15:58:50 86b0e96-86b0e96 trident-update[165]: GPIO.setup(27, GPIO.OUT)
May 15 15:58:50 86b0e96-86b0e96 trident-update[165]: /opt/openrov/firmware/scripts/000001-02/flasher.py:66: RuntimeWarning: This channel is already in use, continuing anyway. Use GPIO.setwarnings(False) to disable warnings.
May 15 15:58:50 86b0e96-86b0e96 trident-update[165]: GPIO.setup(22, GPIO.OUT)
May 15 15:58:50 86b0e96-86b0e96 trident-update[165]: 2018-05-15 15:58:50,356 INFO | Calling: /opt/openrov/firmware/scripts/000001-02/flash_vert_esc.py
May 15 15:59:37 86b0e96-86b0e96 trident-update[165]: 2018-05-15 15:59:37,690 INFO | Flash STDOUT:
May 15 15:59:37 86b0e96-86b0e96 trident-update[165]: [INFO ][15:58:51.053] Starting VERT flasher
May 15 15:59:37 86b0e96-86b0e96 trident-update[165]: [INFO ][15:58:51.054] Setting pin 27 as an output.
May 15 15:59:37 86b0e96-86b0e96 trident-update[165]: [INFO ][15:58:51.055] Setting pin 22 as an output.
May 15 15:59:37 86b0e96-86b0e96 trident-update[165]: [INFO ][15:58:51.055] Selecting device: B
May 15 15:59:37 86b0e96-86b0e96 trident-update[165]: [INFO ][15:58:51.056] Writing: 0 to pin: 22
May 15 15:59:37 86b0e96-86b0e96 trident-update[165]: [INFO ][15:58:51.056] Writing: 1 to pin: 27
May 15 15:59:37 86b0e96-86b0e96 trident-update[165]: [INFO ][15:58:51.056] Done selecting...
May 15 15:59:37 86b0e96-86b0e96 trident-update[165]: [INFO ][15:58:51.256] Starting flashing process
May 15 15:59:37 86b0e96-86b0e96 trident-update[165]: [INFO ][15:58:51.257] Running command: ['openocd', '-f', '/usr/share/openocd/scripts/board/openrov_trident_pac.cfg', '-c', 'program /opt/openrov/firmware/000001-02/pac5220/trident.bin verify; reset; exit']
May 15 15:59:37 86b0e96-86b0e96 trident-update[165]: [INFO ][15:59:37.618]
May 15 15:59:37 86b0e96-86b0e96 trident-update[165]: [INFO ][15:59:37.619] Done flashing.
May 15 15:59:37 86b0e96-86b0e96 trident-update[165]: [INFO ][15:59:37.619] Flashing took: 46.36 seconds
May 15 15:59:37 86b0e96-86b0e96 trident-update[165]: 2018-05-15 15:59:37,690 INFO | Flash STDERR:
May 15 15:59:37 86b0e96-86b0e96 trident-update[165]: Open On-Chip Debugger 0.10.0+dev-gb210485 (2018-03-16-00:37)
May 15 15:59:37 86b0e96-86b0e96 trident-update[165]: Licensed under GNU GPL v2
May 15 15:59:37 86b0e96-86b0e96 trident-update[165]: For bug reports, read
May 15 15:59:37 86b0e96-86b0e96 trident-update[165]: http://openocd.org/doc/doxygen/bugs.html
May 15 15:59:37 86b0e96-86b0e96 trident-update[165]: BCM2835 GPIO nums: swclk = 25, swdio = 24
May 15 15:59:37 86b0e96-86b0e96 trident-update[165]: none separate
May 15 15:59:37 86b0e96-86b0e96 trident-update[165]: Warn : Interface already configured, ignoring
May 15 15:59:37 86b0e96-86b0e96 trident-update[165]: none separate
May 15 15:59:37 86b0e96-86b0e96 trident-update[165]: cortex_m pac_config is_pac
May 15 15:59:37 86b0e96-86b0e96 trident-update[165]: adapter speed: 100 kHz
May 15 15:59:37 86b0e96-86b0e96 trident-update[165]: adapter speed: 100 kHz
May 15 15:59:37 86b0e96-86b0e96 trident-update[165]: Info : BCM2835 GPIO JTAG/SWD bitbang driver
May 15 15:59:37 86b0e96-86b0e96 trident-update[165]: Info : SWD only mode enabled (specify tck, tms, tdi and tdo gpios to add JTAG mode)
May 15 15:59:37 86b0e96-86b0e96 trident-update[165]: Info : clock speed 100 kHz
May 15 15:59:37 86b0e96-86b0e96 trident-update[165]: Info : SWD DPIDR 0x0bb11477
May 15 15:59:37 86b0e96-86b0e96 trident-update[165]: Info : pac5223.cpu: hardware has 4 breakpoints, 2 watchpoints
May 15 15:59:37 86b0e96-86b0e96 trident-update[165]: Info : Listening on port 3333 for gdb connections
May 15 15:59:37 86b0e96-86b0e96 trident-update[165]: TargetName Type Endian TapName State
May 15 15:59:37 86b0e96-86b0e96 trident-update[165]: -- ------------------ ---------- ------ ------------------ ------------
May 15 15:59:37 86b0e96-86b0e96 trident-update[165]: 0* pac5223.cpu cortex_m little pac5223.cpu running
May 15 15:59:37 86b0e96-86b0e96 trident-update[165]: Warn : Only resetting the Cortex-M core, use a reset-init event handler to reset any peripherals or configure hardware srst support.
May 15 15:59:37 86b0e96-86b0e96 trident-update[165]: target halted due to debug-request, current mode: Thread
May 15 15:59:37 86b0e96-86b0e96 trident-update[165]: xPSR: 0xc1000000 pc: 0x00000100 msp: 0x20001c48
May 15 15:59:37 86b0e96-86b0e96 trident-update[165]: Warn : Only resetting the Cortex-M core, use a reset-init event handler to reset any peripherals or configure hardware srst support.
May 15 15:59:37 86b0e96-86b0e96 trident-update[165]: target halted due to debug-request, current mode: Thread
May 15 15:59:37 86b0e96-86b0e96 trident-update[165]: xPSR: 0xc1000000 pc: 0x00000100 msp: 0x20001c48
May 15 15:59:37 86b0e96-86b0e96 trident-update[165]: ** Programming Started **
May 15 15:59:37 86b0e96-86b0e96 trident-update[165]: auto erase enabled
May 15 15:59:37 86b0e96-86b0e96 trident-update[165]: wrote 22528 bytes from file /opt/openrov/firmware/000001-02/pac5220/trident.bin in 45.559853s (0.483 KiB/s)
May 15 15:59:37 86b0e96-86b0e96 trident-update[165]: ** Programming Finished **
May 15 15:59:37 86b0e96-86b0e96 trident-update[165]: ** Verify Started **
May 15 15:59:37 86b0e96-86b0e96 trident-update[165]: verified 22394 bytes in 0.325986s (67.086 KiB/s)
May 15 15:59:37 86b0e96-86b0e96 trident-update[165]: ** Verified OK **
May 15 15:59:37 86b0e96-86b0e96 trident-update[165]: Warn : Only resetting the Cortex-M core, use a reset-init event handler to reset any peripherals or configure hardware srst support.
May 15 15:59:37 86b0e96-86b0e96 trident-update[165]: /opt/openrov/firmware/scripts/000001-02/flasher.py:63: RuntimeWarning: This channel is already in use, continuing anyway. Use GPIO.setwarnings(False) to disable warnings.
May 15 15:59:37 86b0e96-86b0e96 trident-update[165]: GPIO.setup(27, GPIO.OUT)
May 15 15:59:37 86b0e96-86b0e96 trident-update[165]: /opt/openrov/firmware/scripts/000001-02/flasher.py:66: RuntimeWarning: This channel is already in use, continuing anyway. Use GPIO.setwarnings(False) to disable warnings.
May 15 15:59:37 86b0e96-86b0e96 trident-update[165]: GPIO.setup(22, GPIO.OUT)
May 15 15:59:38 86b0e96-86b0e96 trident-update[165]: 2018-05-15 15:59:38,191 INFO | Firmware updates complete
May 15 15:59:40 86b0e96-86b0e96 trident-update[165]: 2018-05-15 15:59:40,193 INFO | Waiting for MCU status updates...
May 15 15:59:40 86b0e96-86b0e96 trident-update[165]: 2018-05-15 15:59:40,693 INFO | Version matched: samd21
May 15 15:59:41 86b0e96-86b0e96 trident-update[165]: 2018-05-15 15:59:41,194 INFO | Version matched: port_esc
May 15 15:59:41 86b0e96-86b0e96 trident-update[165]: 2018-05-15 15:59:41,695 INFO | Version matched: vert_esc
May 15 15:59:50 86b0e96-86b0e96 trident-update[165]: 2018-05-15 15:59:50,199 INFO | Timeout waiting for status updates!
May 15 15:59:50 86b0e96-86b0e96 trident-update[165]: 2018-05-15 15:59:50,201 INFO | Health Check complete.
May 15 15:59:50 86b0e96-86b0e96 trident-update[165]: 2018-05-15 15:59:50,201 INFO | Action Required!
May 15 15:59:50 86b0e96-86b0e96 trident-update[165]: 2018-05-15 15:59:50,201 INFO | Ready to receive commands
May 15 16:00:16 86b0e96-86b0e96 trident-update[165]: 2018-05-15 16:00:16,263 INFO | Executing updates
May 15 16:00:16 86b0e96-86b0e96 trident-update[165]: 2018-05-15 16:00:16,763 INFO | Calling: /opt/openrov/firmware/scripts/000001-02/flash_port_esc.py
May 15 16:01:04 86b0e96-86b0e96 trident-update[165]: 2018-05-15 16:01:04,218 INFO | Flash STDOUT:
May 15 16:01:04 86b0e96-86b0e96 trident-update[165]: [INFO ][16:00:17.426] Starting PORT esc flasher
May 15 16:01:04 86b0e96-86b0e96 trident-update[165]: [INFO ][16:00:17.426] Setting pin 27 as an output.
May 15 16:01:04 86b0e96-86b0e96 trident-update[165]: [INFO ][16:00:17.428] Setting pin 22 as an output.
May 15 16:01:04 86b0e96-86b0e96 trident-update[165]: [INFO ][16:00:17.428] Selecting device: C
May 15 16:01:04 86b0e96-86b0e96 trident-update[165]: [INFO ][16:00:17.428] Writing: 1 to pin: 22
May 15 16:01:04 86b0e96-86b0e96 trident-update[165]: [INFO ][16:00:17.428] Writing: 0 to pin: 27
May 15 16:01:04 86b0e96-86b0e96 trident-update[165]: [INFO ][16:00:17.428] Done selecting...
May 15 16:01:04 86b0e96-86b0e96 trident-update[165]: [INFO ][16:00:17.628] Starting flashing process
May 15 16:01:04 86b0e96-86b0e96 trident-update[165]: [INFO ][16:00:17.629] Running command: ['openocd', '-f', '/usr/share/openocd/scripts/board/openrov_trident_pac.cfg', '-c', 'program /opt/openrov/firmware/000001-02/pac5220/trident.bin verify; reset; exit']
May 15 16:01:04 86b0e96-86b0e96 trident-update[165]: [INFO ][16:01:04.156]
May 15 16:01:04 86b0e96-86b0e96 trident-update[165]: [INFO ][16:01:04.157] Done flashing.
May 15 16:01:04 86b0e96-86b0e96 trident-update[165]: [INFO ][16:01:04.157] Flashing took: 46.53 seconds
May 15 16:01:04 86b0e96-86b0e96 trident-update[165]: 2018-05-15 16:01:04,218 INFO | Flash STDERR:
May 15 16:01:04 86b0e96-86b0e96 trident-update[165]: Open On-Chip Debugger 0.10.0+dev-gb210485 (2018-03-16-00:37)
May 15 16:01:04 86b0e96-86b0e96 trident-update[165]: Licensed under GNU GPL v2
May 15 16:01:04 86b0e96-86b0e96 trident-update[165]: For bug reports, read
May 15 16:01:04 86b0e96-86b0e96 trident-update[165]: http://openocd.org/doc/doxygen/bugs.html
May 15 16:01:04 86b0e96-86b0e96 trident-update[165]: BCM2835 GPIO nums: swclk = 25, swdio = 24
May 15 16:01:04 86b0e96-86b0e96 trident-update[165]: none separate
May 15 16:01:04 86b0e96-86b0e96 trident-update[165]: Warn : Interface already configured, ignoring
May 15 16:01:04 86b0e96-86b0e96 trident-update[165]: none separate
May 15 16:01:04 86b0e96-86b0e96 trident-update[165]: cortex_m pac_config is_pac
May 15 16:01:04 86b0e96-86b0e96 trident-update[165]: adapter speed: 100 kHz
May 15 16:01:04 86b0e96-86b0e96 trident-update[165]: adapter speed: 100 kHz
May 15 16:01:04 86b0e96-86b0e96 trident-update[165]: Info : BCM2835 GPIO JTAG/SWD bitbang driver
May 15 16:01:04 86b0e96-86b0e96 trident-update[165]: Info : SWD only mode enabled (specify tck, tms, tdi and tdo gpios to add JTAG mode)
May 15 16:01:04 86b0e96-86b0e96 trident-update[165]: Info : clock speed 100 kHz
May 15 16:01:04 86b0e96-86b0e96 trident-update[165]: Info : SWD DPIDR 0x0bb11477
May 15 16:01:04 86b0e96-86b0e96 trident-update[165]: Info : pac5223.cpu: hardware has 4 breakpoints, 2 watchpoints
May 15 16:01:04 86b0e96-86b0e96 trident-update[165]: Info : Listening on port 3333 for gdb connections
May 15 16:01:04 86b0e96-86b0e96 trident-update[165]: TargetName Type Endian TapName State
May 15 16:01:04 86b0e96-86b0e96 trident-update[165]: -- ------------------ ---------- ------ ------------------ ------------
May 15 16:01:04 86b0e96-86b0e96 trident-update[165]: 0* pac5223.cpu cortex_m little pac5223.cpu running
May 15 16:01:04 86b0e96-86b0e96 trident-update[165]: Warn : Only resetting the Cortex-M core, use a reset-init event handler to reset any peripherals or configure hardware srst support.
May 15 16:01:04 86b0e96-86b0e96 trident-update[165]: target halted due to debug-request, current mode: Thread
May 15 16:01:04 86b0e96-86b0e96 trident-update[165]: xPSR: 0xc1000000 pc: 0x00000100 msp: 0x20001c48
May 15 16:01:04 86b0e96-86b0e96 trident-update[165]: Warn : Only resetting the Cortex-M core, use a reset-init event handler to reset any peripherals or configure hardware srst support.
May 15 16:01:04 86b0e96-86b0e96 trident-update[165]: target halted due to debug-request, current mode: Thread
May 15 16:01:04 86b0e96-86b0e96 trident-update[165]: xPSR: 0xc1000000 pc: 0x00000100 msp: 0x20001c48
May 15 16:01:04 86b0e96-86b0e96 trident-update[165]: ** Programming Started **
May 15 16:01:04 86b0e96-86b0e96 trident-update[165]: auto erase enabled
May 15 16:01:04 86b0e96-86b0e96 trident-update[165]: wrote 22528 bytes from file /opt/openrov/firmware/000001-02/pac5220/trident.bin in 45.659233s (0.482 KiB/s)
May 15 16:01:04 86b0e96-86b0e96 trident-update[165]: ** Programming Finished **
May 15 16:01:04 86b0e96-86b0e96 trident-update[165]: ** Verify Started **
May 15 16:01:04 86b0e96-86b0e96 trident-update[165]: verified 22394 bytes in 0.377110s (57.991 KiB/s)
May 15 16:01:04 86b0e96-86b0e96 trident-update[165]: ** Verified OK **
May 15 16:01:04 86b0e96-86b0e96 trident-update[165]: Warn : Only resetting the Cortex-M core, use a reset-init event handler to reset any peripherals or configure hardware srst support.
May 15 16:01:04 86b0e96-86b0e96 trident-update[165]: /opt/openrov/firmware/scripts/000001-02/flasher.py:63: RuntimeWarning: This channel is already in use, continuing anyway. Use GPIO.setwarnings(False) to disable warnings.
May 15 16:01:04 86b0e96-86b0e96 trident-update[165]: GPIO.setup(27, GPIO.OUT)
May 15 16:01:04 86b0e96-86b0e96 trident-update[165]: /opt/openrov/firmware/scripts/000001-02/flasher.py:66: RuntimeWarning: This channel is already in use, continuing anyway. Use GPIO.setwarnings(False) to disable warnings.
May 15 16:01:04 86b0e96-86b0e96 trident-update[165]: GPIO.setup(22, GPIO.OUT)
May 15 16:01:04 86b0e96-86b0e96 trident-update[165]: 2018-05-15 16:01:04,720 INFO | Calling: /opt/openrov/firmware/scripts/000001-02/flash_samd21.py
May 15 16:01:17 86b0e96-86b0e96 trident-update[165]: 2018-05-15 16:01:17,242 INFO | Flash STDOUT:
May 15 16:01:17 86b0e96-86b0e96 trident-update[165]: [INFO ][16:01:05.425] Starting samd flasher
May 15 16:01:17 86b0e96-86b0e96 trident-update[165]: [INFO ][16:01:05.425] Setting pin 27 as an output.
May 15 16:01:17 86b0e96-86b0e96 trident-update[165]: [INFO ][16:01:05.427] Setting pin 22 as an output.
May 15 16:01:17 86b0e96-86b0e96 trident-update[165]: [INFO ][16:01:05.427] Selecting device: SAMD
May 15 16:01:17 86b0e96-86b0e96 trident-update[165]: [INFO ][16:01:05.427] Writing: 1 to pin: 22
May 15 16:01:17 86b0e96-86b0e96 trident-update[165]: [INFO ][16:01:05.427] Writing: 1 to pin: 27
May 15 16:01:17 86b0e96-86b0e96 trident-update[165]: [INFO ][16:01:05.427] Done selecting...
May 15 16:01:17 86b0e96-86b0e96 trident-update[165]: [INFO ][16:01:05.628] Starting flashing process
May 15 16:01:17 86b0e96-86b0e96 trident-update[165]: [INFO ][16:01:05.628] Running command: ['openocd', '-f', '/usr/share/openocd/scripts/board/openrov_trident_samd.cfg', '-c', 'flash protect 0 0 15 off; program /opt/openrov/firmware/000001-02/samd21/trident.bin verify; at91samd bod33-level-mod; at91samd bod33-hyst-mod; flash protect 0 0 15 on; reset; exit']
May 15 16:01:17 86b0e96-86b0e96 trident-update[165]: [INFO ][16:01:17.182]
May 15 16:01:17 86b0e96-86b0e96 trident-update[165]: [INFO ][16:01:17.182] Done flashing.
May 15 16:01:17 86b0e96-86b0e96 trident-update[165]: [INFO ][16:01:17.182] Flashing took: 11.55 seconds
May 15 16:01:17 86b0e96-86b0e96 trident-update[165]: 2018-05-15 16:01:17,242 INFO | Flash STDERR:
May 15 16:01:17 86b0e96-86b0e96 trident-update[165]: Open On-Chip Debugger 0.10.0+dev-gb210485 (2018-03-16-00:37)
May 15 16:01:17 86b0e96-86b0e96 trident-update[165]: Licensed under GNU GPL v2
May 15 16:01:17 86b0e96-86b0e96 trident-update[165]: For bug reports, read
May 15 16:01:17 86b0e96-86b0e96 trident-update[165]: http://openocd.org/doc/doxygen/bugs.html
May 15 16:01:17 86b0e96-86b0e96 trident-update[165]: BCM2835 GPIO nums: swclk = 25, swdio = 24
May 15 16:01:17 86b0e96-86b0e96 trident-update[165]: none separate
May 15 16:01:17 86b0e96-86b0e96 trident-update[165]: Warn : Interface already configured, ignoring
May 15 16:01:17 86b0e96-86b0e96 trident-update[165]: none separate
May 15 16:01:17 86b0e96-86b0e96 trident-update[165]: adapter speed: 400 kHz
May 15 16:01:17 86b0e96-86b0e96 trident-update[165]: cortex_m reset_config sysresetreq
May 15 16:01:17 86b0e96-86b0e96 trident-update[165]: adapter speed: 100 kHz
May 15 16:01:17 86b0e96-86b0e96 trident-update[165]: Info : BCM2835 GPIO JTAG/SWD bitbang driver
May 15 16:01:17 86b0e96-86b0e96 trident-update[165]: Info : SWD only mode enabled (specify tck, tms, tdi and tdo gpios to add JTAG mode)
May 15 16:01:17 86b0e96-86b0e96 trident-update[165]: Info : clock speed 100 kHz
May 15 16:01:17 86b0e96-86b0e96 trident-update[165]: Info : SWD DPIDR 0x0bc11477
May 15 16:01:17 86b0e96-86b0e96 trident-update[165]: Info : at91samd21g18.cpu: hardware has 4 breakpoints, 2 watchpoints
May 15 16:01:17 86b0e96-86b0e96 trident-update[165]: Info : Listening on port 3333 for gdb connections
May 15 16:01:17 86b0e96-86b0e96 trident-update[165]: TargetName Type Endian TapName State
May 15 16:01:17 86b0e96-86b0e96 trident-update[165]: -- ------------------ ---------- ------ ------------------ ------------
May 15 16:01:17 86b0e96-86b0e96 trident-update[165]: 0* at91samd21g18.cpu cortex_m little at91samd21g18.cpu running
May 15 16:01:17 86b0e96-86b0e96 trident-update[165]: target halted due to debug-request, current mode: Thread
May 15 16:01:17 86b0e96-86b0e96 trident-update[165]: xPSR: 0x41000000 pc: 0x00000370 msp: 0x20000200
May 15 16:01:17 86b0e96-86b0e96 trident-update[165]: Info : SAMD MCU: SAMD21G18A (256KB Flash, 32KB RAM)
May 15 16:01:17 86b0e96-86b0e96 trident-update[165]: cleared protection for sectors 0 through 15 on flash bank 0
May 15 16:01:17 86b0e96-86b0e96 trident-update[165]: target halted due to debug-request, current mode: Thread
May 15 16:01:17 86b0e96-86b0e96 trident-update[165]: xPSR: 0x41000000 pc: 0x00000370 msp: 0x20000200
May 15 16:01:17 86b0e96-86b0e96 trident-update[165]: ** Programming Started **
May 15 16:01:17 86b0e96-86b0e96 trident-update[165]: auto erase enabled
May 15 16:01:17 86b0e96-86b0e96 trident-update[165]: wrote 43008 bytes from file /opt/openrov/firmware/000001-02/samd21/trident.bin in 7.493987s (5.604 KiB/s)
May 15 16:01:17 86b0e96-86b0e96 trident-update[165]: ** Programming Finished **
May 15 16:01:17 86b0e96-86b0e96 trident-update[165]: ** Verify Started **
May 15 16:01:17 86b0e96-86b0e96 trident-update[165]: verified 42860 bytes in 3.486050s (12.007 KiB/s)
May 15 16:01:17 86b0e96-86b0e96 trident-update[165]: ** Verified OK **
May 15 16:01:17 86b0e96-86b0e96 trident-update[165]: NVM register u16 is 59391
May 15 16:01:17 86b0e96-86b0e96 trident-update[165]: BOD33 Level value is 39
May 15 16:01:17 86b0e96-86b0e96 trident-update[165]: NVM Upper half is 4294966621
May 15 16:01:17 86b0e96-86b0e96 trident-update[165]: BOD33 Hysteresis value is 1
May 15 16:01:17 86b0e96-86b0e96 trident-update[165]: set protection for sectors 0 through 15 on flash bank 0
May 15 16:01:17 86b0e96-86b0e96 trident-update[165]: /opt/openrov/firmware/scripts/000001-02/flasher.py:63: RuntimeWarning: This channel is already in use, continuing anyway. Use GPIO.setwarnings(False) to disable warnings.
May 15 16:01:17 86b0e96-86b0e96 trident-update[165]: GPIO.setup(27, GPIO.OUT)
May 15 16:01:17 86b0e96-86b0e96 trident-update[165]: /opt/openrov/firmware/scripts/000001-02/flasher.py:66: RuntimeWarning: This channel is already in use, continuing anyway. Use GPIO.setwarnings(False) to disable warnings.
May 15 16:01:17 86b0e96-86b0e96 trident-update[165]: GPIO.setup(22, GPIO.OUT)
May 15 16:01:17 86b0e96-86b0e96 trident-update[165]: 2018-05-15 16:01:17,743 INFO | Calling: /opt/openrov/firmware/scripts/000001-02/flash_star_esc.py
May 15 16:02:05 86b0e96-86b0e96 trident-update[165]: 2018-05-15 16:02:05,911 INFO | Flash STDOUT:
May 15 16:02:05 86b0e96-86b0e96 trident-update[165]: [INFO ][16:01:18.287] Starting STAR flasher
May 15 16:02:05 86b0e96-86b0e96 trident-update[165]: [INFO ][16:01:18.287] Setting pin 27 as an output.
May 15 16:02:05 86b0e96-86b0e96 trident-update[165]: [INFO ][16:01:18.288] Setting pin 22 as an output.
May 15 16:02:05 86b0e96-86b0e96 trident-update[165]: [INFO ][16:01:18.288] Selecting device: A
May 15 16:02:05 86b0e96-86b0e96 trident-update[165]: [INFO ][16:01:18.288] Writing: 0 to pin: 22
May 15 16:02:05 86b0e96-86b0e96 trident-update[165]: [INFO ][16:01:18.288] Writing: 0 to pin: 27
May 15 16:02:05 86b0e96-86b0e96 trident-update[165]: [INFO ][16:01:18.289] Done selecting...
May 15 16:02:05 86b0e96-86b0e96 trident-update[165]: [INFO ][16:01:18.489] Starting flashing process
May 15 16:02:05 86b0e96-86b0e96 trident-update[165]: [INFO ][16:01:18.489] Running command: ['openocd', '-f', '/usr/share/openocd/scripts/board/openrov_trident_pac.cfg', '-c', 'program /opt/openrov/firmware/000001-02/pac5220/trident.bin verify; reset; exit']
May 15 16:02:05 86b0e96-86b0e96 trident-update[165]: [INFO ][16:02:05.851]
May 15 16:02:05 86b0e96-86b0e96 trident-update[165]: [INFO ][16:02:05.851] Done flashing.
May 15 16:02:05 86b0e96-86b0e96 trident-update[165]: [INFO ][16:02:05.851] Flashing took: 47.36 seconds
May 15 16:02:05 86b0e96-86b0e96 trident-update[165]: 2018-05-15 16:02:05,911 INFO | Flash STDERR:
May 15 16:02:05 86b0e96-86b0e96 trident-update[165]: Open On-Chip Debugger 0.10.0+dev-gb210485 (2018-03-16-00:37)
May 15 16:02:05 86b0e96-86b0e96 trident-update[165]: Licensed under GNU GPL v2
May 15 16:02:05 86b0e96-86b0e96 trident-update[165]: For bug reports, read
May 15 16:02:05 86b0e96-86b0e96 trident-update[165]: http://openocd.org/doc/doxygen/bugs.html
May 15 16:02:05 86b0e96-86b0e96 trident-update[165]: BCM2835 GPIO nums: swclk = 25, swdio = 24
May 15 16:02:05 86b0e96-86b0e96 trident-update[165]: none separate
May 15 16:02:05 86b0e96-86b0e96 trident-update[165]: Warn : Interface already configured, ignoring
May 15 16:02:05 86b0e96-86b0e96 trident-update[165]: none separate
May 15 16:02:05 86b0e96-86b0e96 trident-update[165]: cortex_m pac_config is_pac
May 15 16:02:05 86b0e96-86b0e96 trident-update[165]: adapter speed: 100 kHz
May 15 16:02:05 86b0e96-86b0e96 trident-update[165]: adapter speed: 100 kHz
May 15 16:02:05 86b0e96-86b0e96 trident-update[165]: Info : BCM2835 GPIO JTAG/SWD bitbang driver
May 15 16:02:05 86b0e96-86b0e96 trident-update[165]: Info : SWD only mode enabled (specify tck, tms, tdi and tdo gpios to add JTAG mode)
May 15 16:02:05 86b0e96-86b0e96 trident-update[165]: Info : clock speed 100 kHz
May 15 16:02:05 86b0e96-86b0e96 trident-update[165]: Info : SWD DPIDR 0x0bb11477
May 15 16:02:05 86b0e96-86b0e96 trident-update[165]: Info : pac5223.cpu: hardware has 4 breakpoints, 2 watchpoints
May 15 16:02:05 86b0e96-86b0e96 trident-update[165]: Info : Listening on port 3333 for gdb connections
May 15 16:02:05 86b0e96-86b0e96 trident-update[165]: TargetName Type Endian TapName State
May 15 16:02:05 86b0e96-86b0e96 trident-update[165]: -- ------------------ ---------- ------ ------------------ ------------
May 15 16:02:05 86b0e96-86b0e96 trident-update[165]: 0* pac5223.cpu cortex_m little pac5223.cpu running
May 15 16:02:05 86b0e96-86b0e96 trident-update[165]: Warn : Only resetting the Cortex-M core, use a reset-init event handler to reset any peripherals or configure hardware srst support.
May 15 16:02:05 86b0e96-86b0e96 trident-update[165]: target halted due to debug-request, current mode: Thread
May 15 16:02:05 86b0e96-86b0e96 trident-update[165]: xPSR: 0xc1000000 pc: 0x00000100 msp: 0x20001c48
May 15 16:02:05 86b0e96-86b0e96 trident-update[165]: Warn : Only resetting the Cortex-M core, use a reset-init event handler to reset any peripherals or configure hardware srst support.
May 15 16:02:05 86b0e96-86b0e96 trident-update[165]: target halted due to debug-request, current mode: Thread
May 15 16:02:05 86b0e96-86b0e96 trident-update[165]: xPSR: 0xc1000000 pc: 0x00000100 msp: 0x20001c48
May 15 16:02:05 86b0e96-86b0e96 trident-update[165]: ** Programming Started **
May 15 16:02:05 86b0e96-86b0e96 trident-update[165]: auto erase enabled
May 15 16:02:05 86b0e96-86b0e96 trident-update[165]: wrote 22528 bytes from file /opt/openrov/firmware/000001-02/pac5220/trident.bin in 46.593887s (0.472 KiB/s)
May 15 16:02:05 86b0e96-86b0e96 trident-update[165]: ** Programming Finished **
May 15 16:02:05 86b0e96-86b0e96 trident-update[165]: ** Verify Started **
May 15 16:02:05 86b0e96-86b0e96 trident-update[165]: verified 22394 bytes in 0.356972s (61.263 KiB/s)
May 15 16:02:05 86b0e96-86b0e96 trident-update[165]: ** Verified OK **
May 15 16:02:05 86b0e96-86b0e96 trident-update[165]: Warn : Only resetting the Cortex-M core, use a reset-init event handler to reset any peripherals or configure hardware srst support.
May 15 16:02:05 86b0e96-86b0e96 trident-update[165]: /opt/openrov/firmware/scripts/000001-02/flasher.py:63: RuntimeWarning: This channel is already in use, continuing anyway. Use GPIO.setwarnings(False) to disable warnings.
May 15 16:02:05 86b0e96-86b0e96 trident-update[165]: GPIO.setup(27, GPIO.OUT)
May 15 16:02:05 86b0e96-86b0e96 trident-update[165]: /opt/openrov/firmware/scripts/000001-02/flasher.py:66: RuntimeWarning: This channel is already in use, continuing anyway. Use GPIO.setwarnings(False) to disable warnings.
May 15 16:02:05 86b0e96-86b0e96 trident-update[165]: GPIO.setup(22, GPIO.OUT)
May 15 16:02:06 86b0e96-86b0e96 trident-update[165]: 2018-05-15 16:02:06,412 INFO | Calling: /opt/openrov/firmware/scripts/000001-02/flash_vert_esc.py
May 15 16:02:53 86b0e96-86b0e96 trident-update[165]: 2018-05-15 16:02:53,738 INFO | Flash STDOUT:
May 15 16:02:53 86b0e96-86b0e96 trident-update[165]: [INFO ][16:02:07.013] Starting VERT flasher
May 15 16:02:53 86b0e96-86b0e96 trident-update[165]: [INFO ][16:02:07.013] Setting pin 27 as an output.
May 15 16:02:53 86b0e96-86b0e96 trident-update[165]: [INFO ][16:02:07.014] Setting pin 22 as an output.
May 15 16:02:53 86b0e96-86b0e96 trident-update[165]: [INFO ][16:02:07.014] Selecting device: B
May 15 16:02:53 86b0e96-86b0e96 trident-update[165]: [INFO ][16:02:07.014] Writing: 0 to pin: 22
May 15 16:02:53 86b0e96-86b0e96 trident-update[165]: [INFO ][16:02:07.014] Writing: 1 to pin: 27
May 15 16:02:53 86b0e96-86b0e96 trident-update[165]: [INFO ][16:02:07.015] Done selecting...
May 15 16:02:53 86b0e96-86b0e96 trident-update[165]: [INFO ][16:02:07.215] Starting flashing process
May 15 16:02:53 86b0e96-86b0e96 trident-update[165]: [INFO ][16:02:07.215] Running command: ['openocd', '-f', '/usr/share/openocd/scripts/board/openrov_trident_pac.cfg', '-c', 'program /opt/openrov/firmware/000001-02/pac5220/trident.bin verify; reset; exit']
May 15 16:02:53 86b0e96-86b0e96 trident-update[165]: [INFO ][16:02:53.670]
May 15 16:02:53 86b0e96-86b0e96 trident-update[165]: [INFO ][16:02:53.670] Done flashing.
May 15 16:02:53 86b0e96-86b0e96 trident-update[165]: [INFO ][16:02:53.670] Flashing took: 46.45 seconds
May 15 16:02:53 86b0e96-86b0e96 trident-update[165]: 2018-05-15 16:02:53,738 INFO | Flash STDERR:
May 15 16:02:53 86b0e96-86b0e96 trident-update[165]: Open On-Chip Debugger 0.10.0+dev-gb210485 (2018-03-16-00:37)
May 15 16:02:53 86b0e96-86b0e96 trident-update[165]: Licensed under GNU GPL v2
May 15 16:02:53 86b0e96-86b0e96 trident-update[165]: For bug reports, read
May 15 16:02:53 86b0e96-86b0e96 trident-update[165]: http://openocd.org/doc/doxygen/bugs.html
May 15 16:02:53 86b0e96-86b0e96 trident-update[165]: BCM2835 GPIO nums: swclk = 25, swdio = 24
May 15 16:02:53 86b0e96-86b0e96 trident-update[165]: none separate
May 15 16:02:53 86b0e96-86b0e96 trident-update[165]: Warn : Interface already configured, ignoring
May 15 16:02:53 86b0e96-86b0e96 trident-update[165]: none separate
May 15 16:02:53 86b0e96-86b0e96 trident-update[165]: cortex_m pac_config is_pac
May 15 16:02:53 86b0e96-86b0e96 trident-update[165]: adapter speed: 100 kHz
May 15 16:02:53 86b0e96-86b0e96 trident-update[165]: adapter speed: 100 kHz
May 15 16:02:53 86b0e96-86b0e96 trident-update[165]: Info : BCM2835 GPIO JTAG/SWD bitbang driver
May 15 16:02:53 86b0e96-86b0e96 trident-update[165]: Info : SWD only mode enabled (specify tck, tms, tdi and tdo gpios to add JTAG mode)
May 15 16:02:53 86b0e96-86b0e96 trident-update[165]: Info : clock speed 100 kHz
May 15 16:02:53 86b0e96-86b0e96 trident-update[165]: Info : SWD DPIDR 0x0bb11477
May 15 16:02:53 86b0e96-86b0e96 trident-update[165]: Info : pac5223.cpu: hardware has 4 breakpoints, 2 watchpoints
May 15 16:02:53 86b0e96-86b0e96 trident-update[165]: Info : Listening on port 3333 for gdb connections
May 15 16:02:53 86b0e96-86b0e96 trident-update[165]: TargetName Type Endian TapName State
May 15 16:02:53 86b0e96-86b0e96 trident-update[165]: -- ------------------ ---------- ------ ------------------ ------------
May 15 16:02:53 86b0e96-86b0e96 trident-update[165]: 0* pac5223.cpu cortex_m little pac5223.cpu running
May 15 16:02:53 86b0e96-86b0e96 trident-update[165]: Warn : Only resetting the Cortex-M core, use a reset-init event handler to reset any peripherals or configure hardware srst support.
May 15 16:02:53 86b0e96-86b0e96 trident-update[165]: target halted due to debug-request, current mode: Thread
May 15 16:02:53 86b0e96-86b0e96 trident-update[165]: xPSR: 0xc1000000 pc: 0x00000100 msp: 0x20001c48
May 15 16:02:53 86b0e96-86b0e96 trident-update[165]: Warn : Only resetting the Cortex-M core, use a reset-init event handler to reset any peripherals or configure hardware srst support.
May 15 16:02:53 86b0e96-86b0e96 trident-update[165]: target halted due to debug-request, current mode: Thread
May 15 16:02:53 86b0e96-86b0e96 trident-update[165]: xPSR: 0xc1000000 pc: 0x00000100 msp: 0x20001c48
May 15 16:02:53 86b0e96-86b0e96 trident-update[165]: ** Programming Started **
May 15 16:02:53 86b0e96-86b0e96 trident-update[165]: auto erase enabled
May 15 16:02:53 86b0e96-86b0e96 trident-update[165]: wrote 22528 bytes from file /opt/openrov/firmware/000001-02/pac5220/trident.bin in 45.681671s (0.482 KiB/s)
May 15 16:02:53 86b0e96-86b0e96 trident-update[165]: ** Programming Finished **
May 15 16:02:53 86b0e96-86b0e96 trident-update[165]: ** Verify Started **
May 15 16:02:53 86b0e96-86b0e96 trident-update[165]: verified 22394 bytes in 0.329632s (66.344 KiB/s)
May 15 16:02:53 86b0e96-86b0e96 trident-update[165]: ** Verified OK **
May 15 16:02:53 86b0e96-86b0e96 trident-update[165]: Warn : Only resetting the Cortex-M core, use a reset-init event handler to reset any peripherals or configure hardware srst support.
May 15 16:02:53 86b0e96-86b0e96 trident-update[165]: /opt/openrov/firmware/scripts/000001-02/flasher.py:63: RuntimeWarning: This channel is already in use, continuing anyway. Use GPIO.setwarnings(False) to disable warnings.
May 15 16:02:53 86b0e96-86b0e96 trident-update[165]: GPIO.setup(27, GPIO.OUT)
May 15 16:02:53 86b0e96-86b0e96 trident-update[165]: /opt/openrov/firmware/scripts/000001-02/flasher.py:66: RuntimeWarning: This channel is already in use, continuing anyway. Use GPIO.setwarnings(False) to disable warnings.
May 15 16:02:53 86b0e96-86b0e96 trident-update[165]: GPIO.setup(22, GPIO.OUT)
May 15 16:02:54 86b0e96-86b0e96 trident-update[165]: 2018-05-15 16:02:54,239 INFO | Firmware updates complete
May 15 16:02:56 86b0e96-86b0e96 trident-update[165]: 2018-05-15 16:02:56,240 INFO | Waiting for MCU status updates...
May 15 16:02:56 86b0e96-86b0e96 trident-update[165]: 2018-05-15 16:02:56,741 INFO | Version matched: star_esc
May 15 16:02:56 86b0e96-86b0e96 trident-update[165]: 2018-05-15 16:02:56,741 INFO | Version matched: samd21
May 15 16:02:57 86b0e96-86b0e96 trident-update[165]: 2018-05-15 16:02:57,243 INFO | Version matched: port_esc
May 15 16:02:57 86b0e96-86b0e96 trident-update[165]: 2018-05-15 16:02:57,744 INFO | Version matched: vert_esc
May 15 16:02:57 86b0e96-86b0e96 trident-update[165]: 2018-05-15 16:02:57,745 INFO | Health Check complete.
May 15 16:02:57 86b0e96-86b0e96 trident-update[165]: 2018-05-15 16:02:57,745 INFO | No actions required!
May 15 16:02:57 86b0e96-86b0e96 trident-update[165]: 2018-05-15 16:02:57,745 INFO | Ready to receive commands
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment