i2c dma eeprom read data the same value
if(strstr(RX_buf, "ux")) { //stop_flag = 0; printf("***csv data begin\n"); sEE_WriteBuffer((uint8_t *)&write_data, 0x00, 2); ...
if(strstr(RX_buf, "ux")) { //stop_flag = 0; printf("***csv data begin\n"); sEE_WriteBuffer((uint8_t *)&write_data, 0x00, 2); ...
I cannot get debugging working through the STM32CubeIDE. I can program the device using the OpenOCD debugger (but stepping through the code gives an error). However, I want to use the ST-LINK GDB server as the debugger, which does not work. I receive...
I am having a tough time getting a valid temperature reading from my STM32L051K8U6 MCU. This should be an easy task. I've spent a LOT of time Googling and believe I have everything setup correctly. Most of the sample code online is identical, but it ...
I'm trying to allocate 768KB For the Flash for the user program. at address 0x08000000And also save constant data starting from address 0x08100000 consuming 1024 K bytesNow from my understanding I should have free space for example sector 10,11.I'm t...
Posted on December 01, 2017 at 21:45I recently generated code for a project using STM32CubeMX which used mixed LL and HAL drivers (HAL only for USB). At the beginning of main the generated code calls HAL_Init, which is all well and good, but then la...
Hi,I am using KEIL to program PA5 pin which is connected to the user LED. But after writing the program, I am unable to get the LED on. It is a simple program but I am not sure, why it is not working. Any help will be appreciated. #include "stm32l0xx...
HiI want to read hex file of a STM32F072C8T6 which is installed in a PCB, the board has micro USB port I could connect it and the driver came to device manager it updated with internet automatically, but I need a software to read the hex file then wr...
I've configured GPIO for trace , enabled trace in MCUDEBUG and coredebug registers and enabled ETM and started it.when I view the trace pins in a logic analyser.. there seems to be no activity on the trace pins. If you have example code for ETM trac...