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.08 | aproemel | hi together, i've got a problem with my ATMEL AT91RM9200 |
09:04.20 | aproemel | does anybody has any expirience with this device ? |
10:41.23 | vmaster_ | aproemel: what kind of problems? |
10:41.49 | *** join/#openjtag rwhitby (n=rwhitby@nslu2-linux/rwhitby) |
10:42.07 | aproemel | I've created a asm starup (with KEIL IDE) and wrote a small function that should toggle port B |
10:42.30 | aproemel | If i upload the hex file to the prozessor with XMODEM nothing happens |
10:42.40 | aproemel | I don't have a JTAG Debugger |
10:43.19 | aproemel | I'll explain what i want to do |
10:43.37 | aproemel | I build a own board, only prozessor, SDRAM and Serial Interface |
10:43.53 | aproemel | with this board i want to test the SDRAM interface |
10:44.20 | aproemel | i haven't spent Flash to the board, so i'm not able to use uboot |
10:46.49 | vmaster | aproemel: you're using the AT91RM9200's buildin bootloader? |
10:46.56 | aproemel | yes |
10:48.17 | vmaster | and which tool did you use for the upload? |
10:48.38 | aproemel | CuteCom with XMODEM protocol |
10:50.55 | vmaster | you said you tried to upload the hex file - i believe the bootloader expects a plain binary |
10:51.49 | aproemel | mhh, maybe thats my fault |
10:51.58 | aproemel | do you work with a AT91RM9200 ? |
10:52.09 | vmaster | i used to work with one, but I never used the builtin bootloader |
10:52.32 | aproemel | you had u-boot in flash, or ? |
10:52.35 | vmaster | anyway, the bootloader definitely expects a binary file |
10:52.36 | vmaster | yeah |
10:52.56 | vmaster | and I had JTAG (my own JTAG debugger, OpenOCD) |
10:53.59 | aproemel | mhh, well a Jtag Debugger would be nice, i've to talk to my boss, that i'll get one |
11:20.58 | aproemel | vmaster: did you build your board at your own? or was it a Demo Board like the one from ATMEL ? |
11:23.39 | vmaster | I only worked with a CSB337 (cogent). Originally my university wanted to design a board of their own, but this was never completed. |
11:24.53 | vmaster | what are your long-term goals for the AT91RM9200? Linux? |
11:26.13 | aproemel | I've to build a own board, and have to do a linux adaption |
11:27.09 | aproemel | ist my Diplom Arbeit |
11:27.09 | vmaster | ok, so you'll end up using the GNU tools anyway, right? |
11:27.12 | aproemel | sure |
11:27.19 | aproemel | my toolchain works fine with the embest demo board |
11:28.59 | aproemel | but i haven't found a documentation which parameters i have to use for gas to compile my startup assembler file |
11:29.09 | vmaster | regarding 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.42 | aproemel | mhh, what shall it cost? |
11:30.06 | aproemel | that i can tell him a price on friday |
11:30.28 | vmaster | I 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.38 | vmaster | you can build a wiggler yourself for around 10€, I suppose |
11:30.44 | vmaster | You can get one ready-made for ~20€ |
11:31.30 | vmaster | The cheapest USB based dongle is 29€ (+ VAT and shipping from .ch) |
11:32.15 | aproemel | well, <200? for all ? |
11:33.17 | aproemel | what do you thin about this device: http://www.amontec.com/jtagkey.shtml |
11:34.01 | vmaster | I have one on my desk - but it's only worth the money if you're considering non-3.3V devices |
11:35.22 | vmaster | if you just want to use it with the AT91RM9200 you can do with the much cheaper JTAGkey-tiny |
11:35.54 | vmaster | you'll have to use the OpenOCD with all FT2232 based dongles (Amontec JTAGkeys, Olimex ARM-USB-OCD, Signalyzer, home-made) |
11:36.12 | vmaster | Rowley's CrossWorks will support them with the next release, too |
11:36.42 | vmaster | the 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.50 | aproemel | well, if the JTAGkey-tiny works with my AT91RM9200 everything will be fine |
11:37.14 | aproemel | is there good docu fpr OpenOCD ? |
11:38.05 | vmaster | there'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.14 | vmaster | the manual in the berlios files section is outdated |
11:38.34 | vmaster | the major problem for a beginner is getting the .cfg file right |
11:40.18 | aproemel | well, i think i have to try it |
11:41.33 | vmaster | it'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.06 | vmaster | other JTAG debuggers are >200$ and require the use of software >1000$ |
11:42.10 | aproemel | ok, then i'll do so too |
11:42.10 | aproemel | :-) |
11:42.25 | aproemel | i think <200? wont be a big problem |
11:44.39 | aproemel | thanks for your help |
11:44.54 | aproemel | I'll tell you if it works :-) if i get such a debugger :-) |
11:46.58 | aproemel | vmaster: one question about your work |
11:47.25 | aproemel | did your write anything in assembly language ? |
11:48.35 | vmaster | the low-level startup files for u-boot |
11:49.07 | aproemel | would you tell me your gas parameters? |
11:49.52 | vmaster | U-Boot sets them globally, I didn't have to change anything |
11:50.08 | aproemel | aahh, ok |
11:50.13 | vmaster | search the web for Jim Lynch's tutorial |
11:50.37 | vmaster | on using the GNU tools with Eclipse to program Philips LPC2000 (ARM7) |
11:51.16 | aproemel | http://gnuarm.alexthegeek.com/ |
11:51.20 | aproemel | i think you mean this |
11:52.04 | vmaster | mhh, yeah, but I think that's the big package with all the software, which you don't need |
11:52.21 | aproemel | i download it, an look what i need, and what not |
11:54.47 | vmaster | he has an example using a .S startup file, a .c main file, and a linker script |
11:55.30 | aproemel | that is great |
11:59.05 | aproemel | http://www.olimex.com/dev/pdf/ARM%20Cross%20Development%20with%20Eclipse%20version%203.pdf |
11:59.14 | aproemel | found the pdf |
11:59.46 | vmaster | yeah, version 3 is slightly older, but the gas/ld stuff should be the same |
12:00.11 | aproemel | i'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.44 | nm | re * |
12:53.17 | nm | Hi all, can openocd run on Linux platform ? |
13:09.23 | aproemel | vmaster: do you build your toolchain at your own? |
13:09.44 | aproemel | or do you used something like "crosstool" from dan kegel or "buildroot" |
13:17.54 | vmaster | nm: yes, that's what i wrote it on. Support for Cygwin, native Windows and FreeBSD was added later |
13:18.58 | vmaster | aproemel: I've used binary releases (ELDK from denx), toolchains built with crosstool and built on my own |
14:22.48 | aproemel | vmaster: 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) |