MCU: STM32L071cz Application : MDK-ARM essentials version 5.35 when I try to build large project. The "Build Output" window freezes at a random point in the build. uVision is still responsive but I can't stop the build or quit uVision. The only way o...
UNEXPECTED ID code?, the discovery board is original.the onboard stlink is updated to latest version.If i google this Error, i get people trying to flash ST clone mcus, but mine is original. This is my openocd.cfg file:source [find interface/stlink.c...
I have a custom board with an STM32H7A3ZIT6Q. It has the MT25TL256 NOR flash connected to the pins of OCTOSPI1.I'm trying to write a flashloader/driver.In our application we do not need to execute code from this flash. We only need it for data. But i...
Hello, I have tried to interface object sensor and all works well the object sensor led works perfectly when the range is close and far( LED is off when the path is blocked and vice versa). But I'm just getting stagnant ADC Values, it's stuck at 4095...
Hi everyone.I have next problem. I trying to use CAN filter option, sometimes i need to configure them on fly. First basic filter its standard filter: /*CAN*/ canfil.FilterBank = 0; canfil.FilterMode = CAN_FILTERMODE_IDMASK; canfil.FilterFIFOAssignme...
So I'm trying to gain greater understanding on the STM32 tools on a project that I've inherited. I'm noticing that there are weak variables that are of global scope to a given file that are defined in multiple files such as follows:main.c:int g;other...
From the datasheet from the slave device: "First the host must write a command to the slave device. Then it must follow that command with a repeated start condition to denote a read from that device's address. The slave then returns two bytes of data...
Hi, i've been building self balancing robot, so i needed quite lot of periphelias to be working together, they are: I2C, EXTI's, two Timers in encoder mode, Timer in PWM generation mode and GPIO outputs.I'm using STM32CubeIDE 1.9.0., and STM32L432KC ...
I want to insert the string my_data_SRAM in the base address of the FLASH. I wrote this code and tried 2 ways:1) *((uint8_t *)BASE_ADDRESS_FLASH+i) = my_data_RAM[i];2) HAL_FLASH_Program(TYPEPROGRAM_WORD, (uint32_t *)(BASE_ADDRESS_FLASH+i), my_data_RA...