ChanServ changed the topic of #rust-embedded to: Welcome to the Rust Embedded IRC channel! Bridged to #rust-embedded:matrix.org and logged at https://libera.irclog.whitequark.org/rust-embedded, code of conduct at https://www.rust-lang.org/conduct.html
IlPalazzo-ojiisa has quit [Quit: Leaving.]
IlPalazzo-ojiisa has joined #rust-embedded
nex8192 has left #rust-embedded [Error from remote client]
IlPalazzo-ojiisa has quit [Client Quit]
GenTooMan has quit [Ping timeout: 246 seconds]
GenTooMan has joined #rust-embedded
duderonomy has quit [Quit: Textual IRC Client: www.textualapp.com]
starblue has quit [Ping timeout: 246 seconds]
starblue has joined #rust-embedded
eZioPan[m] has joined #rust-embedded
<eZioPan[m]> hi, does probe-rs have some commandline interface to interact with target MCU’s memory and registers(like telnet interface of OpenOCD)?
<eZioPan[m]> VSCode is great, but if I just want to read a few bytes from MCU, then write down a config file, and start a debug session just be too heavy for me :)
duderonomy has joined #rust-embedded
GenTooMan has quit [Ping timeout: 248 seconds]
GenTooMan has joined #rust-embedded
crabbedhaloablut has joined #rust-embedded
barafael[m] has joined #rust-embedded
<barafael[m]> You could do this using a USB-to-serial converter (also calls am 'ftdi'). This would require a free serial port on the device. The advantage would be that you would not be bound to a debugger, but your firmware would have to know how to receive serial commands. If you want to do it via debugger, then I would say reserve a page of memory for your config data and use sth. like
<barafael[m]> `probe-rs download 43439A0.bin --format bin --chip RP2040 --base-address 0x10100000`
<barafael[m]> `probe-rs download 43439A0.bin --format bin --chip RP2040 --base-address 0x10100000`
<barafael[m]> * eZio Pan: you could do this using a USB-to-serial converter (also referred to as an 'ftdi'). This would require a free serial port on the device. The advantage would be that you would not be bound to a debugger, but your firmware would have to know how to receive serial commands. This might be something you need anyway. If you want to do it via debugger, then I would say reserve a page of memory for your config data and use sth.
<barafael[m]> like
GenTooMan has quit [Ping timeout: 248 seconds]
<eZioPan[m]> thanks! I might not make myself clearly, I want to halt the MCU, then read/modify some bytes from SRAM/peripheral register. I think I will need to use a debugger to access these bytes. Currently I try move from OpenOCD workflow to probe-rs one, thus I’d like to know a simple way with probe-rs.
<eZioPan[m]> s/one//
ithinuel[m] has joined #rust-embedded
<ithinuel[m]> You could use gdb's cli 🙂
<ithinuel[m]> Works well with cargo-embed.
<ithinuel[m]> You'd still need to create a toml config file to enable to gdb server... (full message at <https://catircservices.org/_matrix/media/v3/download/catircservices.org/FPooSjExcGYJIeXSOlSFLONR>)
<ithinuel[m]> * You'd still need to create a `.embed.toml` config file to enable to gdb server... (full message at <https://catircservices.org/_matrix/media/v3/download/catircservices.org/YKwBaECwQHrBLeLQhkQmSSIe>)
crabbedhaloablut has quit []
<burrbull[m]> `probe-rs gdb` should also work. Although I haven't try:... (full message at <https://catircservices.org/_matrix/media/v3/download/catircservices.org/JIMCfNxRbrGezRrVPbexEDgq>)
GenTooMan has joined #rust-embedded
cr1901 has quit [Quit: Leaving]
<eZioPan[m]> probe-rs gdb works
<eZioPan[m]> gonna pick up gdb command again ;)
cr1901 has joined #rust-embedded
GenTooMan has quit [Ping timeout: 246 seconds]
GenTooMan has joined #rust-embedded
starblue has quit [Ping timeout: 245 seconds]
starblue has joined #rust-embedded
nex8192 has joined #rust-embedded
emerent has quit [Ping timeout: 245 seconds]
emerent has joined #rust-embedded
cr1901_ has joined #rust-embedded
jr-oss_ has joined #rust-embedded
dreamcat4_ has joined #rust-embedded
starblue has quit [*.net *.split]
cr1901 has quit [*.net *.split]
sourcebox[m] has quit [*.net *.split]
dirbaio[m] has quit [*.net *.split]
kenny has quit [*.net *.split]
dreamcat4 has quit [*.net *.split]
jr-oss has quit [*.net *.split]
dreamcat4_ is now known as dreamcat4
starblue has joined #rust-embedded
kenny has joined #rust-embedded
sourcebox[m] has joined #rust-embedded
dirbaio[m] has joined #rust-embedded
IlPalazzo-ojiisa has joined #rust-embedded
dngrsspookyvisio has quit [Quit: Idle timeout reached: 172800s]
starblue has quit [Ping timeout: 245 seconds]
WSalmon has quit [Read error: Connection reset by peer]
WSalmon has joined #rust-embedded
IlPalazzo-ojiisa has quit [Remote host closed the connection]
GenTooMan has quit [Ping timeout: 246 seconds]
GenTooMan has joined #rust-embedded
GenTooMan has quit [Ping timeout: 256 seconds]
GenTooMan has joined #rust-embedded
nex8192 has left #rust-embedded [Error from remote client]
starblue has joined #rust-embedded
nex8192 has joined #rust-embedded
cr1901_ is now known as cr1901
sauce has quit []
nex8192 has left #rust-embedded [Error from remote client]