irclog2html for #openjtag on 20070117

01:24.06*** join/#openjtag nslu2-log (i=slug@nslu2-linux/dyoung)
01:37.03*** join/#openjtag bullet (n=bullet@11.238.203.62.cust.bluewin.ch)
04:42.07*** join/#openjtag ka6sox-laptop (n=tom@nslu2-linux/ka6sox)
05:52.08*** join/#openjtag bullet_ (n=bullet@97.223.203.62.cust.bluewin.ch)
06:57.16*** join/#openjtag AchiestDragon (n=david@whipy.demon.co.uk)
09:03.41*** join/#openjtag aproemel (n=aproemel@www-cache.bocholt.fh-gelsenkirchen.de)
09:04.08aproemelhi together, i've got a problem with my ATMEL AT91RM9200
09:04.20aproemeldoes anybody has any expirience with this device ?
10:41.23vmaster_aproemel: what kind of problems?
10:41.49*** join/#openjtag rwhitby (n=rwhitby@nslu2-linux/rwhitby)
10:42.07aproemelI've created a asm starup (with KEIL IDE) and wrote a small function that should toggle port B
10:42.30aproemelIf i upload the hex file to the prozessor with XMODEM nothing happens
10:42.40aproemelI don't have a JTAG Debugger
10:43.19aproemelI'll explain what i want to do
10:43.37aproemelI build a own board, only prozessor, SDRAM and Serial Interface
10:43.53aproemelwith this board i want to test the SDRAM interface
10:44.20aproemeli haven't spent Flash to the board, so i'm not able to use uboot
10:46.49vmasteraproemel: you're using the AT91RM9200's buildin bootloader?
10:46.56aproemelyes
10:48.17vmasterand which tool did you use for the upload?
10:48.38aproemelCuteCom with XMODEM protocol
10:50.55vmasteryou said you tried to upload the hex file - i believe the bootloader expects a plain binary
10:51.49aproemelmhh, maybe thats my fault
10:51.58aproemeldo you work with a AT91RM9200 ?
10:52.09vmasteri used to work with one, but I never used the builtin bootloader
10:52.32aproemelyou had u-boot in flash, or ?
10:52.35vmasteranyway, the bootloader definitely expects a binary file
10:52.36vmasteryeah
10:52.56vmasterand I had JTAG (my own JTAG debugger, OpenOCD)
10:53.59aproemelmhh, well a Jtag Debugger would be nice, i've to talk to my boss, that i'll get one
11:20.58aproemelvmaster: did you build your board at your own? or was it a Demo Board like the one from ATMEL ?
11:23.39vmasterI only worked with a CSB337 (cogent). Originally my university wanted to design a board of their own, but this was never completed.
11:24.53vmasterwhat are your long-term goals for the AT91RM9200? Linux?
11:26.13aproemelI've to build a own board, and have to do a linux adaption
11:27.09aproemelist my Diplom Arbeit
11:27.09vmasterok, so you'll end up using the GNU tools anyway, right?
11:27.12aproemelsure
11:27.19aproemelmy toolchain works fine with the embest demo board
11:28.59aproemelbut i haven't found a documentation which parameters i have to use for gas to compile my startup assembler file
11:29.09vmasterregarding the JTAG debugger (you said you'd have to ask your boss): You can use inexpensive hardware (Wiggler, FT2232 based USB dongle) with the OpenOCD (which is free/open software)
11:29.42aproemelmhh, what shall it cost?
11:30.06aproemelthat i can tell him a price on friday
11:30.28vmasterI don't think you need any parameter for gas at all - just a linker script, that tells the linker (ld) where to put your code and data
11:30.38vmasteryou can build a wiggler yourself for around 10€, I suppose
11:30.44vmasterYou can get one ready-made for ~20€
11:31.30vmasterThe cheapest USB based dongle is 29€ (+ VAT and shipping from .ch)
11:32.15aproemelwell, <200? for all ?
11:33.17aproemelwhat do you thin about this device: http://www.amontec.com/jtagkey.shtml
11:34.01vmasterI have one on my desk - but it's only worth the money if you're considering non-3.3V devices
11:35.22vmasterif you just want to use it with the AT91RM9200 you can do with the much cheaper JTAGkey-tiny
11:35.54vmasteryou'll have to use the OpenOCD with all FT2232 based dongles (Amontec JTAGkeys, Olimex ARM-USB-OCD, Signalyzer, home-made)
11:36.12vmasterRowley's CrossWorks will support them with the next release, too
11:36.42vmasterthe OpenOCD is quite stable, but as most of the free tools it's not as easy to use for a beginner as the commerical ones
11:36.50aproemelwell, if the JTAGkey-tiny works with my AT91RM9200 everything will be fine
11:37.14aproemelis there good docu fpr OpenOCD ?
11:38.05vmasterthere's an active forum at sparkfun.com and a Wiki explaining most of the config options and commands at http://openfacts.berlios.de/index-en.phtml?title=Open_On-Chip_Debugger
11:38.14vmasterthe manual in the berlios files section is outdated
11:38.34vmasterthe major problem for a beginner is getting the .cfg file right
11:40.18aproemelwell, i think i have to try it
11:41.33vmasterit's by far the cheapest solution, and I've used it for exact the same job - getting U-Boot and Linux to run
11:42.06vmasterother JTAG debuggers are >200$ and require the use of software >1000$
11:42.10aproemelok, then i'll do so too
11:42.10aproemel:-)
11:42.25aproemeli think <200? wont be a big problem
11:44.39aproemelthanks for your help
11:44.54aproemelI'll tell you if it works :-) if i get such a debugger :-)
11:46.58aproemelvmaster: one question about your work
11:47.25aproemeldid your write anything in assembly language ?
11:48.35vmasterthe low-level startup files for u-boot
11:49.07aproemelwould you tell me your gas parameters?
11:49.52vmasterU-Boot sets them globally, I didn't have to change anything
11:50.08aproemelaahh, ok
11:50.13vmastersearch the web for Jim Lynch's tutorial
11:50.37vmasteron using the GNU tools with Eclipse to program Philips LPC2000 (ARM7)
11:51.16aproemelhttp://gnuarm.alexthegeek.com/
11:51.20aproemeli think you mean this
11:52.04vmastermhh, yeah, but I think that's the big package with all the software, which you don't need
11:52.21aproemeli download it, an look what i need, and what not
11:54.47vmasterhe has an example using a .S startup file, a .c main file, and a linker script
11:55.30aproemelthat is great
11:59.05aproemelhttp://www.olimex.com/dev/pdf/ARM%20Cross%20Development%20with%20Eclipse%20version%203.pdf
11:59.14aproemelfound the pdf
11:59.46vmasteryeah, version 3 is slightly older, but the gas/ld stuff should be the same
12:00.11aproemeli'm searching for a later version then
12:31.46*** join/#openjtag [g2] (n=g2@nslu2-linux/g2)
12:50.32*** join/#openjtag nm (n=nm@58.187.131.55)
12:50.44nmre *
12:53.17nmHi all, can openocd run on Linux platform ?
13:09.23aproemelvmaster: do you build your toolchain at your own?
13:09.44aproemelor do you used something like "crosstool" from dan kegel or "buildroot"
13:17.54vmasternm: yes, that's what i wrote it on. Support for Cygwin, native Windows and FreeBSD was added later
13:18.58vmasteraproemel: I've used binary releases (ELDK from denx), toolchains built with crosstool and built on my own
14:22.48aproemelvmaster: thanks
14:23.17*** join/#openjtag AchiestDragon (n=david@whipy.demon.co.uk)
16:01.43[g2]vmaster rocks! :)
17:12.01*** join/#openjtag vmaster_ (i=vmaster@p549B4E06.dip.t-dialin.net)
17:13.29*** join/#openjtag A-Dragon-laptop (n=david@whipy.demon.co.uk)
17:15.01*** join/#openjtag LostThePlot (n=david@whipy.demon.co.uk)
18:13.57*** part/#openjtag [g2] (n=g2@nslu2-linux/g2)
18:35.17*** join/#openjtag Bitmaster (n=Bitmaste@c-fb61e253.325-1-64736c12.cust.bredbandsbolaget.se)
19:02.24*** join/#openjtag bullet (n=bullet@114.237.203.62.cust.bluewin.ch)
20:37.10*** join/#openjtag rwhitby (n=rwhitby@nslu2-linux/rwhitby)
21:59.58*** join/#openjtag AchiestDragon (n=david@whipy.demon.co.uk)
22:10.17*** join/#openjtag AchiestDragon_ (n=david@whipy.demon.co.uk)
23:00.30*** join/#openjtag LostThePlot_1 (n=david@whipy.demon.co.uk)
23:07.46*** join/#openjtag LostThePlot_2 (n=david@whipy.demon.co.uk)
23:07.46*** join/#openjtag AchiestDragon_ (n=david@whipy.demon.co.uk)
23:13.33*** join/#openjtag _AchiestDragon (n=david@whipy.demon.co.uk)
23:13.35*** join/#openjtag LostThePlot_3 (n=david@whipy.demon.co.uk)
23:20.35*** join/#openjtag _AchiestDragon_ (n=david@whipy.demon.co.uk)
23:23.41*** join/#openjtag _AchiestDragon (n=david@whipy.demon.co.uk)
23:27.41*** join/#openjtag AchiestDragon (n=david@whipy.demon.co.uk)
23:32.59*** join/#openjtag AchiestDragon_ (n=david@whipy.demon.co.uk)
23:41.28*** join/#openjtag _AchiestDragon_ (n=david@whipy.demon.co.uk)
23:44.33*** join/#openjtag _AchiestDragon (n=david@whipy.demon.co.uk)

Generated by irclog2html.pl by Jeff Waugh - find it at freshmeat.net! Modified by Tim Riker to work with blootbot logs, split per channel, etc.