你好
我从内存中回答这个问题,并记住我使用STM32但是我已经为STM32编写了驱动程序来使用SWIM编程STM8
'' 2。这会使调试选项失效吗?
在下次上电时,我能调试代码吗?因为那时引脚已经被配置为输出
“”
是和否。
如果使用SWIM完成调试 - 它将切换SWIM条目上的重置行。
如果该线路用于SWIM - 它不能用于输出(即它由SWIM接口保持)。
简单的答案是:如果你调试 - 你不能使用Pin输出。
如果你不调试 - 引脚将配置为输出
以上来自于谷歌翻译
以下为原文
Hi
I am answer this from memory, and bear in mind that I work with the STM32 but I have written the driver for the STM32 to program a STM8 with SWIM
''2. Will that make debug option dead?
On next power up, will I be able to debug the code?? Because pin will already be configured as output by that time
''
Yes and No.
If the debug is done with SWIM - it will toggle the reset line on SWIM entry.
If the line is in use for SWIM - it CANNOT be used for output (ie it is held by the SWIM interface).
The simple answer is : if you debug - you cannot use the Pin for output.
If you do not debug - the pin will be configures for output
你好
我从内存中回答这个问题,并记住我使用STM32但是我已经为STM32编写了驱动程序来使用SWIM编程STM8
'' 2。这会使调试选项失效吗?
在下次上电时,我能调试代码吗?因为那时引脚已经被配置为输出
“”
是和否。
如果使用SWIM完成调试 - 它将切换SWIM条目上的重置行。
如果该线路用于SWIM - 它不能用于输出(即它由SWIM接口保持)。
简单的答案是:如果你调试 - 你不能使用Pin输出。
如果你不调试 - 引脚将配置为输出
以上来自于谷歌翻译
以下为原文
Hi
I am answer this from memory, and bear in mind that I work with the STM32 but I have written the driver for the STM32 to program a STM8 with SWIM
''2. Will that make debug option dead?
On next power up, will I be able to debug the code?? Because pin will already be configured as output by that time
''
Yes and No.
If the debug is done with SWIM - it will toggle the reset line on SWIM entry.
If the line is in use for SWIM - it CANNOT be used for output (ie it is held by the SWIM interface).
The simple answer is : if you debug - you cannot use the Pin for output.
If you do not debug - the pin will be configures for output
举报