Posted on November 15, 2017 at 11:09Hello After I face some fitting to flash problem I saw my largest function is HAL_RCC_OscConfig.I thouht a function that writes static variables to registers should be smaller. Am I doing something wrong or is the...
Posted on February 15, 2017 at 11:48Hello;I am trying to add timeout to my USART reception.I am using USART1 interrupt to start a timer (a sofware timer using system timer). disable interrupt and after time out i should get the data (data packet is ...
Posted on December 19, 2016 at 16:05Hello;I am trying to implement FreeRTOS 9.0.0 and lwip2.0.0 with HAL library and GCCFor easiness I generated FreeRTOS code with STM32CubeMX and replaced FreeRTOS to 9.0.0 and then added LWIP. I can ping my device ...
Posted on September 13, 2015 at 23:14Hello I am trying to figure out DMA and write buffer for incoming TCP data to send over USART I was thinking about using circular DMA (for USART TX) and add data to buffer. When new data arrives stop DMA and add...
Posted on August 31, 2015 at 11:04
Hello
I am trying to save my settings into flash. I use a struct that storing settings, then put a pointer begining of it and store all the bytes into flash along the size of that struct. But it seems struc...
Posted on November 15, 2017 at 14:11I enabled 'place the function in their own section 'and 'place the data in their own section ' and it make some difference in code size.If I face flash overlow again I think I am gonna write my own clock setup cod...
Posted on September 01, 2015 at 12:14
Thank you
I learnt Adding pointer 1 means size of that pointer so that applies
network_settings+sizeof(network_settings) line too. So i was adding square of the size
Changing code like th...
Posted on August 31, 2015 at 23:17Debug process didn't go as i expected. Software runs a little before debug process begins so Flash addresses already written when i was trying to debug. except the first struct and heade r other struct values are wr...
Posted on August 31, 2015 at 15:15
Thanks for the reply
Yes i ignored the errors. Because i wanted to see the code work quickly and i don't know why it goes error while reading flash i mean i shouldn't see error while internal operation (unl...