NishanthMenon changed the topic of #openocd to: this is the place to discuss all things OpenOCD | Logs: https://libera.irclog.whitequark.org/openocd/
jeeebz has quit [Ping timeout: 248 seconds]
jybz has joined #openocd
jybz has quit [Ping timeout: 246 seconds]
jybz has joined #openocd
jybz has quit [Ping timeout: 255 seconds]
jybz has joined #openocd
Hawk777 has joined #openocd
defiant has joined #openocd
Hawk777 has quit [Quit: Leaving.]
Haohmaru has joined #openocd
wingsorc has quit [Quit: Leaving]
wingsorc has joined #openocd
merethan_ has joined #openocd
<Mis012[m]> so, I tried -ap-num 1 based on this:
<Mis012[m]> and now I get the following:
<Mis012[m]> with the following if I try to connect from gdb:
<PaulFertser> Mis012[m]: I'd instead just defined the dap and would do "dap info 0", "dap info 1" etc.
<PaulFertser> You can't connect to a target that's not examined.
<Mis012[m]> PaulFertser: well, iirc if I didn't define the target it just complained that it needs a target
merethan_ has quit [Remote host closed the connection]
merethan_ has joined #openocd
<Mis012[m]> PaulFertser: this sounds like it really wants a target
<PaulFertser> Mis012[m]: that's what I said, yes.
<PaulFertser> Mis012[m]: GDB needs a target
<Mis012[m]> well, it's not printing the dap info either
merethan_ has quit [Remote host closed the connection]
merethan_ has joined #openocd
IoT-Maker has joined #openocd
<IoT-Maker> i asked last week for help with my TI am3352 chip and thought i solved the problem because openocd now show me  "1* am335x.cpu         cortex_a   little am335x.tap         running" but i still have problems. I now try a TIAO tumpa interface with default config for tumpa.cfg and am335x.cfg. This is the openocd server output and
<IoT-Maker> the output of the telnet session: https://pastebin.ubuntu.com/p/BB2sRtsZJq/ The target board has a Compact TI JTAG connector which has EMU0 and EMU1 pin. The EMU0 and EMU1 pin are unconnected.  Here's another log with EMU0 and EMU1 connected to GND https://pastebin.ubuntu.com/p/DvwGdMjhN3/
<IoT-Maker> it ask  how to reset: JTAG-DP STICKY ERROR, Could not initialize the APB-AP, am335x.cpu: how to reset? and the log show up Error: 319 18762 adi_v5_jtag.c:657 jtagdp_transaction_endcheck(): Debug regions are unpowered, an unexpected reset might have happened
<IoT-Maker> any idea how i can fix this?
<cambrian_invader> would it be possible to add files based on apache-licensed code?
<cambrian_invader> as I understand it, the combined work would be licensed GPL3
<cambrian_invader> which is the intersection of GPL2-or-later and apache
<cambrian_invader> so no license conflict, but I am wondering if upstream would take it
IoT-Maker has quit [Quit: Client closed]
<karlp> cambrian_invader: aiui, yes, it's allowed, though while searching for what I thought were existing references, I only see src/helper/base64.c as being BSD, and nothing particularly apache at present.
<cambrian_invader> I'm interested in integrating some things from https://github.com/trabucayre/openFPGALoader
<karlp> IMO apache2 is fine, but I'm not a maintainer :)
merethan_ has quit [Remote host closed the connection]
merethan_ has joined #openocd
IoT-Maker has joined #openocd
<IoT-Maker> One thing i noticed is, if i only connect EMU0 to GND and leave EMU1 unconnected i can turn on the device but it will not start. It boots up after i run openocd server
<IoT-Maker> But same problem in openocd https://pastebin.ubuntu.com/p/884H9h9yNp/
merethan_ has quit [Remote host closed the connection]
merethan_ has joined #openocd
Haohmaru has quit []
IoT-Maker78 has joined #openocd
IoT-Maker has quit [Ping timeout: 260 seconds]
IoT-Maker78 is now known as IoT-Maker
loki_val has quit [Quit: No Ping reply in 180 seconds.]
crabbedhaloablut has joined #openocd
merethan_ has quit [Ping timeout: 252 seconds]
<borneoa__> cambrian_invader: openocd is GPL-v2. Most of the files are "v2 or later", some are bad but we also have some file taken from Linux and U-Boot that are v2-only. If I remember correctly, apache is not compatible with GPL-v2
<cambrian_invader> :l
<cambrian_invader> I read the copying file and it said openocd was -or-later
<borneoa__> cambrian_invader: Humm, and it's me that wrote it!
<PaulFertser> I think we tried to keep the whole codebase GPLv2+ by asking authors to make it compatible.
<PaulFertser> But accepting some code that would make it GPLv3+ would be a big decision.
<cambrian_invader> yeah
<PaulFertser> (and probably not possible if not all GPLv2-only code was taken care of)
<cambrian_invader> well, a quick grep reveals just src/helper/list.h as GPL2-only
<PaulFertser> That's from Linux I guess.
<cambrian_invader> yup
<borneoa__> cambrian_invader: I think I should change that file and write that we stick to v2 while invite developers to propose v2-or-later to new files
<PaulFertser> tbh, I wouldn't be against going GPLv3+
<borneoa__> There is one flash driver from U-Boot that is v2 only, from Marek
<PaulFertser> I think GPLv3 is a better license in every possible regard.
<Mis012[m]> it's like C vs C++ :P
<Mis012[m]> the ++ overflows
<IoT-Maker> what error msg is this and how to fix that adi_v5_jtag.c:522 jtagdp_overrun_check(): Timeout during WAIT recovery
<PaulFertser> IoT-Maker: probably means the target is sleeping deep enough.
IoT-Maker has quit [Quit: Client closed]
IoT-Maker has joined #openocd
<IoT-Maker> PaulFertser getting the msg at boot time
<PaulFertser> IoT-Maker: are you stopping the target in u-boot or some such?
<IoT-Maker> i stopped uboot
<IoT-Maker> to prevent booting the system image from spi
<PaulFertser> Usually the target gives you WAITs when it can't fulfill the request for whatever reason, but it's supposed to be temporary.
IoT-Maker has quit [Ping timeout: 260 seconds]