Code Monkey home page Code Monkey logo

fdcanusb's People

Contributors

jpieper avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

fdcanusb's Issues

build error

Hi Josh,
Would you know how to fix this build errs?

Thanks

~/github/mjbots/fdcanusb$ ./tools/bazel build //fw:fdcanusb.bin
Downloading bazel 5.4.1 from https://github.com/bazelbuild/bazel/releases/download/5.4.1/bazel-5.4.1-linux-x86_64
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- 0:00:32 --:--:-- 0
100 49.4M 100 49.4M 0 0 45333 0 0:19:03 0:19:03 --:--:-- 1738k
Traceback (most recent call last):
File "./tools/bazel", line 108, in
main()
File "./tools/bazel", line 101, in main
download_bazel(bazel_bin_loc)
File "./tools/bazel", line 88, in download_bazel
raise RuntimeError(
RuntimeError: bazel sha256 does not match, expected e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 got 5d90515f84b5ee1fd6ec22ee9e83103e77ed1a907ee5eec198fef3a5b45abf13

Please, check if everything needed for flash is not ignored in .git

`$ ./flash.sh

Open On-Chip Debugger 0.10.0

Licensed under GNU GPL v2

For bug reports, read
http://openocd.org/doc/doxygen/bugs.html

embedded:startup.tcl:60: Error: Can't find interface/stlink.cfg
in procedure 'script'

at file "embedded:startup.tcl", line 60
`

after download the stlink.cfg:

`$ ./flash.sh

Open On-Chip Debugger 0.10.0

Licensed under GNU GPL v2

For bug reports, read
http://openocd.org/doc/doxygen/bugs.html

interface/stlink.cfg:8: Error: invalid command name "adapter"

in procedure 'script'

at file "embedded:startup.tcl", line 60

at file "interface/stlink.cfg", line 8`

after download proper stlink-v2.cfg:

`$ ./flash.sh

Open On-Chip Debugger 0.10.0

Licensed under GNU GPL v2

For bug reports, read
http://openocd.org/doc/doxygen/bugs.html

embedded:startup.tcl:60: Error: Can't find target/stm32g4x.cfg

in procedure 'script'

at file "embedded:startup.tcl", line 60
`

after download stm32g4x.cfg

`$ ./flash.sh

Open On-Chip Debugger 0.10.0

Licensed under GNU GPL v2

For bug reports, read
http://openocd.org/doc/doxygen/bugs.html

Info : auto-selecting first available session transport "hla_swd". To override use 'transport select '.

target/stm32g4x.cfg:33: Error: invalid command name "dap"

in procedure 'script'

at file "embedded:startup.tcl", line 60

at file "target/stm32g4x.cfg", line 33
`

too much. Decided to flash via st-flash, but now figuring out if I should start flash from start of the memory, or need some alignments.

PS: before that whole build was almost smoothly. Unmet dependencies are: sudo apt install curl openocd
PPS: I was also surprised by not existing curl in Ubuntu 20

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.