Skip to content

How to reset target chip? #10

Open
@maxgerhardt

Description

@maxgerhardt

From OpenOCD commands like monitor init and monitor reset halt are available to reset (and halt after reset) the chip. (docs).

When I connect to the GDB server opened by this script with avr-gdb (7.3.0) and try that, I however get

> monitor init
Target does not support this command.
>monitor reset
Target does not support this command.

with script output

INFO:root:Reading from address 0x00280A
bytearray(b'\x0c\x06')
0c06
<- $0c06#f9
INFO:root:No event
-> +$m80280a,2#2e
<- +
INFO:root:AVR running state False
80280a
2
80
INFO:root:Reading from address 0x00280A
bytearray(b'\x0c\x06')
0c06
<- $0c06#f9
INFO:root:No event
-> +
INFO:root:No event
INFO:root:No event
INFO:root:No event
INFO:root:No event
INFO:root:No event
INFO:root:No event
INFO:root:No event
INFO:root:No event
INFO:root:No event
INFO:root:No event
INFO:root:No event
INFO:root:No event
INFO:root:No event
INFO:root:No event
INFO:root:No event
INFO:root:No event
INFO:root:No event
INFO:root:No event
INFO:root:No event
INFO:root:No event
INFO:root:No event
INFO:root:No event
INFO:root:No event
-> $qRcmd,7265736574#37
<- +
INFO:root:AVR running state False
Rcmd,7265736574
<- $#00
INFO:root:No event
-> +
INFO:root:No event
-> $m80280a,2#2e
<- +
INFO:root:AVR running state False
80280a
2
80

How do I reset the target chip with this GDB server?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions