Seems that a not completely wrong clock configuration was the cause of trouble...
Right enough to get everything working somehow but wrong enough to cause the bespoke behaviour
seems I'm learning it the hard way
Search found 51 matches
- Tue Apr 09, 2024 9:35 am
- Forum: General discussion
- Topic: strange USART behaviour
- Replies: 6
- Views: 3844
- Mon Mar 25, 2024 1:56 pm
- Forum: General discussion
- Topic: strange USART behaviour
- Replies: 6
- Views: 3844
Re: strange USART behaviour
Hi fpiSTM,
quite sure, thats why I asked over there on the stm32duino github site
I use HardwareSerial StLinkSerial(PC_11_ALT1, PC_10_ALT1);
nevertheless, it also happens on UART4 on those same pins and on USART1 on PA_10 and PA_9
I will have a look at the errata-sheet of the device, thanks!
quite sure, thats why I asked over there on the stm32duino github site
I use HardwareSerial StLinkSerial(PC_11_ALT1, PC_10_ALT1);
nevertheless, it also happens on UART4 on those same pins and on USART1 on PA_10 and PA_9
I will have a look at the errata-sheet of the device, thanks!
- Mon Mar 25, 2024 9:32 am
- Forum: General discussion
- Topic: strange USART behaviour
- Replies: 6
- Views: 3844
strange USART behaviour
I have a custom board using STM32L4R5ZIT6-P generic Serial is redirected to USART3 using setTx() and setRx() functions The output is garbled, characters missing, wrong characters, ... When I activate USB CDC generic Serial and define a new HardwareSerial for USART3, the output is fine on both serial...
- Wed Mar 20, 2024 2:17 pm
- Forum: IDE's
- Topic: Arduino IDE 2 & Debug feature
- Replies: 45
- Views: 43507
Re: Arduino IDE 2 & Debug feature
I tried getting this to work with IDE 2.3.2 ans STM32core 2.7.1 but no success loading the .svd so far debugging itself works I added debug_custom.json to the sketch folder and had it pointing to the SVD folder of STM32CubeProgrammer As that did not work, I copied the svd to the sketch folder as wel...
- Wed Feb 28, 2024 2:31 pm
- Forum: IDE's
- Topic: sloeber/eclipse pre-build step make (e=5): Access is denied.
- Replies: 1
- Views: 1981
Re: sloeber/eclipse pre-build step make (e=5): Access is denied.
the script works on the command line, but not when called as a pre-build step from within sloeber
- Wed Feb 28, 2024 2:04 pm
- Forum: IDE's
- Topic: sloeber/eclipse pre-build step make (e=5): Access is denied.
- Replies: 1
- Views: 1981
sloeber/eclipse pre-build step make (e=5): Access is denied.
Hi, I have a little batch script I execute before building that fetches a git commit-hash to be added as constexpr to the source code. This works fine for AVR targets, but when I try to use the very sam batch file for STM32 I get an error C:\Users\USER\Documents\PROJECT\fetchCommitHash.bat process_b...
- Thu Feb 23, 2023 1:13 pm
- Forum: Custom design boards
- Topic: enabling LSE and no crystal present
- Replies: 2
- Views: 6755
enabling LSE and no crystal present
Hi, I created a custom board design (for L412KB) and erratically selected the Nucleo-L412 as a board instead of generic L412 and wondered why the board did not come up on reset. Flashing firmware works fine, either by ST-Link or USB-DFU so _something_ must be right... But no output on IOs or Serial ...
- Tue Jan 24, 2023 2:08 pm
- Forum: General discussion
- Topic: openocd failed to connect to target
- Replies: 0
- Views: 1806
openocd failed to connect to target
I am trying to debug a Nucleo-L4R5 in sloeber/eclipse I had it working a while ago, but now I get the following error output xPack OpenOCD x86_64 Open On-Chip Debugger 0.11.0+dev (2022-03-25-17:32) Licensed under GNU GPL v2 For bug reports, read http://openocd.org/doc/doxygen/bugs.html Info : auto-s...
- Thu Dec 15, 2022 11:08 am
- Forum: General discussion
- Topic: Modify USB DFU upload method
- Replies: 2
- Views: 595
Re: Modify USB DFU upload method
Thanks, lots to read and understand there...
will have to find out how I can make use of the proposed change until they are implemented in the regular version
will have to find out how I can make use of the proposed change until they are implemented in the regular version
- Tue Dec 13, 2022 9:41 am
- Forum: General discussion
- Topic: Modify USB DFU upload method
- Replies: 2
- Views: 595
Modify USB DFU upload method
Hi all, I am developing a L4R5 custom board and want to use the DFU upload method. To avoid physical access to the board for the update procedure, I would like to do a soft reset to enter in bootmode. This is achieved by issuing a command via serial port (USB CDC is used) which starts a subroutine t...