How to recover Atmel SAMV71 Xplained board


Ramakrishna Pallala <ramakrishna.pallala@...>
 

Hi All,

 

I am getting following error while flashing SAMV71(E70) and board does not boot. Tried setting J200 (erase) jumber but no use L

 

warning: --zephyr-base missing and no ZEPHYR_BASE in the environment

Using runner: openocd

Open On-Chip Debugger 0.10.0-g7852ae77-dirty (2018-05-11-23:26)

Licensed under GNU GPL v2

For bug reports, read

        http://openocd.org/doc/doxygen/bugs.html

adapter speed: 1800 kHz

cortex_m reset_config sysresetreq

Info : flash bank command

srst_only separate srst_gates_jtag srst_open_drain connect_deassert_srst

Info : CMSIS-DAP: SWD  Supported

Info : CMSIS-DAP: Interface Initialised (SWD)

Info : CMSIS-DAP: FW Version = 02.10.017E

Info : SWCLK/TCK = 1 SWDIO/TMS = 1 TDI = 1 TDO = 1 nTRST = 0 nRESET = 1

Info : CMSIS-DAP: Interface ready

Info : clock speed 1800 kHz

in procedure 'init'

in procedure 'ocd_bouncer'

 

error: command exited with status 1: /home/rpallala/zephyr-sdk/sysroots/x86_64-pokysdk-linux/usr/bin/openocd -s /home/rpallala/zephyr-sdk/sysroots/x86_64-pokysdk-linux/usr/share/openocd/scripts -f /home/rpallala/ssg-otc/Zephyr/zephyr-pm/21st-June/zephyr/boards/arm/sam_e70_xplained/support/openocd.cfg -c init -c targets -c 'reset halt' -c 'flash write_image erase /home/rpallala/ssg-otc/Zephyr/zephyr-pm/21st-June/zephyr/samples/boards/same70/power_mgr/build/zephyr/zephyr.bin 0x400000' -c 'reset halt' -c 'verify_image /home/rpallala/ssg-otc/Zephyr/zephyr-pm/21st-June/zephyr/samples/boards/same70/power_mgr/build/zephyr/zephyr.bin 0x400000' -c 'atsamv gpnvm set 1' -c 'reset run' -c shutdown

run as "west -v ... flash ..." for a stack trace

[100%] Built target flash

 

 

How to recover the board from this?

 

Thanks,

Ram


Ramakrishna Pallala <ramakrishna.pallala@...>
 

Hi All, Any inputs on this issue?

 

From: devel@... [mailto:devel@...] On Behalf Of Ramakrishna Pallala
Sent: Wednesday, July 4, 2018 2:35 PM
To: zephyr-devel@...
Subject: [Zephyr-devel] How to recover Atmel SAMV71 Xplained board

 

Hi All,

 

I am getting following error while flashing SAMV71(E70) and board does not boot. Tried setting J200 (erase) jumber but no use L

 

warning: --zephyr-base missing and no ZEPHYR_BASE in the environment

Using runner: openocd

Open On-Chip Debugger 0.10.0-g7852ae77-dirty (2018-05-11-23:26)

Licensed under GNU GPL v2

For bug reports, read

        http://openocd.org/doc/doxygen/bugs.html

adapter speed: 1800 kHz

cortex_m reset_config sysresetreq

Info : flash bank command

srst_only separate srst_gates_jtag srst_open_drain connect_deassert_srst

Info : CMSIS-DAP: SWD  Supported

Info : CMSIS-DAP: Interface Initialised (SWD)

Info : CMSIS-DAP: FW Version = 02.10.017E

Info : SWCLK/TCK = 1 SWDIO/TMS = 1 TDI = 1 TDO = 1 nTRST = 0 nRESET = 1

Info : CMSIS-DAP: Interface ready

Info : clock speed 1800 kHz

in procedure 'init'

in procedure 'ocd_bouncer'

 

error: command exited with status 1: /home/rpallala/zephyr-sdk/sysroots/x86_64-pokysdk-linux/usr/bin/openocd -s /home/rpallala/zephyr-sdk/sysroots/x86_64-pokysdk-linux/usr/share/openocd/scripts -f /home/rpallala/ssg-otc/Zephyr/zephyr-pm/21st-June/zephyr/boards/arm/sam_e70_xplained/support/openocd.cfg -c init -c targets -c 'reset halt' -c 'flash write_image erase /home/rpallala/ssg-otc/Zephyr/zephyr-pm/21st-June/zephyr/samples/boards/same70/power_mgr/build/zephyr/zephyr.bin 0x400000' -c 'reset halt' -c 'verify_image /home/rpallala/ssg-otc/Zephyr/zephyr-pm/21st-June/zephyr/samples/boards/same70/power_mgr/build/zephyr/zephyr.bin 0x400000' -c 'atsamv gpnvm set 1' -c 'reset run' -c shutdown

run as "west -v ... flash ..." for a stack trace

[100%] Built target flash

 

 

How to recover the board from this?

 

Thanks,

Ram