Skip to content

driver_my9221 prevents further flashing of nucleo-l073rz #10341

@MrKevinWeiss

Description

@MrKevinWeiss

Description

When running the compile_and_test_for_board script the driver_my9221 test gets flashed on the nucleo-l073rz and as a result all further attempts to flash and reset are prevented. This can be fixed by manually holding down the reset pin just before flashing. Once flashed with working firmware after the manual reset button press it appears to be able to flash like normal again.

Steps to reproduce the issue

BOARD=nucleo-l073rz make flash -C tests/driver_my9221
BOARD=nucleo-l073rz make flash -C examples/hello-world

Expected results

hello-world can flash

Actual results

in procedure 'init' 
in procedure 'ocd_bouncer'

~/RIOT/tests/driver_my9221/../../Makefile.include:517: recipe for target 'flash' failed
make: *** [flash] Error 1

Versions

Operating System Environment
-----------------------------
       Operating System: "Ubuntu" "16.04.5 LTS (Xenial Xerus)"
                 Kernel: Linux 4.15.0-38-generic x86_64 x86_64

Installed compiler toolchains
-----------------------------
             native gcc: gcc (Ubuntu 5.4.0-6ubuntu1~16.04.10) 5.4.0 20160609
      arm-none-eabi-gcc: arm-none-eabi-gcc (GNU Tools for Arm Embedded Processors 7-2017-q4-major) 7.2.1 20170904 (release) [ARM/embedded-7-branch revision 255204]
                avr-gcc: avr-gcc (GCC) 4.9.2
       mips-mti-elf-gcc: missing
             msp430-gcc: missing
   riscv-none-embed-gcc: missing
                  clang: clang version 5.0.0-3~16.04.1 (tags/RELEASE_500/final)

Installed compiler libs
-----------------------
   arm-none-eabi-newlib: "2.5.0"
    mips-mti-elf-newlib: missing
riscv-none-embed-newlib: missing
               avr-libc: "1.8.0svn" ("20111229")

Installed development tools
---------------------------
                  cmake: cmake version 3.12.3
               cppcheck: missing
                doxygen: missing
                 flake8: 3.5.0 (mccabe: 0.6.1, pycodestyle: 2.3.1, pyflakes: 1.6.0) CPython 3.5.2 on Linux
                    git: git version 2.7.4
                openocd: Open On-Chip Debugger 0.10.0+dev-00399-g09076d1 (2018-04-12-17:12)
                 python: Python 2.7.12
                python2: Python 2.7.12
                python3: Python 3.5.2
             coccinelle: missing

Metadata

Metadata

Assignees

Labels

Area: testsArea: tests and testing frameworkType: bugThe issue reports a bug / The PR fixes a bug (including spelling errors)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions