Comments (4)
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.
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.
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.
Closed due to lack of response
from arduino_stm32.
Related Issues (20)
- PIN_MAP and boardPWMpins tables mismatch HOT 1
- Arduino IDE "Access Denied" on Uploading Sketch HOT 3
- Can't connect to target after flashing generic_boot20_pc13.bin using j-flash HOT 1
- Software reset HOT 1
- How to change default 42/72/128 MHz to 8/16Mhz HOT 2
- Add CH32F103 HOT 2
- Compilation error Problem with sketch that used library Arduino_STM32 HOT 1
- dfu upload failed on macOS + PlatformIO because cannot reset upload port HOT 5
- Writing String to EEPROM HOT 3
- EEPROM donot work on STM32F103C6(32k)
- ‘MCU basic current’ increases after PWM operation. help me. HOT 25
- Wire.h and Wire slave.h using in same program not working HOT 2
- Is 'STM32F103C8' 'digitalWrite' and 'digitalRead' possible in FAST mode? HOT 10
- Is any type a persistent storage available for STM32F4 ?
- Solution to use PB3 for things other than JTAG (Proposal for documentation note) HOT 2
- Not able to uploaded the code for NUCLEO-F103R HOT 2
- change clock soure HOT 5
- Unable to upload program when using STM32duino BootLoader HOT 4
- CAN bus stalls USB HOT 1
- Ports missing HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from arduino_stm32.