Skip to content

Not able to load ont on NUCLEON-H743ZI2 #5

@doozMen

Description

@doozMen

Thanks for the good explanation and setup. I managed to get a board NUCLEO-H743ZI2 like described in the readme.

My toolchain is set to

xcrun -f swift
/Users/stijnwillems/Library/Developer/Toolchains/swift-LOCAL-2020-02-15-a.xctoolchain/usr/bin/swift

When I try to run openocd it fails

openocd -f board/st_nucleo_f4.cfg
Open On-Chip Debugger 0.10.0
Licensed under GNU GPL v2
For bug reports, read
	http://openocd.org/doc/doxygen/bugs.html
Info : The selected transport took over low-level target control. The results might differ compared to plain JTAG/SWD
adapter speed: 2000 kHz
adapter_nsrst_delay: 100
none separate
srst_only separate srst_nogate srst_open_drain connect_deassert_srst
Info : Unable to match requested speed 2000 kHz, using 1800 kHz
Info : Unable to match requested speed 2000 kHz, using 1800 kHz
Info : clock speed 1800 kHz
Error: open failed
in procedure 'init'
in procedure 'ocd_bouncer'

But as my knowledge is not big on the openocd part I got opened a new therminal and tride to load the builded blinky in to the

xcrun arm-none-eabi-gdb .build/debug/Blinky -ex 'tar ext :3333' -ex 'load'

GNU gdb (GNU Tools for Arm Embedded Processors 8-2019-q1-update) 8.2.50.20181213-git
Copyright (C) 2018 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "--host=x86_64-apple-darwin10 --target=arm-none-eabi".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from .build/debug/Blinky...

warning: Section .debug_names in /Users/stijnwillems/Developer/OpenSource/swift-embedded/examples/Blinky/.build/thumbv7m-unknown-none-eabi/debug/Blinky length 368 does not match section length 33060, ignoring .debug_names.

warning: Could not find DWO CU /Users/stijnwillems/Developer/OpenSource/swift-embedded/examples/Blinky/.build/thumbv7m-unknown-none-eabi/debug/ModuleCache/BDVD4G0YREPI/HardwareExt-27Z9BOINAXY0Z.pcm(0xf4d17d3941b52b0c) referenced by CU at offset 0x7539 [in module /Users/stijnwillems/Developer/OpenSource/swift-embedded/examples/Blinky/.build/thumbv7m-unknown-none-eabi/debug/Blinky]

So unfortunatly I am somewhat stuck now. Could you point me in a direction to look for a solution?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions