Git Product home page Git Product logo

Comments (4)

rogerclarkmelbourne avatar rogerclarkmelbourne commented on August 24, 2024

What S/W do you normally use to upload to using RLink?

Also, have you looked at the Black Magic Probe option in the upload menu?

This uses GDB to do the upload, and I thought that OpenOCD was compatible with GDB, however I've not used Black Magic probe (which is now open source hardware)

I think your best option is to register on stm32duino.com and PM Rick Kimball, as he did all the work on the GDB / Black Magic Probe upload and he can probably tell you how to get it working with OpenOCD

from arduino_stm32.

lloyd-g avatar lloyd-g commented on August 24, 2024

have used OPENOCD on Ubuntu for RLINK. I had to write a new cfg script. works well with pain STM32 code but everything gets long winded. I what to write quick code with USB serial debugging like the Arduino.
I can use that if the IDE would just output an elf or Hex file?
and then run my bash script.

from arduino_stm32.

rogerclarkmelbourne avatar rogerclarkmelbourne commented on August 24, 2024

Yes,

You can just use the binary file.
If yiu turn on verbose in the preferences, you will see where the IDE puts the binary.

However it would be really easy for you to modify one of the existing scripts e.g the stlink upload script to use your hardware instead.

if you look in tools/linux you will see a load of scripts including serial upload and stlink upload

e.g.

https://github.com/rogerclarkmelbourne/Arduino_STM32/blob/master/tools/linux/stlink_upload

see line 31 where it calls st-flash to perform the upload

just edit that line and replace with the command to use your programmer

selecting the stlink upload option gives you USB serial. if you dont want this, use serial upload and modify that script instead

from arduino_stm32.

rogerclarkmelbourne avatar rogerclarkmelbourne commented on August 24, 2024

Closed due to lack of response

from arduino_stm32.

Related Issues (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.