NishanthMenon changed the topic of #openocd to: this is the place to discuss all things OpenOCD | Logs: https://libera.irclog.whitequark.org/openocd/
Hawk777 has quit [Quit: Leaving.]
boru` has joined #openocd
boru has quit [Killed (NickServ (GHOST command used by boru`))]
boru` is now known as boru
Hawk777 has joined #openocd
flatmush has quit [Ping timeout: 272 seconds]
cyrozap has quit [Ping timeout: 272 seconds]
clever has quit [Ping timeout: 272 seconds]
cyrozap has joined #openocd
clever has joined #openocd
tsal has quit [Ping timeout: 272 seconds]
tsal has joined #openocd
thinkfat has joined #openocd
thinkfat_ has quit [Ping timeout: 245 seconds]
flatmush has joined #openocd
nerozero has joined #openocd
diddly has quit [Ping timeout: 240 seconds]
diddly has joined #openocd
sbach has quit [Read error: Connection reset by peer]
sbach has joined #openocd
w00tSpeaks has joined #openocd
<w00tSpeaks> hi
<w00tSpeaks> I have a new configuration for an lpc55s16. I am not sure if it is correct. Would the project be interested in this config?
<w00tSpeaks> I've managed to successfully connect with gdb and stop/restart a program
<w00tSpeaks> I also noticed that detaching doesn't seem to have the right behavior.
Hawk777 has quit [Quit: Leaving.]
<w00tSpeaks> It doesn't continue exection before exiting.
<w00tSpeaks> Does the development happen on the gerrit or directly on sf.net somehow?
<w00tSpeaks> I'm trying to figure out how to submit a PR.
diddly has quit [Remote host closed the connection]
diddly has joined #openocd
Haohmaru has joined #openocd
<PaulFertser> w00tSpeaks: hi
<PaulFertser> w00tSpeaks: patches are sent to Gerrit. I wonder how come it's not clear from the website and the docs. I'm ready to fix it so that it would be more apparent but please guide me.
<PaulFertser> w00tSpeaks: I do not think OpenOCD is supposed to resume execution on exit, that would interfere with certain usecases.
<PaulFertser> w00tSpeaks: did you get flashing working or just debugging? Is there anything special about the config?
<PaulFertser> ildar[m]: please take into account your message looks like a link to https://libera.ems.host/_matrix/media/r0/download/libera.chat/bd5522ea237145cd7a1824d0eb2a39060a6dc31d/message.txt so zapb is _not_ highlighted.
<ildar[m]> 🤦🏻‍♂️
<ildar[m]> zapb_: ⬆
<PaulFertser> Steffanx: with the last tweak (silly hack?) with p::before the words are no longer hanging near the post info block on narrow screen. I think the site can be considered friendly enough to all devices now.
w00tSpeaks has quit [Quit: Konversation terminated!]
w00tSpeaks has joined #openocd
wingsorc__ has quit [Quit: Leaving]
Guest2115 has joined #openocd
Guest2115 has quit [Quit: Client closed]
meow_wei has joined #openocd
indy_ has joined #openocd
renrelkha_ has joined #openocd
nadrian has quit [*.net *.split]
zmatt has quit [*.net *.split]
marex has quit [*.net *.split]
indy has quit [*.net *.split]
Steffanx- has quit [*.net *.split]
ildar[m] has quit [*.net *.split]
braunr has quit [*.net *.split]
rue_shop1 has quit [*.net *.split]
devanagram has quit [*.net *.split]
rkta has quit [*.net *.split]
Getty has quit [*.net *.split]
renrelkha has quit [*.net *.split]
nikomo has quit [*.net *.split]
splud has quit [*.net *.split]
rapha has quit [*.net *.split]
key2_ has quit [*.net *.split]
medicalwei has quit [*.net *.split]
tomtastic has quit [*.net *.split]
PaulFertser has quit [*.net *.split]
indy_ is now known as indy
nadrian has joined #openocd
marex has joined #openocd
zmatt has joined #openocd
Helmholtz has quit [Ping timeout: 240 seconds]
lh has quit [Ping timeout: 276 seconds]
Jybz[m] has quit [Ping timeout: 252 seconds]
Ulli[m] has quit [Ping timeout: 252 seconds]
tomtastic has joined #openocd
PaulFertser has joined #openocd
Steffanx- has joined #openocd
key2_ has joined #openocd
rapha has joined #openocd
splud has joined #openocd
ildar[m] has joined #openocd
rue_shop1 has joined #openocd
braunr has joined #openocd
devanagram has joined #openocd
rkta has joined #openocd
nikomo has joined #openocd
Getty has joined #openocd
ildar[m] has quit [Ping timeout: 272 seconds]
Jybz[m] has joined #openocd
Ulli[m] has joined #openocd
bahamat5050 has joined #openocd
ildar[m] has joined #openocd
emeb has joined #openocd
<bahamat5050> I have a working setup with the jtagspi flash driver and a proxy bitstream on my Xilinx target. The flash memory has 64 bytes of one time programmable memory outside of main memory. How can I use openocd to write to the OTP memory?
<bahamat5050> The datasheet of my flash memory provides command codes for write-enable and OTP-write operations, but I'm not sure how to use them within openocd.
<PaulFertser> bahamat5050: what are the codes like?
<bahamat5050> write-enable: 06h, otp-program: 42h
<PaulFertser> bahamat5050: any more context?
<PaulFertser> bahamat5050: probably it's some "instruction"? Are IR and DR values mentioned?
<PaulFertser> bahamat5050: ah, the flash memory itself, I see!
<PaulFertser> bahamat5050: see src/flash/nor/jtagspi.c , it has some calls like jtagspi.c: jtagspi_cmd(bank, SPIFLASH_READ_ID, NULL, in_buf, -24);
<PaulFertser> bahamat5050: the commands are defined in spi.h , 0x06 is there, 0x42 obviously not, so you'll need to add support for that.
<bahamat5050> ok, I did see the jtagspi_cmd call, but I wasn't sure if that was an internal routine or one that I could use from a configuration script
<PaulFertser> bahamat5050: no, you'll need to write some C code and recompile openocd to do that.
<bahamat5050> understood, thanks for your assistance
Helmholtz has joined #openocd
lh has joined #openocd
tarekb has joined #openocd
Helmholtz has quit [Changing host]
Helmholtz has joined #openocd
tarekb has quit [Read error: Connection reset by peer]
tarekb has joined #openocd
cyrozap has quit [Ping timeout: 248 seconds]
flatmush has quit [Ping timeout: 248 seconds]
flatmush has joined #openocd
cyrozap has joined #openocd
zjason has quit [Ping timeout: 268 seconds]
tarekb has quit [Read error: Connection reset by peer]
tarekb has joined #openocd
tarekb has quit [Client Quit]
bahamat5050 has quit [Quit: Client closed]
Hawk777 has joined #openocd
Haohmaru has quit []
<zapb_> ildar[m], I don't what you mean....
<ildar[m]> 🙂
nerozero has quit [Ping timeout: 248 seconds]
flatmush has quit [Ping timeout: 258 seconds]
flatmush has joined #openocd
<PaulFertser> zapb_: I think ildar expects that the rtt telnet port accepts data and sends it to the target and the target should be able to process it but somehow it doesn't work for him, and here's the config used: https://libera.ems.host/_matrix/media/r0/download/libera.chat/bd5522ea237145cd7a1824d0eb2a39060a6dc31d/message.txt
tarekb has joined #openocd
<zapb_> ildar[m], please provide a proper setup description and proper messages (without that matrix shit ;)
<zapb_> otherwise I cannot help you
emeb has quit [Quit: Leaving.]
bobwal has joined #openocd
renrelkha_ is now known as renrelkha