NishanthMenon changed the topic of #openocd to: this is the place to discuss all things OpenOCD | Logs: https://libera.irclog.whitequark.org/openocd/
tsal has quit [Ping timeout: 256 seconds]
tsal has joined #openocd
wrigby has joined #openocd
borneoa_ has joined #openocd
wrigby has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nerozero has joined #openocd
Haohmaru has joined #openocd
Hawk777 has quit [Quit: Leaving.]
borneoa_ has quit [Quit: Connection closed for inactivity]
Guest11 has joined #openocd
<Guest11> good morning folks. I'm using OpenOCD to work on a Nuvoton NUC123, and the chip ID is not recognised. I have added it, recompiled openocd, and can confirm it's working fine. What's the right process to have it included in a future release?
<Guest11> openocd-0.12.0~rc2/src/flash/nor/numicro.c:{"NUC123SD4AE" , 0x10012315, NUMICRO_BANKS_NUC100(68*1024)},
Guest11 has quit [Quit: Client closed]
Deneb has joined #openocd
borneoa_ has joined #openocd
<Haohmaru> the right process begins with having patience
<PaulFertser> Indeed
<PaulFertser> And reading docs.
<Haohmaru> nobody reads documents, but at least have patience ;P~
<braunr> some do
Guest11 has joined #openocd
<PaulFertser> Guest11: you seem to be the impatient fellow
<Guest11> nah, my laptop went to sleep, and the web client dropped the connection
<PaulFertser> Guest11: we were just discussing how IRC requires more time
<PaulFertser> Guest11: there's HACKING in the root of the source tree, you should be able to follow the instructions for contributing there.
<PaulFertser> Guest11: should be all clear, and feel free to ask if anything is not.
<Haohmaru> my kitchen window isn't very clear ;P~
<PaulFertser> I recommend IPA + a newspaper.
<Haohmaru> i know that trick ;P~
<PaulFertser> And IPA beer ingested after the process is complete.
<Haohmaru> nooo
<Haohmaru> pepsi
<Guest11> hmmm. gerrit account created, username set, ssh key uploaded, but getting access denied when pushing or even when SCPing the git hook
<Guest11> do I need to wait for any kind of account activation?
<Guest11> btw PaulFertser you "seem to be impatient" is quite funny, given that I'm working on this pet project _since one year_ and only in the last week I managed significant progress :D
<PaulFertser> Guest11: no account activation is needed
<PaulFertser> Guest11: probably you're missing the Gerrit port? It's not on tcp/22.
<PaulFertser> So when scp'ing you need to specify it.
defiant has quit [Quit: defiant]
<Guest11> 29418 - I'm copy/pasting from the docs
<PaulFertser> Guest11: I know how the first impression is often wrong, no wonder :)
<PaulFertser> Guest11: please use some pastebin to show the commands and output.
<Guest11> let me check first if there's anything wrong with my ssh keys...
<PaulFertser> Yes, with ssh -v it's more visible what key is really tried.
<PaulFertser> Guest11: probably you're using an outdated RSA key? Have you tried ssh -o 'PubkeyAcceptedKeyTypes +ssh-rsa' ?
<Guest11> it works with that option, indeed. thanks for the hint, I haven't considered that
<PaulFertser> It's not really the key itself but the algorithm, and ssh on the Gerrit server can only use this outdated algorithm with RSA keys.
<PaulFertser> And newer ssh client on your side doesn't like it.
<Guest11> well, ssh/config to the rescue. and ta-dah https://review.openocd.org/c/openocd/+/7417
<PaulFertser> Guest11: thank you for the patch! :)
<Guest11> my pleasure
<PaulFertser> Using an ed25519 key would be a working alternative too.
<Guest11> plenty of other services still not supporting them, tho :(
<Guest11> thank you for your software! the tcp server works great, I've been debugging this thing from the comfort of my living room for _hours_ by using a raspiberry pi3 as interface
<PaulFertser> Guest11: btw, that extra bit in the device id, have you checked the datasheet if it's probably safe to ignore?
<Guest11> hm, I haven't but let me check
<Guest11> https://www.nuvoton.com/resource-files/DS_NUC123_Series_EN_Rev2.04.pdf can't even find a list of those IDs in the datasheet
<PaulFertser> My idea is that it's probably a minor revision so to be more future-proof it might make sense to mask it out.
<Guest11> it's not a minor revision, but a different spec chip
<Guest11> the difference being...the temperature range
<PaulFertser> Guest11: my pleasure to hear about your experience, as I was the original author of the raspberrypi-native adapter driver.
<Guest11> with "N" being -40/+85, and "E" being -40/+105
<Guest11> not even sure why this E model ended up in here, this thing is _never_ going over room temperature :D
<Guest11> and I don't have access to any other chip from that series to check if that bit is used to distinguish between N and E models, sorry
<Guest11> oh, and that GPIO/SWD is much more stable than my stlink clone
<PaulFertser> Guest11: np. I just compared it with the line above.
<Guest11> btw, if anyone around here works with NUC123, I could use a pre-built bootloader with HID/DFU capabilities :D
<Guest11> they have samples, I even managed to compile, but they're all too large to fit in the bootloader rom
merethan has joined #openocd
<Guest11> after so many years of github/gitlab, gerrit is a....very different way of working
Deneb has quit [Quit: Leaving]
<PaulFertser> Guest11: I find it intuitive enough once you see it's not deviating from Git at all and just uses Change-Id fields for tracking which commit belongs to what change.
<Guest11> I still didn't manage to figure out how multiple commits could be part of the same change, understood that they should have the same change-id, but then the push got rejected because there was a duplicate change-id
<PaulFertser> Guest11: yes, because they can't :)
wrigby has joined #openocd
<PaulFertser> Guest11: you do not need multiple commits to be the same change.
<PaulFertser> If you need to somehow group many commits you can specify a "topic" for them.
<PaulFertser> But it's really optional.
<Guest11> well, not a problem for today. the changes are there, pending approval
<PaulFertser> Guest11: if you think about ordering of your commits then there's nothing to do: every commit always has a reference to its parent(s), that's how Git works.
Hawk777 has joined #openocd
Haohmaru has quit []
urja has quit [Read error: Connection reset by peer]
nerozero has quit [Ping timeout: 256 seconds]
urja has joined #openocd
urja has quit [Ping timeout: 272 seconds]
urja has joined #openocd
urja has quit [Ping timeout: 264 seconds]
urja has joined #openocd
urjaman has joined #openocd
urja has quit [Ping timeout: 252 seconds]
Guest11 has quit [Ping timeout: 260 seconds]
merethan has quit [Ping timeout: 265 seconds]
wingsorc has quit [Remote host closed the connection]
wingsorc has joined #openocd
wingsorc has quit [Ping timeout: 256 seconds]
wrigby has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jeeebz has joined #openocd
jybz has quit [Ping timeout: 268 seconds]
jeeebz is now known as jybz
borneoa_ has quit [Quit: Connection closed for inactivity]
dliviu has quit [Ping timeout: 272 seconds]
dliviu has joined #openocd