Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can not debug #1

Open
mikisama opened this issue Oct 12, 2020 · 4 comments
Open

can not debug #1

mikisama opened this issue Oct 12, 2020 · 4 comments

Comments

@mikisama
Copy link

Hi, @carlosedp
I play these demos on my win10 laptop. These programs can be successfully uploaded and run on renode, but when I try to debug the application, there are some garbled codes in the debugging console of VSCode.

Would you mind sharing some suggestions?

图片

@carlosedp
Copy link
Owner

Sorry, I don't know what could be wrong.. I run on a Mac and have no access to a Windows machine.

@ivankravets
Copy link

@valeros do you have any ideas?

@valeros
Copy link

valeros commented Oct 31, 2020

Hi @mikisama ! It's hard to guess what went wrong, but Renode can be used as the debug tool directly without custom commands. Please try the following configuration:

[env:hifive1]
platform = sifive
framework = zephyr
board = hifive1
monitor_speed = 115200
debug_tool = renode

If it doesn't work as well, then please open an issue here https://github.com/platformio/platform-sifive/issues

@mikisama
Copy link
Author

mikisama commented Nov 2, 2020

Hi @mikisama ! It's hard to guess what went wrong, but Renode can be used as the debug tool directly without custom commands. Please try the following configuration:

[env:hifive1]
platform = sifive
framework = zephyr
board = hifive1
monitor_speed = 115200
debug_tool = renode

If it doesn't work as well, then please open an issue here https://github.com/platformio/platform-sifive/issues

Hi @valeros, it works!!! Thanks

图片

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants