Comments (7)
Thank you, I will test your advised method. It is a different IDE, but we can change to a new IDE if it allows for debugging. I will report back after we test.
from opencm9.04.
Hello,
The Visual Micro Admin is correct. VM does work with debugging on the OpenCM9.04. I got it working tonight. For anyone else who finds this thread looking to also use VM with the OpenCM9.04 you can see the thread here:
https://www.visualmicro.com/forums/YaBB.pl?num=1538797491/0#12
from opencm9.04.
I wanted to also leave a note that you can use the dual serial port feature so that you can debug on Serial2 while a separate program is communicating through the main SerialUSB. The guide for it is here:
https://www.visualmicro.com/page/User-Guide.aspx?doc=Debugging-With-Different-Ports.html
from opencm9.04.
Hi, @mtrossen
Visual Micro's debugging method is using a serial device. For the ARM core, DAPLink using CMSIS-DAP must be supported, but unfortunately, OpenCM 9.04 does not.
Therefore, it seems that there is no way to use Visual Micro at this time.
OpenCM supports only ST's debugging method.
How to debug stm32 chips in VS(not Visual Micro) is like this link.
from opencm9.04.
Hi @OpusK
Thank you for the reply. I will look into this solution you have suggested.
I have a few questions:
-
We are developing front end software to communicate with our firmware on the OpenCM9.04 over USB serial on windows PC. Would your suggested solution allow for debugging at the same time as another software is communicating with the board on USB serial? Or could it be set up to use two different serial ports like in Visual Micro?
-
Is the difference because Visual Micro is for ARM chips and the OpenCM9.04 is using different chips?
Thank you for your help!
from opencm9.04.
-
At present, there is no official solution.
However, I think using EclipseIDE(please refer to Sloeber for Arduino) is enough. Or it seems to be possible in the way I linked above. (Debug with ST-Link, check data with USB) -
OpenCM 9.04 also uses ARM core. The difference is that OpenCM 9.04 does not support DAPLink.
To support this, a separate MCU must be connected, which is not possible because it means OpenCM9.04 hardware change.
from opencm9.04.
Visual Micro uses serial debug but sometimes needs to know the underlying class of the Serial or a.n.o debug object. In this case adding a board.txt to your project with the following setting will solve the "Debug" build issue.
vm.debug.class_type=VM_DEBUGGER_TYPE_USARTSERIAL
If you need further assistance please continue the thread here
Thanks for the post and all the comments
from opencm9.04.
Related Issues (20)
- br410 uart over ble profile code HOT 2
- Are they a set? OpenCM9.04 Release 1.5.0 and OpenCM9.04 Firmware ver 23. HOT 2
- OpenCM 9.04 model for circuit design programs HOT 6
- Will Wire.h be implemented in hardware? HOT 3
- How to modifying the PWM frequency on the OpenCM9.04 ? HOT 2
- Cant't make OpenCM communicate with sensors via I2C HOT 2
- stdint.h not found error on compile for OpenCM
- ros2 micro-ros support
- Arduino IDE Board Manager cannot install OpenCM board HOT 2
- Arduino IDE - Uploading error: exit status 0xc0000135 HOT 2
- Support all of the Arduino installs - Now including ARM64 HOT 1
- Serial Port problems with <ros.h> on arduino IDE HOT 5
- Conflict with wire.h HOT 1
- Issues about sync read and its examples HOT 2
- Problem with example "n_Bulk_read_write" (groupBulkWrite addparam failed) HOT 7
- [OpenCM904 Not Detected UART Flash Loader] HOT 3
- [3.7.21][C++][USB2Dynamixel][XM540-W150-R] Issue: Writing and reading negative value of the current HOT 1
- Bootloader source HOT 1
- openCM904C Serial/UART Not working HOT 8
- Can't connect to MCU with ST-LINK/V2 and ST-LINK Utility HOT 3
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 opencm9.04.