sb0 changed the topic of #m-labs to: https://m-labs.hk :: Mattermost https://chat.m-labs.hk :: Logs http://irclog.whitequark.org/m-labs
proteusguy has quit [Ping timeout: 272 seconds]
sb0 has joined #m-labs
<sb0> cr1901_modern: online migen manual fixed
rohitksingh_work has joined #m-labs
sb0 has quit [Quit: Leaving]
<mtrbot-ml> [mattermost] <sb10q> @hartytp so I connected thermostat JTAG, and indeed, it is powered, but now it does this:
<mtrbot-ml> [mattermost] <sb10q> ```
<mtrbot-ml> [mattermost] <sb10q> ~/ionpak/firmware]$ openocd -f openocd.cfg
<mtrbot-ml> [mattermost] <sb10q> Open On-Chip Debugger 0.10.0-snapshot (2019-04-12-09:15)
<mtrbot-ml> [mattermost] <sb10q> Licensed under GNU GPL v2
<mtrbot-ml> [mattermost] <sb10q> For bug reports, read
<mtrbot-ml> [mattermost] <sb10q> http://openocd.org/doc/doxygen/bugs.html
<mtrbot-ml> [mattermost] <sb10q> Info : auto-selecting first available session transport "jtag". To override use 'transport select <transport>'.
<mtrbot-ml> [mattermost] <sb10q> adapter speed: 500 kHz
<mtrbot-ml> [mattermost] <sb10q> Info : clock speed 500 kHz
<mtrbot-ml> [mattermost] <sb10q> Info : JTAG tap: tm4c1294kcpd.cpu tap/device found: 0x4ba00477 (mfg: 0x23b (ARM Ltd.), part: 0xba00, ver: 0x4)
<mtrbot-ml> [mattermost] <sb10q> Info : DAP transaction stalled (WAIT) - slowing down
<mtrbot-ml> [mattermost] <sb10q> Error: Timeout during WAIT recovery
<mtrbot-ml> [mattermost] <sb10q> Error: Debug regions are unpowered, an unexpected reset might have happened
<mtrbot-ml> [mattermost] <sb10q> ```
<mtrbot-ml> [mattermost] <sb10q> same bug with openocd 0.10.0
proteusguy has joined #m-labs
Getorix has quit [Ping timeout: 268 seconds]
<mtrbot-ml> [mattermost] <hartytp> @sb10q wrong open ocd config?
<mtrbot-ml> [mattermost] <hartytp> https://paste.debian.net/1093444/
<mtrbot-ml> [mattermost] <hartytp> how are you powering it?
<mtrbot-ml> [mattermost] <hartytp> I had GDB up and running before I sent it to you
xobs has quit [Remote host closed the connection]
Guest36119 has quit [Read error: Connection reset by peer]
marble[m] has quit [Remote host closed the connection]
rjo[m] has quit [Write error: Connection reset by peer]
jfng has quit [Remote host closed the connection]
jryans has quit [Remote host closed the connection]
<mtrbot-ml> [mattermost] <sb10q> @hartytp the one from ionpak... didn't modify it
<mtrbot-ml> [mattermost] <sb10q> PoE, also tried the 12V barrel connector, same thing
<mtrbot-ml> [mattermost] <hartytp> don't you need to modify?
<mtrbot-ml> [mattermost] <hartytp> slightly different cpu part
<mtrbot-ml> [mattermost] <hartytp> I had no issues with the config file I posted
<mtrbot-ml> [mattermost] <sb10q> same + additional error with your file
<mtrbot-ml> [mattermost] <sb10q> http://paste.debian.net/1093447/
<mtrbot-ml> [mattermost] <hartytp> what's the new error?
<mtrbot-ml> [mattermost] <sb10q> also I'm using this JTAG cable source [find interface/ftdi/olimex-arm-usb-tiny-h.cfg]
<mtrbot-ml> [mattermost] <sb10q> also craps out in the same way with adapter_khz 10
<mtrbot-ml> [mattermost] <hartytp> that's odd. I didn't have any issues using the STLink adapter I had with: GNU MCU Eclipse OpenOCD, 64-bitOpen On-Chip Debugger 0.10.0+dev-00593-g23ad80df4 (2019-04-22-20:18)
<mtrbot-ml> [mattermost] <hartytp> IIRC @rjo got his card to work, so may have some advice. Otherwise, i'd check the obvious things like all relevant voltages, etc
<mtrbot-ml> [mattermost] <hartytp> are you using JTAG or SWDB?
Guest17948 has joined #m-labs
<mtrbot-ml> [mattermost] <sb10q> JTAG
<mtrbot-ml> [mattermost] <hartytp> well, this isn't something I know a huge amount about, so prob nothing very productive I can add here
<mtrbot-ml> [mattermost] <sb10q> or maybe we can SSH into your computer where there's a working setup. debugging this kind of typical embedded system behavior is frustrating, and a waste of time since we won't use tm4c in the end
<mtrbot-ml> [mattermost] <hartytp> maybe, but getting you VPN access could be a hassle. In the first instance, I'd prefer to try shipping you the ST-Link adapter that I got it up and running with
<mtrbot-ml> [mattermost] <hartytp> but, let's see if @rjo has any ideas first
<mtrbot-ml> [mattermost] <hartytp> and, please do stick a DMM on all supplies first in case something broke during shipping
<mtrbot-ml> [mattermost] <hartytp> (if you haven't already)
zng has quit [Ping timeout: 244 seconds]
zng has joined #m-labs
rjo[m] has joined #m-labs
<rjo[m]> i haven't used jtag on arm chips in a while. swd worked fine.
<mtrbot-ml> [mattermost] <sb10q> @rjo maybe we could use your setup remotely then?
<mtrbot-ml> [mattermost] <sb10q> IC4 (reset chip) seems to have been removed; is that normal?
<mtrbot-ml> [mattermost] <sb10q> voltage on the tantalum caps is 5V/12V which looks normal
<mtrbot-ml> [mattermost] <sb10q> other supplies are harder to locate. might be a good idea to add test points on v2 (seems that's not done according to the sch)
<mtrbot-ml> [mattermost] <sb10q> the 3.3V from IC3 is also OK
jfng has joined #m-labs
jryans has joined #m-labs
xobs has joined #m-labs
marble[m] has joined #m-labs
rohitksingh_work has quit [Read error: Connection reset by peer]
rohitksingh_work has joined #m-labs
<rjo[m]> what do you want to do? i'd have to set it up again. currently the probe is in use.
rohitksingh_work has quit [Read error: Connection reset by peer]
<mtrbot-ml> [mattermost] <sb10q> develop the test firmware (pwm and adc)
<mtrbot-ml> [mattermost] <sb10q> or @hartytp could send me a probe, but then there's the risk that the problem is elsewhere and it still won't work
mumptai has joined #m-labs
cedric has quit [Ping timeout: 245 seconds]
cedric has joined #m-labs
cedric has quit [Changing host]
cedric has joined #m-labs
ohama has quit [Ping timeout: 248 seconds]
ohama has joined #m-labs
mumptai has quit [Quit: Verlassend]