ST Link V2, SWO speed weirdness
Posted on February 13, 2014 at 05:38I have a bit of code to output some debug using SWOvoid swo_init(){ uint32_t SWOSpeed = SWO_SPEED; uint32_t SWOPrescaler = (SystemCoreClock / SWOSpeed) - 1; // SWOSpeed in Hz CoreDebug->DEMCR = CoreDebug_DEMCR_TRC...