Search found 51 matches
- Thu Dec 01, 2022 6:33 am
- Forum: General discussion
- Topic: can USB be used to create a virtual com port?
- Replies: 33
- Views: 8511
Re: can USB be used to create a virtual com port?
It is a quickly written test for playing with optocouplers I added a bit to test different Serials/UARTs done in sloeber, thats why there is the first include satement // Do not remove the include below #include "Test_L4R5.h" long unsigned int currentmillis = 0; long unsigned int pastmilli...
- Thu Dec 01, 2022 6:02 am
- Forum: General discussion
- Topic: can USB be used to create a virtual com port?
- Replies: 33
- Views: 8511
Re: can USB be used to create a virtual com port?
But why do I get no output on Serial / LPUART1 as soon as CDC / SerialUSB is activated?
- Thu Dec 01, 2022 5:46 am
- Forum: General discussion
- Topic: can USB be used to create a virtual com port?
- Replies: 33
- Views: 8511
Re: can USB be used to create a virtual com port?
which board? Nucleo-L4R5ZI which error? c:/sloeber/arduinoplugin/packages/stmicroelectronics/tools/xpack-arm-none-eabi-gcc/10.3.1-2.3/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld.exe: C:\Users\xXxXxXxXx\Test_L4R5\Release/arduino.ar(HardwareSerial.cpp.o):(.bss.SerialLP1+0x0): ...
- Wed Nov 30, 2022 3:00 pm
- Forum: General discussion
- Topic: can USB be used to create a virtual com port?
- Replies: 33
- Views: 8511
Re: can USB be used to create a virtual com port?
I have to come back to this... default HW Serial is LPUART1 on some STM32Lxxx Nucleos when I enable CDC Serial supersedes U(S)ART, I get Serial output from generic Serial on the USB VCP When I try to output something over LPUART1 using SerialLP1.print(), I get no output trying to define Hardwareseri...
- Wed Aug 24, 2022 5:22 am
- Forum: General discussion
- Topic: debugger not stopping at breakpoint, but 2 lines later
- Replies: 4
- Views: 928
- Tue Aug 23, 2022 1:09 pm
- Forum: General discussion
- Topic: debugger not stopping at breakpoint, but 2 lines later
- Replies: 4
- Views: 928
Re: debugger not stopping at breakpoint, but 2 lines later
I had -Og (debug), but changing it to O0 makes the debugger halt on point
Thank you very much !!
Does this mean that with -Og, there is still some optimization going on, that is deemed safe, but nonetheless interferes with the debugger?
Thank you very much !!
Does this mean that with -Og, there is still some optimization going on, that is deemed safe, but nonetheless interferes with the debugger?
- Tue Aug 23, 2022 12:25 pm
- Forum: General discussion
- Topic: debugger not stopping at breakpoint, but 2 lines later
- Replies: 4
- Views: 928
debugger not stopping at breakpoint, but 2 lines later
After I got debugging to work, I now sometimes have the issue that the program does not halt at the exact position I set a breakpoint, but one or two lines later. Since I am fairly new to debugging the stm32(duino), I am not sure what can cause this behaviour. I have a slightly modified Arduino Web ...
- Tue Aug 23, 2022 10:34 am
- Forum: General discussion
- Topic: Debugging with eclipse/sloeber
- Replies: 10
- Views: 2730
Re: Debugging with eclipse/sloeber
I have no idea why, but now it works without the changes that Juraj proposed. Of course it also works with the addition of said lines to the boards.txt But you have to be cautious with newer versions of sloeber. Jantje (creator and maintainer of sloeber) introduced a boards.sloeber.txt which essenti...
- Fri Aug 19, 2022 1:38 pm
- Forum: General discussion
- Topic: Debugging with eclipse/sloeber
- Replies: 10
- Views: 2730
Re: Debugging with eclipse/sloeber
I found it - must have had tomatoes on my eyes...
It is readily available in the sloeber project config menu
shame on me!
but alas, the problem remains :/
It is readily available in the sloeber project config menu
shame on me!
but alas, the problem remains :/
- Fri Aug 19, 2022 11:34 am
- Forum: General discussion
- Topic: Debugging with eclipse/sloeber
- Replies: 10
- Views: 2730
Re: Debugging with eclipse/sloeber
and thanks for the links!
the github smt32duino, I knew already. That is the instructions I followed - with one little difference: I had eclipse/sloeber package already installed
the github smt32duino, I knew already. That is the instructions I followed - with one little difference: I had eclipse/sloeber package already installed