Posted on May 17, 2011 at 13:33When you declare a struct as packed, you're removing all alignment requirements associated with it. So any function operating on (a pointer to) a packed struct must either select between different access paths at runti...
Posted on May 17, 2011 at 13:33Yeah, I know, it's crazy! It makes my eyes bleed. I've complained about some of the things you mention, but I doubt it will ever get much attention. Maybe that's for the better, since sooner or later, someone will be f...
Posted on May 17, 2011 at 13:22I guess you would see problems like this if the ULINK-Me was actively driving the nRST pin high. However I doubt it because that would be a serious design flaw. Your STM32's nRST pin itself might be broken of course.
Posted on May 17, 2011 at 13:19I remember reading something about a bug in the flash loader demonstrator. I don't remember the details, and I don't use it myself. Something about a ''remove all FFs'' option. Can you flash your bootloader with versio...
Posted on May 17, 2011 at 13:19Quote:But the Result is always nearly same, with the different CCR1 there should be a big difference. Why? It seems you have enabled the Update interrupt which will fire every 20 ms and apparently does so. You have no ...