Posted on June 02, 2018 at 16:23 Hi all, I am working with a discovery board having STM32L476 on board. I am trying to retarget 'printf()' using ITM port 0 but having difficulties in making it work. This is what I have done till now: a) There...
Posted on June 06, 2018 at 11:39 I reckon I have eventually found the issue, it's because the revision of the board you are using and the one I have are different. Note the revision changes above. What's more peculiar is PB3 is connected (or c...
Posted on June 05, 2018 at 18:09Thank you very much! But I am getting same error in both the cases which I was getting earlier. I am a bit surprised especially with the first code you have sent, it isn't doing any work other than printing. Apart fr...
Posted on June 05, 2018 at 10:54I cross-checked everything, i.e. clocks (all required clocks are enabled and set to correct values) and debug registers (checked if I am modifying their values but I am actually not even mentioning them anywhere in m...
Posted on June 03, 2018 at 17:37I am not using SWD pins or PB3 pin in my code, not using low power mode too. Checked the core clock using MCO signal on the Oscilloscope, frequency is correctly set 8 MHz.I am using uV5, I am using target options dial...