Questions tagged [nucleo]

STM32 Nucleo boards are a line of STM32-based embedded development boards manufactured by ST Microelectronics.

228 questions
10
votes
3 answers

openocd **Error: libusb_open() failed with LIBUSB_ERROR_NOT_SUPPORTED**

I am trying to setup a eclipse development environment to work with stm32f303 nucleo 32 board. http://www.st.com/en/evaluation-tools/nucleo-f303k8.html So far, the all the tools seems to be correctly installed and working: I have succefully compiled…
Raph9023
  • 111
  • 1
  • 1
  • 5
5
votes
4 answers

Setting up SWV printf on a Nucleo STM32 board

I am developping a Firmware on various STM32L4 Nucleo boards with Atollic Truestudio IDE (basically Eclipse). Until now I was using printf through UART, thanks to the Virtual COM port. I want to migrate to printf using STM32 ITM. More precisely I…
Guillaume Petitjean
  • 2,408
  • 1
  • 21
  • 47
4
votes
1 answer

Unit testing on STM32

I am looking for advice on how to do unit testing on my STM32F7 platform. What have people done in the past? What horror stories do you have? What would you do differently? What is problematic with my current plan? My Setup STM32 Nucleo-144 with a…
mprat
  • 2,451
  • 15
  • 33
4
votes
2 answers

Break at address "0xXXXXXX" with no debug information available, or outside of program code

Configuration: Using Nucleo-L476RG. Using GNU ARM Eclipse. I have generated a minimalist code from STM32CubeMX. I have flashed J-link driver in my on board ST-Link. Have been trying to run debugger for my code but my program counter is not setting…
Abhishek Behera
  • 41
  • 1
  • 1
  • 5
3
votes
3 answers

Failing to receive data from UART in DMA mode

I am trying to receive 8 bytes from my pc on my NUCLEO F446RE stm32 board. Transmitting to the pc works. The problem is, I am unable to receive data using DMA. I saw an example with almost the same code and it has worked for the person. If I use the…
Knee Caps
  • 181
  • 2
  • 9
3
votes
1 answer

STM32 HAL Nucleo F446RE Quadrature Encoder

I have a problem with the quadrature encoder mode on timer TIM3 of my STM32F446RE / NUCLEO-F446RE: TIM3 counts on every rising edge on the first signal. The CNT register counts up and I read the value with 1 Hz and then I set the register to…
Max3579
  • 41
  • 4
3
votes
4 answers

Does STMicro wrongly interpret the term "shadow register"?

I use the STM32 family of microcontrollers, more specifically the STM32F7 series. Currently I'm investigating the use of general-purpose timers. About double buffered registers. Microcontrollers sometimes make use of double-buffered registers. In…
K.Mulier
  • 8,069
  • 15
  • 79
  • 141
2
votes
1 answer

No message showing up when trying to read Serial port from SMT32

I am using a NUCLEO-L4R5ZI-P board using the SMT32CubeIDE on Ubuntu 22.04. I've been working with a temperature sensor but I haven't figured out how to read the temperature data so currently I've just been trying to figure out if I can see "Hello…
2
votes
0 answers

STM32 Nucleo EEPROM Emulator ee_init issue

I am working on trying to get the EEPROM Emulator from stm32 working. I have followed the example given for a stm32 l47x board however I am still running into issues. When I call EE_init I end up running into a stack overflow. I am not too familiar…
malhin
  • 21
  • 1
2
votes
2 answers

stm32cubeide reports firmware package is missing

I have a STM32 Nucleo F4 and I am trying to create a new C project in STMCubeIDE. I have STMCubeIDE version 1.5.0 Build: 8698_20201117_1050 (UTC) In the Embedded Software Packages Manager I have installed "STM32Cube MCU Package for STM32F4 Series"…
DavidW
  • 353
  • 2
  • 10
2
votes
2 answers

STM32 USB CDC Rx Interrupt

I have implemented USB CDC (VCP) on STM32-F446re(Nucleo). I am using int8_t CDC_Receive_FS(uint8_t* Buf, uint32_t *Len) in loop to receive data. But lot of data is also being sent over, hence I want reception interrupt based. Can anyone help me…
Schrodinger95
  • 25
  • 1
  • 4
2
votes
1 answer

Baremetal Nucleo-F446RE Turn LED on

I am trying to turn on the Internal LED on my Nucleo-F446RE, but it the LED is always off. The plan is to set clock for GPIOA on, then set GPIOA_5 to output and then set it to high. Here are the files (C file, Linkerscript, Bashscript for…
MP13
  • 390
  • 3
  • 11
2
votes
2 answers

Is there a HAL library ISR function that automatically triggers when a byte is received into the Rx buffer of SPIx on STM32L4xx?

I am wondering if there is a user-definable, built-in ISR function in the HAL library that triggers as soon as a byte is received in the SPIx Rx buffer on STM32L4xx MCU? For instance, as a startup test, I would like to send one byte (0xBC) from a…
dm123
  • 21
  • 1
2
votes
3 answers

STM32 Timer Output compare not working proper

I am using STM32L476 Nucleo board and STM32CubeMX. I want to use Output Compare channel 1 for timeout of 2 ms. I have configured the timer, but the timer is not giving interrupts for Output Compare. I am getting interrupts for the period I gave to…
dev_eng
  • 126
  • 1
  • 12
2
votes
1 answer

How to flash NUCLEO F401RE with command line

I am looking for a command line tool for flashing my NUCLEO card in ubuntu. I want this tools for flash my NUCLEO remotely with node.js. I already try st-flash and stm32flash but these tools don't work properly. My programs are generated by mbed…
1
2 3
15 16