)]}'
{"/PATCHSET_LEVEL":[{"author":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"change_message_id":"20eb9ac104935dff378d6c6c07b52cb083a7ed51","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":1,"id":"99b53403_0701a2e7","updated":"2023-08-16 13:40:37.000000000","message":"Checked with STLINK guys.\nOn STLINK-v2 the USART1 is clocked at 36 MHz so the max for SWO is 2.25 Mbps.\nThanks!","commit_id":"2555e770331fedf6b149c9ac81c587832bd184ec"},{"author":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"change_message_id":"0f41e82ecdb2dc63b37fc82c4b8f239b513dbfc6","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":1,"id":"79746a6c_aa21b9f5","updated":"2023-08-04 10:43:03.000000000","message":"Interesting...\nHave you tried to set higher speed in GPIOx_OSPEEDR register to the GPIO used for the SWO pin?\nI\u0027m not sure it impacts SWO mode, but would be interesting to check if you can get 4.5 Mbps as claimed by BMP (if also the target\u0027s SWO can run so fast).","commit_id":"2555e770331fedf6b149c9ac81c587832bd184ec"},{"author":{"_account_id":1002107,"name":"Marcin Niestroj","email":"m.niestroj@emb.dev","username":"mniestroj"},"change_message_id":"55509ce70e6c11ec868262bed548636dead9236e","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":1,"id":"123b7770_5d8f75a3","in_reply_to":"79746a6c_aa21b9f5","updated":"2023-08-04 14:34:51.000000000","message":"I didn\u0027t try GPIOx_OSPEEDR. Though I tried to use 4.5 Mbps, but haven\u0027t receive any data in OpenOCD. Data on the SWO line looks like a valid 4.5 Mbps signal.\n\nHere are screenshots of 2.25 Mbps and 4.5 Mbps for comparison. I attached oscilloscope probe on SWO pin on Nucle-64 on the 6-pin header (CN4), so it should be something similar to what stlink v2 receives:\n- 2.25: https://snipboard.io/MAtThr.jpg\n- 4.5: https://snipboard.io/2O4IqV.jpg\n\nIt looks like a problem on stlink v2 side. I suspect that the USART1 might be sourced with 2x slower clock than what BMP uses, so it limits the options for maximum speed it can go with. I don\u0027t know for sure, just saying what COULD be the reason :)","commit_id":"2555e770331fedf6b149c9ac81c587832bd184ec"}]}
