Posted on May 17, 2011 at 12:40an expression like unsigned int i; i--; is compiled as LDR SUBS STR is there any sort of INC / DEC command to do this in one instruction on the ARM like on other processors? matt
Posted on May 17, 2011 at 12:40I finally got it to work, it is quite tricky because of the 32-bit offsets but you can make your own reprogramming that way! matt
Posted on May 17, 2011 at 12:40Hi, I have the STM32F103 with 128 KByte flash. I have downloaded a new firmware binary data at flash address 0x8010000, while my program is still running at 0x8000000. Now I want to copy the program from 0x8010000 to 0...
Posted on May 17, 2011 at 12:39OK, UART problem is the same from the other thread (tx irq constantly triggering when no data available. Now to the timer: I just want a delay function using timer 1 (without interrupt), can't be that hard, right? I pr...
Posted on May 17, 2011 at 12:39You are right, it is code from a different controller where no optimization is used, if I declare volatile or disable optimization the compiler works. Still the timer and UART does not work yet, no idea what is wrong w...