00:01.37 | [g2-lap] | lennert ping |
00:01.54 | lennert | pong |
00:02.00 | [g2-lap] | I'm back |
00:02.10 | [g2-lap] | out with the kids a little |
00:02.10 | lennert | good |
00:02.13 | lennert | nice |
00:02.18 | lennert | i was watching a political debate |
00:02.23 | lennert | the first i've seen in 6 years |
00:02.24 | lennert | anyway |
00:02.26 | [g2-lap] | heh |
00:02.31 | lennert | can you try uncommenting the gpio port c stuff? |
00:02.39 | lennert | just put the a/b/d stuff between #if 0 |
00:02.44 | lennert | i probably messed those up somehow |
00:02.52 | [g2-lap] | Ok |
00:02.57 | lennert | it should work then |
00:04.52 | [g2-lap] | lennert :) |
00:04.57 | [g2-lap] | <PROTECTED> |
00:04.57 | [g2-lap] | Debug: jtag.c:1043 jtag_init(): |
00:04.57 | [g2-lap] | gpio_data_register = 40015008 |
00:04.57 | [g2-lap] | gpio_data_direction_reg = 40015018 |
00:04.57 | [g2-lap] | Debug: jtag.c:937 jtag_reset_callback(): |
00:05.00 | [g2-lap] | Error: jtag.c:989 jtag_validate_chain(): Error validating JTAG scan chain, IR mismatch |
00:05.03 | lennert | that's much better |
00:05.05 | lennert | hmmm |
00:05.09 | lennert | nothing connected? :P |
00:05.14 | [g2-lap] | right |
00:05.22 | lennert | can you check if something happens on TCK? |
00:05.33 | lennert | for example.. delay one second every time TCK/TDO/TMS get changed |
00:05.37 | lennert | just put a sleep(1); in there |
00:05.45 | lennert | and check with your meter whether the pin for TCK toggles |
00:06.06 | [g2-lap] | yeah I could |
00:06.30 | [g2-lap] | I think just working out the pinouts and connecting it up to something will help |
00:06.36 | lennert | yup |
00:06.39 | lennert | make sure the levels match |
00:06.49 | [g2-lap] | I want to check the levels too before hooking it up to a board |
00:06.51 | lennert | or put some converter in between |
00:06.51 | lennert | yeah |
00:07.02 | [g2-lap] | I've got plenty of boards |
00:07.16 | lennert | you do :P |
00:07.20 | [g2-lap] | I think there are 4 gounds on the bottom of that connector |
00:07.35 | [g2-lap] | that connector being the keyboard connectors |
00:07.46 | [g2-lap] | so I think we can have a reasonable ground connection |
00:08.47 | [g2-lap] | I think I could just pull the init code out and drive the IOs directly |
00:08.55 | [g2-lap] | in a little program |
00:08.59 | lennert | sure |
00:09.33 | [g2-lap] | it kinda amazing this was just an idea about 48 hours ago if that |
00:09.49 | [g2-lap] | at least to me anyway |
00:09.57 | lennert | well, yeah |
00:10.02 | lennert | you prodded me to check the gpio speed |
00:10.08 | lennert | i checked and remarked we could do jtag with that |
00:10.19 | [g2-lap] | step by step.. |
00:10.23 | [g2-lap] | inch by inch |
00:10.31 | [g2-lap] | boom there you are :) |
00:10.32 | lennert | ferrari by ferrari |
00:10.51 | [g2-lap] | speed-o-light by speed-o-light :) |
00:19.07 | [g2-lap] | Ok I'm I've got pins 1 3 5 7 9 11 hooked up on the header |
00:19.16 | [g2-lap] | s/I'm// |
00:38.05 | [g2-lap] | lennert I'm getting some values |
00:38.10 | [g2-lap] | they are 3.3v |
00:44.40 | [g2-lap] | lennert I'm driving TCLK |
00:44.55 | [g2-lap] | ~ 1H |
00:45.33 | [g2-lap] | <PROTECTED> |
00:45.33 | [g2-lap] | <PROTECTED> |
00:45.33 | [g2-lap] | <PROTECTED> |
00:45.33 | [g2-lap] | <PROTECTED> |
00:45.33 | [g2-lap] | <PROTECTED> |
00:46.11 | [g2-lap] | or maybe that's perl |
00:47.08 | [g2-lap] | I guess there is :) |
00:57.08 | [g2-lap] | vmaster around ? |
01:21.41 | [g2-lap] | I wanted to ask what would happen if I was hooked up to a wrong device |
01:22.00 | [g2-lap] | if it'd just scan the device and report back |
01:22.27 | [g2-lap] | dwery I think openOCD is running on my glomation board |
01:22.43 | dwery | openOCD is a jtag tool, right? |
01:22.48 | [g2-lap] | dunno if you followed the measurements lennert made yesterday |
01:22.54 | [g2-lap] | yup vmaster's |
01:22.58 | dwery | I gave a quick look |
01:23.11 | dwery | and you are using gpio to do it, right? |
01:23.13 | [g2-lap] | we should be able to drive near 8Mhz |
01:23.20 | [g2-lap] | yeah |
01:23.26 | [g2-lap] | bit bang'n |
01:23.37 | dwery | so this is considerably faster than the method that were available as of today? |
01:23.55 | [g2-lap] | vmaster was saying the parallel today is about 350K |
01:24.19 | [g2-lap] | so if we go to 4M it'll be 10x+ faster |
01:24.33 | dwery | ok.. what are openOCD capabilities in terms of flash/cpld programming? |
01:25.06 | [g2-lap] | I think there's some flashing, but more important there's some debug capability |
01:25.13 | dwery | great! |
01:25.17 | [g2-lap] | we'll be able to debug boot code etc... |
01:25.25 | [g2-lap] | or kernel stuff |
01:25.33 | dwery | and congrats |
01:26.09 | [g2-lap] | well it's not all done yet but we've made great progress |
01:26.23 | [g2-lap] | thx from the team :) |
01:26.43 | [g2-lap] | beewoolie's stuff it built too |
01:27.00 | [g2-lap] | but there's no gpio driver yet |
01:27.26 | [g2-lap] | vmaster has a telenet and gdb backend/front-end |
01:27.35 | [g2-lap] | which ever end you think of it aas |
01:27.37 | [g2-lap] | as |
03:03.43 | *** join/#openjtag dwery (n=dwery@nslu2-linux/dwery) |
03:25.01 | *** join/#openjtag ByronT_ (n=byron-po@nslu2-linux/ByronT) |
08:31.42 | koen | good morning all |
08:32.18 | lennert | morning |
08:32.52 | ka6sox | mawnin |
08:33.00 | lennert | good yawnin' |
08:33.05 | lennert | [g2-lap]: sorry, i fell asleep |
09:49.34 | [g2] | lennert great! sleep is a good thing :) |
09:53.27 | [g2] | vmaster up yet ? |
09:55.48 | vmaster | [g2]: yeah |
09:56.18 | [g2] | vmaster the port C stuff was toggling the GPIO lines last night |
09:56.26 | vmaster | oh, nice |
09:56.31 | [g2] | I had an LED on a 1 second |
09:56.54 | [g2] | Light Dark Light Dark .... |
09:57.18 | vmaster | the openocd verifies that the specified jtag chain is correct, by doing an instruction register scan |
09:57.24 | [g2] | So my question for you was about OCD |
09:57.41 | [g2] | does it print out the result ? |
09:57.56 | vmaster | it quits if the check failed |
09:58.06 | vmaster | but you can enable extensive debug logging |
09:58.07 | [g2] | sure (as it should) |
09:58.08 | vmaster | in jtag.h |
09:58.35 | vmaster | there's a #define _DEBUG_JTAG_IO_ |
09:58.37 | [g2] | I meant it should fail that's a good sanity check |
09:58.49 | [g2] | I saw that the other ay |
09:58.53 | [g2] | s/ay/day/ |
09:59.44 | [g2] | and right now there's arm7 and arm9 but now Xscale support right ? |
09:59.51 | vmaster | yeah |
10:00.05 | vmaster | i've started looking into xscale, but this is going to take some time |
10:00.48 | [g2] | sure |
10:01.08 | [g2] | I'm not too worried about that |
10:01.58 | [g2] | you currently have some gdb support for arm7 and arm9 right ? |
10:02.06 | vmaster | yeah |
10:02.35 | vmaster | well, generic gdb support, as long as the target specific code implements the interface defined in target.h |
10:02.37 | [g2] | so if we wanted to use openOCD do debug say a bootloader on the ARM9 we could |
10:02.42 | vmaster | yes |
10:02.55 | [g2] | that's _just_ _cool_ |
10:05.02 | [g2] | Ok I'll see if I can dig up a arm9 target that's got JTAG brought ut |
10:05.08 | [g2] | s/ut/out/ |
10:06.07 | vmaster | you can test the jtag functionality with anything that's got a jtag connector |
10:06.38 | vmaster | the telnet interface offers low-level jtag commands, like ir-scans, dr-scans, runtest, etc. |
10:07.15 | [g2] | Ok |
10:07.35 | [g2] | so I don't need to enable the low-level stuff |
10:08.13 | vmaster | the low level commands are always there |
10:08.25 | vmaster | the target commands are only there when a valid "target ..." configuration line was found |
10:09.53 | [g2] | vmaster around for 5 minutes ? |
10:10.13 | vmaster | for several hours, i guess |
10:11.25 | [g2-lap] | I'm like 6 pins being hooked up to a CPLD |
10:11.44 | [g2-lap] | then we can run the telnet and and do some JTAG scans |
10:12.05 | vmaster | yeah |
10:12.21 | vmaster | if it's a coolrunner you could even program it |
10:12.51 | [g2-lap] | XC9572 |
10:13.01 | vmaster | well, could work, too, but not tested yet |
10:13.07 | vmaster | mhh, maybe not |
10:13.20 | vmaster | but at least you can scan the idcode |
10:13.48 | [g2-lap] | that's all we really need |
10:13.59 | [g2-lap] | then POC is done |
10:14.09 | [g2-lap] | that uses all the lines right ? |
10:14.24 | vmaster | tdi, tms, tck and tdo would be enough |
10:14.30 | vmaster | trst makes things easier |
10:14.44 | vmaster | srst is only required to do target resets (and mandatory for xscale) |
10:15.09 | [g2-lap] | ok 4 of the lines which is plenty |
10:15.18 | [g2-lap] | plenty for POC |
10:26.15 | vmaster | that's the jtag_device line you should use for a xc9500: |
10:26.16 | vmaster | jtag_device 8 0x01 0x03 0xfe |
10:26.45 | vmaster | 8 bit IR register, captures 0x1 during Capture-IR, first 2 bits should be checked, idcode instruction is 0xfe |
10:33.45 | [g2-lap] | vmaster OK I'm ready to go |
10:34.13 | [g2-lap] | do I pass a config if I'm just gonna telnet in ? |
10:34.20 | vmaster | yeah |
10:34.25 | vmaster | hold on |
10:36.06 | vmaster | mmd.ath.cx/xc9500.cfg |
10:38.07 | [g2-lap] | <PROTECTED> |
10:38.07 | [g2-lap] | Debug: jtag.c:1043 jtag_init(): |
10:38.08 | [g2-lap] | gpio_data_register = 40015008 |
10:38.08 | [g2-lap] | gpio_data_direction_reg = 40015018 |
10:38.08 | [g2-lap] | Debug: jtag.c:937 jtag_reset_callback(): |
10:38.10 | [g2-lap] | Error: jtag.c:989 jtag_validate_chain(): Error validating JTAG scan chain, IR mismatch |
10:38.36 | vmaster | can you recompile with _DEBUG_JTAG_IO_? |
10:38.43 | [g2-lap] | sure |
10:39.10 | [g2-lap] | BTW thx for taking the time for all the hand-holding with me ! |
10:39.33 | vmaster | heh, thx for porting the openocd to your platform |
10:42.27 | [g2-lap] | my pleasure :) |
10:42.41 | [g2-lap] | I guess we are your 1st port ? |
10:42.48 | [g2-lap] | ./src/openocd -d -f doc/configs/xc9500.cfg |
10:42.48 | [g2-lap] | Debug: jtag.c:1044 jtag_init(): |
10:42.48 | [g2-lap] | gpio_data_register = 40015008 |
10:42.48 | [g2-lap] | gpio_data_direction_reg = 40015018 |
10:42.49 | [g2-lap] | Debug: jtag.c:938 jtag_reset_callback(): |
10:42.49 | [g2-lap] | Debug: jtag.c:825 jtag_build_buffer(): fields[0].out_value: 03ff |
10:42.51 | [g2-lap] | Debug: jtag.c:856 jtag_read_buffer(): fields[0].in_value: 03ff |
10:42.53 | [g2-lap] | Debug: jtag.c:938 jtag_reset_callback(): |
10:42.57 | [g2-lap] | Error: jtag.c:990 jtag_validate_chain(): Error validating JTAG scan chain, IR mismatch |
10:44.56 | [g2-lap] | vmaster lennert I just added and extra bit VCC_BIT (64) to pull VCC from |
10:45.55 | vmaster | it reads back all 1s |
10:46.10 | vmaster | so either the output or the input didn't work :) |
10:46.49 | [g2-lap] | vmaster I've got a 4 led segment I can drive |
10:47.06 | [g2-lap] | we can check the 3 output pins |
10:47.14 | [g2-lap] | then check the 1 input |
10:49.54 | vmaster | ok, tck and tdi should start at 0, tms should start at 1 |
10:50.13 | vmaster | then tck should toggle 7 times |
10:52.13 | lennert | wow, lots of discussion |
10:53.41 | lennert | i _think_ i did the reset values correctly |
11:09.07 | [g2-lap] | Ok a little desk clean up |
11:09.39 | [g2-lap] | I'm hooked up with a 4 LEDs to TDO, TDI, TCLK and TMS |
11:09.50 | lennert | (i hope you have series resistors :) |
11:10.15 | lennert | TDO is an input as far as the ep93xx is concerned, so it will not drive that pin |
11:10.26 | lennert | but TDI/TCK/TMS/TRST/SRST should 'work' |
11:19.03 | [g2-lap] | Ok I'm driving the LEDs |
11:19.21 | [g2-lap] | I'll need to separate out a BIT at a time |
11:20.29 | [g2-lap] | actually I think we are pretty OK |
11:22.19 | [g2-lap] | the real question is what is VCC for the XC95 |
11:23.37 | vmaster | there are three variants of the xc95 |
11:25.21 | vmaster | plain xc9500 is 5v, xc9500xl is 3.3v and xc9500xv is 2.5v |
11:30.59 | [g2-lap] | great |
11:31.04 | [g2-lap] | we've got an XL :) |
11:31.40 | lennert | [g2-lap]: we might still want to use some kind of interface logic to allow it to use multiple different voltages |
11:32.10 | [g2-lap] | lennert absolutely |
11:32.22 | [g2-lap] | but that's a VL thingy |
11:32.30 | lennert | VL ? |
11:32.33 | lennert | Very much Later? :) |
11:32.42 | [g2-lap] | voltage level :) |
11:33.13 | [g2-lap] | well kill that dragon when we handle the high-speed rates |
11:33.20 | lennert | ok |
11:33.25 | [g2-lap] | lennert vmaster I think I know what the issue is |
11:34.05 | [g2-lap] | TDI is with respect to the DUT (device under test) right ? |
11:34.28 | lennert | TDI is an output to the ep93xx |
11:34.32 | lennert | TDO is an input to the ep93xx |
11:34.45 | [g2-lap] | right that's what I said |
11:34.51 | lennert | right |
11:35.10 | [g2-lap] | TDO looks stuck high |
11:35.20 | [g2-lap] | I'll have to verify my LED thingy |
11:35.39 | [g2-lap] | but TDI TMS and TCK all blink right |
11:35.45 | lennert | well |
11:35.51 | lennert | the ep93xx doesn't drive the TDO pin |
11:35.54 | vmaster | TDO only operates during Shift-IR/DR |
11:36.04 | vmaster | other than that it should be HighZ |
11:36.16 | [g2-lap] | pulled high ? |
11:36.33 | vmaster | i've seen all kinds of pull up/down on the jtag lines |
11:36.39 | vmaster | pulling high is recommended |
11:36.44 | lennert | [g2-lap]: try shorting the TDO pin to Vcc/GND with a 1kohm resistor and check whether the ep93xx can read the right values |
11:37.09 | lennert | [g2-lap]: if not, there's either someone pulling/pushing it already or you don't have the right pin |
11:37.18 | AchiestDragon | 4k7 |
11:39.53 | [g2-lap] | maybe it defaults high on my little LED gizmo |
11:40.12 | [g2-lap] | the other option is we are driving the JTAG too fast :) |
11:40.44 | AchiestDragon | the leds can affect it depeding how your driving them |
11:41.07 | [g2-lap] | AchiestDragon these are mutally exclusive tests |
11:41.23 | [g2-lap] | the LED gizmo is plugged in or the JTAG device |
11:41.26 | vmaster | [g2-lap]: yeah, that could be a problem |
11:41.29 | [g2-lap] | not both at the same time |
11:41.31 | vmaster | driving to fast |
11:41.53 | [g2-lap] | we are probably driving TCLK pretty fast |
11:42.17 | AchiestDragon | if using a transistor buffer to drive the leds you should be able to use them both at the same time |
11:44.40 | [g2-lap] | AchiestDragon at slow rates :) |
11:44.54 | [g2-lap] | at 15Mcycles per second I need help :) |
11:45.08 | [g2-lap] | electronic eyes |
11:45.54 | AchiestDragon | not shure on the ep93xx but on the pic micros you can read and write to the port faster than the port will respond , so the signal may not be raiseing to a full logic 1 state before dropping back to a 0 |
11:45.56 | lennert | or you just slow it down by a factor of 15 million :-) |
11:46.17 | lennert | AchiestDragon: that could be happening on the ep93xx as well |
11:46.30 | lennert | AchiestDragon: drive strength is kind of limited |
11:46.43 | AchiestDragon | you need a scope on the output see if the waveform looks ok |
11:48.36 | AchiestDragon | my scope died of old age last year not replaced it yet |
11:50.34 | dwery | btw.. if required, I should have a Xilinx dev board with 3.3v cpld device.. |
11:53.30 | [g2-lap] | dwery thx, but do you have a scope ? |
11:53.51 | dwery | a small one |
11:53.57 | dwery | how many MHz do you need? |
11:54.14 | lennert | the signal is 20 MHz max |
11:54.30 | [g2-lap] | and how many channels ? |
11:54.43 | lennert | just to look at the waveform, you need only 1? |
11:55.23 | [g2-lap] | actually well want to see the relationship between the signals |
11:55.35 | [g2-lap] | but 2 channels would be enough |
11:55.49 | [g2-lap] | through the transitive property |
11:56.13 | [g2-lap] | it's all slaved to TCLK anyway right ? |
11:56.20 | vmaster | yeah |
11:56.33 | vmaster | signals should change on the falling edge of tck |
11:57.08 | [g2-lap] | I'm guessing we are just plain driving the signals too fast |
11:57.18 | lennert | [g2-lap]: then put a delay in there :-) |
11:57.37 | [g2-lap] | lennert I was looking for that but I think it's been removed :) |
11:57.54 | lennert | struct timespec zzzz; |
11:57.57 | lennert | zzzz.tv_sec = 0; |
11:58.06 | lennert | zzzz.tv_nsec = 10000000; |
11:58.12 | lennert | nanosleep(&zzzz, NULL); |
11:58.24 | lennert | after every write to the data register |
11:58.27 | lennert | just to see if it works |
11:58.46 | [g2-lap] | that'll work |
11:58.56 | [g2-lap] | vmaster had a delay counter |
11:59.34 | vmaster | but that delay was only useful with x86 |
11:59.49 | vmaster | i've simply repeated the outb calls |
12:00.07 | lennert | you can do that on ep93xx as well |
12:00.11 | lennert | each write is 20-ish cycles |
12:00.43 | vmaster | ah, yeah, sure |
12:01.02 | lennert | we can also just make a kernel driver and watch it sloooooooooooooow down :) |
12:01.14 | vmaster | hehehe |
12:06.47 | dwery | mm.. my scope might not be fast enough |
12:11.24 | [g2-lap] | dyoung-away up ? |
12:11.51 | dyoung-away | for you yes |
12:12.29 | dwer-away | bbl |
12:22.08 | [g2-lap] | dyoung-away hey ;) |
12:23.14 | [g2-lap] | dyoung-away sometime I'm wondering if you could put a scope on glomation |
12:23.21 | dyoung-away | Sure |
12:23.29 | dyoung-away | If you can help me bring it up |
12:23.30 | lennert | dyoung-away: does your serial work yet? |
12:23.33 | lennert | right :) |
12:23.42 | dyoung-away | The serial is fighting me |
12:23.52 | [g2-lap] | serail on the glomation ? |
12:23.53 | dyoung-away | I have redboot prompt. |
12:23.56 | dyoung-away | yes |
12:24.03 | [g2-lap] | that's all you need and ethernet :) |
12:24.03 | lennert | oh |
12:24.05 | dyoung-away | but then I dont get anyn kernel messages |
12:24.09 | lennert | hmmm |
12:24.13 | lennert | are you running derevo14? |
12:24.24 | lennert | what load address are you using? |
12:24.29 | dyoung-away | then after some amount of time, I get "Press enter for console" |
12:24.36 | dyoung-away | This is totally factory. |
12:24.40 | [g2-lap] | sure |
12:24.40 | lennert | well, that's expected, no? |
12:24.45 | [g2-lap] | yeah :) |
12:24.46 | lennert | the stock kernel doesn't output log messages |
12:24.51 | dyoung-away | Oh |
12:24.56 | lennert | they turned that off for some reason |
12:25.03 | dyoung-away | so when I press enter for console.... ? |
12:25.08 | lennert | you get busybox |
12:25.12 | lennert | ? |
12:25.21 | dyoung-away | No, I get nothing |
12:25.29 | lennert | hmm |
12:25.30 | dyoung-away | okay so it probably DOES work then |
12:25.33 | [g2-lap] | did lennert actually power on his ep9312 ? |
12:25.38 | lennert | [g2-lap]: no... :-/ |
12:25.46 | lennert | [g2-lap]: i'm slack :-| |
12:25.54 | dyoung-away | [g2-lap]: I've been slacking on the glomation |
12:26.03 | dyoung-away | Been fighting other fights |
12:26.08 | [g2-lap] | dyoung-away np |
12:26.12 | dyoung-away | but I really want to play with the thing |
12:26.17 | [g2-lap] | we've been having fun |
12:26.46 | dyoung-away | If you can outline for me what you want me to hit with a scope; I can do |
12:26.52 | [g2-lap] | dyoung-away I've got a kernel (jffs2 partition) and an OCDprogram |
12:27.05 | lennert | dyoung-away: toggle a gpio and see what the waveform looks like |
12:27.06 | dyoung-away | nothing fast though, I only have 100Mhz of scope |
12:27.21 | lennert | we can only toggle at 15 MHz or so :) |
12:27.47 | dyoung-away | [g2-lap]: I dontsuppose I could interest you in send me your image? :-) |
12:28.33 | [g2-lap] | that's exactly what I'm thinking |
12:28.51 | dyoung-away | I can do it i around 8hrs or so |
12:29.01 | dyoung-away | I'm getting a bit sleepy.... |
12:29.01 | [g2-lap] | I'm wondering which libraries the openocd stuff uses |
12:29.14 | dyoung-away | but I have the scope out; its ready for action |
12:29.14 | [g2-lap] | dyoung-away Ok that'll be great |
12:29.27 | [g2-lap] | by then you should have a kernel and jffs2 partition |
12:29.31 | dyoung-away | I also have the GEBC9312 out |
12:30.28 | [g2-lap] | you can just load and flash the jffs2 then load the kernel and boot to the rootfs on flash |
12:30.28 | vmaster | [g2-lap]: libc |
12:30.41 | vmaster | no other dependencies |
12:31.03 | [g2-lap] | vmaster lennert I put the nanosleep in and get the same results |
12:31.07 | dyoung-away | how much detail do you want on this waveform? |
12:31.09 | [g2-lap] | I didn't delay the read |
12:31.37 | dyoung-away | if you need detail, I can take it to the office and slap a good scope on it. |
12:32.42 | dyoung-away | no promises on that though, because the boss said something about taking the scope to Britanny. |
12:33.05 | dyoung-away | what am I scoping? |
12:33.13 | lennert | one of the GPIO lines |
12:33.15 | [g2-lap] | I don't think we'll need a lot of detail |
12:33.29 | dyoung-away | is there a redboot command I can use? |
12:33.38 | dyoung-away | or do I really need [g2] image? |
12:33.56 | [g2-lap] | dyoung-away you'll want the image |
12:34.49 | [g2-lap] | dyoung-away I think we are a little timing issue away from doing JTAG debugging on ARM7/9 with the glomation |
12:34.49 | dyoung-away | ok I do tommrow then. :-) |
12:35.06 | [g2-lap] | dyoung-away you know where the wiki is ? |
12:35.09 | dyoung-away | heh as usual I miss all the fun |
12:36.05 | [g2-lap] | dyoung-away you know where the ep93xx wiki is ? |
12:36.19 | dyoung-away | Yes |
12:36.28 | dyoung-away | so I want to hit J30 ? |
12:36.44 | [g2-lap] | Ok I'll add a page for the OCD stuff |
12:37.08 | [g2-lap] | J8 |
12:38.25 | dyoung-away | ok thats pretty easy access |
12:44.31 | [g2-lap] | dyoung-away vmaster lennert on the Xilinx DLC5 cable VCC is an output from the device right :? |
12:45.03 | [g2-lap] | or is it an input to the device ? |
12:45.06 | lennert | not sure, vmaster probably knows |
12:45.06 | dyoung-away | the vcc pin provides the power to the DLC5 |
12:45.49 | [g2-lap] | Ok then I think that's my problem |
12:46.23 | [g2-lap] | I had an unpowered device connected on the cable |
12:46.36 | [g2-lap] | and I'm driving VCC from the EP9312 |
12:47.10 | [g2-lap] | what I should be doing is powering this device and have VCC not connected |
12:47.35 | [g2-lap] | just GND, TCLK, TMS, TDI and TDO |
12:47.55 | [g2-lap] | correct ? |
12:53.49 | dyoung-away | so I'm scannin g the documentation. Do you really need a Null Modem ? |
12:56.20 | [g2-lap] | dyoung-away not if you switch pins 2 and 3 |
12:56.40 | [g2-lap] | I connect straight through but I've swapped 2 and 3 |
12:56.58 | dyoung-away | I connect straight through, and I'm using all straight cables, so.... |
12:57.05 | [g2-lap] | I think I've got pin 3 on the glomation connected to DB-9 pin 2 |
12:57.43 | [g2-lap] | dyoung-away we may not need the scope btw :) |
12:58.15 | lennert | [g2-lap]: it's working? |
12:58.30 | [g2-lap] | lennert no :( but I've got an idea :) |
12:59.09 | [g2-lap] | I can I can turn the ts7200 into a capture devices and will have wave forms before dyoung-away wakes up :) |
12:59.16 | lennert | hehe |
12:59.19 | lennert | go for it :) |
13:00.45 | vmaster | there's Vref which is used to detect if a target is powered (input to the debugger interface) |
13:00.56 | *** join/#openjtag prpplague (n=billybob@72.22.146.238) |
13:01.05 | vmaster | and Vcc which may be used to power the debug interface from the target, or to power the target from the debug interface |
13:01.16 | AchiestDragon | http://www.whipy.demon.co.uk/xgeep.pdf updated,, http://www.whipy.demon.co.uk/geep-sch.pdf updated ,,, :) dvi done almost , just the composite video out to add |
13:01.48 | [g2-lap] | vmaster then I should have been OK |
13:02.08 | [g2-lap] | as we'd be powering the target from the cable |
13:04.28 | [g2-lap] | lennert T4 is a count up timer right ? |
13:05.48 | lennert | yeah |
13:05.53 | lennert | 40 bit timer |
13:06.04 | lennert | 983.04 kHz or so |
13:06.07 | lennert | so not very fine-grained |
13:07.52 | dyoung-away | [g2-lap]: I am sure that the cable Vcc provides power to the DLC5 cable. |
13:07.55 | dyoung-away | http://www.xilinx.com/bvdocs/userguides/ug130.pdf |
13:07.57 | dyoung-away | page 62 |
13:09.11 | dyoung-away | that is, the DUT provides power to the cable. |
13:10.23 | [g2-lap] | dyoung-away Ok thx |
13:11.13 | dyoung-away | serial is still fighting me |
13:11.44 | dyoung-away | surely a sign to sleep on it |
13:12.08 | lennert | get some rest :-) |
13:12.27 | dyoung-away | When I press control-c in redboot nothing happens; and it continues to boot |
13:14.30 | [g2-lap] | I press it right after seeing the + |
13:20.10 | dyoung-away | no joy. |
13:20.23 | dyoung-away | on 2 separate machines |
13:20.29 | dyoung-away | with differnt cable sets |
13:20.45 | dyoung-away | maybe its not meant to be |
13:22.33 | [g2-lap] | sounds like the RX to the device isn't connected right |
13:22.42 | [g2-lap] | or there's flow-control or something |
13:23.05 | [g2-lap] | that would need to be off |
13:23.18 | [g2-lap] | but I'm sure you already set that up |
13:26.10 | [g2-lap] | lennert how fast was this thing reading ? |
13:26.37 | dyoung-away | grrr |
13:26.56 | [g2-lap] | a bear in HI ? |
13:27.08 | *** join/#openjtag bullet (n=bullet@12.220.203.62.cust.bluewin.ch) |
13:27.29 | dyoung-away | I'm just getting frustrated not being able to send. |
13:27.53 | dyoung-away | Guess I'll hit the MAX2343 with the scope. |
13:28.07 | [g2-lap] | are you on P1 ? |
13:28.18 | dyoung-away | Yes |
13:28.28 | [g2-lap] | Ok just checking silly stuff |
13:30.01 | lennert | it was reading at 10Msamples/sec |
13:43.54 | dyoung-away | ok i'm a moron |
13:43.59 | dyoung-away | that does it. |
13:44.37 | koen | 'night dyoung-zzzz |
13:45.48 | [g2-lap] | dyoung-zzzz sweet dreams |
13:50.14 | dyoung-zzzz | har har |
13:50.53 | dyoung-zzzz | I need all this fancy test equipment to tell me I'm an idiot that doesnt RTFM. :-) |
13:54.34 | [g2-lap] | dyoung-zzzz I thought you were going to sleep ? |
13:58.52 | lennert | hehe |
14:01.54 | dyoung-zzzz | Um.. |
14:02.03 | dyoung-zzzz | 12345 != 13579 |
14:02.13 | lennert | right :-) |
14:03.01 | dyoung-zzzz | so I'm GTG now. |
14:03.11 | dyoung-zzzz | *now* I can sleep in peace. :-) |
14:03.13 | lennert | good to go? :) |
14:03.32 | [g2-lap] | sweet peaceful sleep |
14:03.52 | dyoung-zzzz | If you want me to hit someting with a scope, I do in around 7 hrs |
14:04.20 | [g2-lap] | dyoung-zzzz OK great thx |
14:59.31 | *** join/#openjtag vmaster_ (i=vmaster@p549B55A3.dip.t-dialin.net) |
15:29.12 | [g2-lap] | anybody know of any fast/cheap optical transceivers ? |
15:29.33 | lennert | just buy a 1000baseSX GBIC? |
15:29.44 | lennert | or do you mean something else? |
15:30.11 | [g2-lap] | any idea what they run ? |
15:30.24 | [g2-lap] | and how are they driven ? |
15:30.34 | [g2-lap] | GMII ? |
15:30.45 | lennert | SERDES |
15:30.58 | lennert | if you want GMII you need an additional ixf1104 or pmc/sierra 3386 or something |
15:31.05 | lennert | this is for gigabit, right? |
15:31.17 | [g2-lap] | no, but gigabit would work |
15:32.20 | lennert | the needed parts aren't very easy to solder yourself though |
15:32.43 | [g2-lap] | hey I'm all for getting stuff manufactured |
15:33.12 | lennert | go with the intel ixf1104 then, it's a load cheaper than the pmc/sierra |
15:33.33 | [g2-lap] | I don't need GMII |
15:33.41 | [g2-lap] | and I don't need SERDES |
15:34.35 | [g2-lap] | gigE would work fine |
15:35.01 | [g2-lap] | it'll send nearly 120MB over the link point to point |
15:35.19 | [g2-lap] | per second :) |
15:35.28 | lennert | well, most GigE transceivers use either SERDES, GMII, or SPI3 |
15:35.42 | lennert | SPI3 is one of the easier protocols to speak |
15:36.02 | [g2-lap] | so do any of the S3s speak one of those ? |
15:36.10 | lennert | 32 bit data path running at 50 MHz or so should be enough for a single gigabit pipe |
15:36.17 | lennert | i think you can make the S3 speak SPI3 |
15:36.33 | lennert | the S3 certainly won't speak SERDES, as SERDES is 1.25 giga-baud |
15:36.41 | lennert | basically, SERDES is what goes into the laser |
15:36.57 | [g2-lap] | or a backplane :) |
15:37.05 | lennert | or a backplane :) |
15:37.26 | lennert | spi3 is probably easiest |
15:37.42 | lennert | the ixf1104 is a quad gige phy |
15:37.58 | lennert | which runs spi3 at 125MHz or so |
15:38.05 | lennert | not sure if that's okay for the s3 |
15:38.09 | [g2-lap] | is there an ixf1101 ? |
15:38.19 | lennert | but you can always run it at a lower rate (or a decrease in available bandwidth) |
15:38.22 | [g2-lap] | or 02 |
15:38.22 | lennert | not sure.. |
15:38.31 | lennert | i don't think so |
15:38.35 | [g2-lap] | any clue what they cost ? |
15:38.57 | lennert | i saw prices a while ago.. hmm |
15:39.12 | lennert | Price: call :P |
15:39.19 | lennert | https://www.sierraic.com/pnresults.asp?navpart=IXF1104 |
15:39.55 | [g2-lap] | ring ring |
15:40.23 | lennert | hehe |
15:40.25 | lennert | you calling them? :) |
15:42.16 | [g2-lap] | left a message |
15:42.22 | [g2-lap] | they weren't there |
15:42.29 | [g2-lap] | talk is cheap right ? |
15:42.33 | lennert | hehe |
15:42.39 | lennert | cool :-) |
15:42.53 | lennert | there are all intel MACs: http://www.pcparents.com/design/network/products/optical/lc_tsp.htm |
15:42.59 | p2-mate | do they send free samples ? :) |
15:43.12 | lennert | hehe |
15:44.07 | *** join/#openjtag prpplague (n=billybob@72.22.146.238) |
15:46.21 | [g2-lap] | http://www.intel.com/design/network/products/lan/bsdl/ixf1104_bsdl.htm |
15:46.33 | [g2-lap] | that might be handy at some point :) |
15:46.47 | lennert | [g2-lap]: so, the pmc/sierra 3386 is a dual-port and the pmc/sierra 3387 is a single-port GigE |
15:47.17 | [g2-lap] | there are about 3 or 4 different things going here |
15:47.36 | lennert | http://www.pmc-sierra.com/products/details/pm3387/ http://www.pmc-sierra.com/products/details/pm3386/ |
15:47.42 | [g2-lap] | thx |
15:48.23 | [g2-lap] | one is a day-dream about an optical link between the JTAG attachment and the back-end processing |
16:31.54 | *** join/#openjtag beewoolie-afk (n=beewooli@206.124.142.26) |
16:44.22 | prpplague | beewoolie-afk: das bee in the house |
16:44.26 | prpplague | beewoolie-afk: whats cookin? |
16:44.31 | prpplague | beewoolie-afk: have a good trip? |
16:44.36 | beewoolie-afk | Excellent |
16:44.47 | beewoolie-afk | I'm all about the skate-skiing |
16:44.55 | prpplague | ahh |
16:45.01 | prpplague | beewoolie-afk: where did ya go? |
16:45.10 | beewoolie-afk | mt bachelor |
16:45.13 | prpplague | ahh |
16:45.18 | prpplague | haven't been there |
16:45.55 | beewoolie-afk | It's central Oregon. I like it a lot. Not expensive. Nice folks. I think it's owned by the state of O. |
16:52.09 | prpplague | yea, i've read about it before |
16:52.26 | prpplague | just never went to that area for skiing before |
17:41.39 | ka6sox-office | yawn |
17:42.23 | ka6sox-office | beewoolie-afk, my sister used to go to Mt Batchelor a lot |
17:42.27 | AchiestDragon | hi |
17:42.44 | beewoolie-afk | Hi folks |
17:43.59 | ka6sox-office | howdy AchiestDragon beewoolie-afk |
17:45.05 | ka6sox-office | looks like the debugging side is coming along. |
17:48.23 | prpplague | beewoolie-afk: so this week on that patch? hehe |
18:04.30 | prpplague | anyone here working with a s3c2410 based device? |
19:03.46 | [g2-lap] | hey beewoolie-afk ! |
19:04.14 | beewoolie-afk | [g2-lap]: hi |
19:04.27 | [g2-lap] | how goes mate ? |
19:04.42 | beewoolie-afk | just returned from skiing. |
19:11.33 | [g2-lap] | cool |
19:11.46 | [g2-lap] | good tracks ? |
23:15.00 | *** join/#openjtag DaKa (n=david@193.13.58.211) |
23:32.40 | AchiestDragon | <PROTECTED> |