Giter VIP home page Giter VIP logo

Comments (7)

mtrossen avatar mtrossen commented on August 17, 2024 1

@OpusK

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.

mtrossen avatar mtrossen commented on August 17, 2024 1

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.

mtrossen avatar mtrossen commented on August 17, 2024 1

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.

OpusK avatar OpusK commented on August 17, 2024

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.

mtrossen avatar mtrossen commented on August 17, 2024

Hi @OpusK

Thank you for the reply. I will look into this solution you have suggested.

I have a few questions:

  1. 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?

  2. 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.

OpusK avatar OpusK commented on August 17, 2024

@mtrossen,

  1. 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)

  2. 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.

VisualMicro avatar VisualMicro commented on August 17, 2024

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)

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.