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

minichlink doesn't support gdb "load" #159

Closed
maxgerhardt opened this issue Jun 9, 2023 · 7 comments
Closed

minichlink doesn't support gdb "load" #159

maxgerhardt opened this issue Jun 9, 2023 · 7 comments

Comments

@maxgerhardt
Copy link
Contributor

maxgerhardt commented Jun 9, 2023

$ riscv-none-embed-gdb -ex "target remote :2000" blink.elf
..
(gdb) set debug remote 1
(gdb) load
Sending packet: $vFlashErase:00000000,00000200#bc...Ack
Packet received: 
Remote target does not support flash erase

That should be easy to implement especially since the tool can flash already..

@cnlohr
Copy link
Owner

cnlohr commented Jun 9, 2023

And also need to add PC set function - somehow that one got left out.

@cnlohr
Copy link
Owner

cnlohr commented Jun 21, 2023

What does set debug remote 1 do?

@maxgerhardt
Copy link
Contributor Author

maxgerhardt commented Jun 21, 2023 via email

@cnlohr
Copy link
Owner

cnlohr commented Jun 21, 2023

aaah gotcha

@cnlohr
Copy link
Owner

cnlohr commented Jun 23, 2023

What version of GDB are you testing on?

@maxgerhardt
Copy link
Contributor Author

Still 8.3. same as in #158.

@cnlohr cnlohr closed this as completed in df52af3 Jun 23, 2023
@cnlohr
Copy link
Owner

cnlohr commented Jun 23, 2023

Sorry this took so long to resolve, but it should all work now.

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

2 participants