IRC log for #openjtag on 20100924

00:10.25*** join/#openjtag flyhorse|linux (~flyhorse|@183.22.233.246)
01:16.58*** join/#openjtag _julian_ (~quassel@dslb-088-071-078-190.pools.arcor-ip.net)
01:27.01*** join/#openjtag Openfree` (~Openfreer@116.228.88.131)
01:32.30*** join/#openjtag Openfree` (~Openfreer@116.228.88.131)
02:04.35*** join/#openjtag nslu2-log (~nslu2-log@limax.nslu2-linux.org)
05:05.14*** join/#openjtag Weaselweb (~quassel@2001:6f8:9e4:123:21a:92ff:fe5a:1409)
07:15.54*** join/#openjtag roxfan (dunno@91.180.225.31)
08:21.57*** join/#openjtag baddu (~salko@nat/nokia/x-ycuprieqejensxme)
09:57.37*** join/#openjtag pirho (debian-tor@gateway/tor-sasl/pirho)
09:57.49*** part/#openjtag pirho (debian-tor@gateway/tor-sasl/pirho)
10:06.15*** join/#openjtag roxfan (dunno@91.180.114.167)
10:52.15*** join/#openjtag nslu2-log (~nslu2-log@limax.nslu2-linux.org)
16:11.11zergoshello
16:11.29zergosi have a problem with GCC i got this error : region sram is full
16:11.59zergosi not understand how to avoid
17:44.18Weaselwebzergos: 1st, this has nothing to do with jtag. 2nd, i guess your code size for this sram section is too big
18:08.52zergosWeaselweb, thx for answer, i know is big, but how this happend interest me, and about jtag i have a problem, with 1 of my boards, have you already used board with AT91sam9261 ?
18:14.36Weaselwebzergos: no, not 9261. but 9260, 9263 and 9g20
18:15.06Weaselwebafaik all have different sram sizes and/or blokcks
18:15.39zergosWeaselweb, yes, with at91sam9 i still not arrive to connect on jtag
18:16.06zergoslooks something not good in config script
18:16.18Weaselwebbe sure, you run jtag_clock 1/6 of core clock at maximum
18:16.37Weaselwebespecially when running in slow clock mode
18:17.04Weaselwebpaste error messages, otherwise nobody may help you
18:17.44zergosError: Could not probe bank: no QRY
18:17.44zergosTry workaround w/0x555 instead of 0x55 to get QRY.
18:17.44zergosError: Could not probe bank: no QRY
18:18.04Weaselwebthis is from probing NOR flash
18:18.08Weaselwebusing CFI
18:18.38Weaselwebif you don't have one, remove the flash bank entries from your config file
18:19.56zergosflash bank at91sam9261.flash cfi 0x40000000 0x1000000 2 2 0 $_TARGETNAME
18:20.24*** join/#openjtag toi (~toi@d54C2AA76.access.telenet.be)
18:20.50zergosbut flash is NAND not NOR
18:20.58Weaselwebthat sound like a 16MiB 16bit NOR-FLash on chip select 3 iirc, do you have such device mounted?
18:21.16Weaselwebafaik nand is properly supported from openjtag
18:21.19Weaselwebisn't!
18:21.29Weaselwebjust remove this line
18:22.29zergosbut how interface will know about flash chip
18:22.57zergosi m sorry, its first time i use board with external flash and ram
18:23.10Weaselwebafaik, you can't program NAND flashes from openocd, use sam-ba for that
18:23.44Weaselwebor u-boot
18:23.53zergosah
18:24.01Weaselwebwhich needs to be flashed first, though :)
18:24.10zergosuff
18:24.11zergos:D
18:24.12zergosi see
18:24.29zergosso jtag is not userfull in this case ?
18:24.35Weaselwebdid you read sam4linux.org?
18:24.44zergosnot
18:25.09Weaselwebwell, it could be usefull i you have a nand programm application which you can write to sram or sdram and run it from there
18:25.22Weaselwebbut otherwise, I would use sam-ba to program NAND flash
18:25.56zergosand in case is NOR ?
18:26.03zergosis possible over jtag ?
18:26.17Weaselwebyep, i programmed NOR several times using openocd
18:26.26Weaselwebthis is plain CFI, hopefully
18:26.31zergosi see
18:26.40zergosso i made mistake by buying my board :(
18:26.44Weaselwebsome devices seem to be buffy
18:27.16zergosnow have to understand why is presend JTAG port on board
18:27.28zergosif cant program over there
18:27.30Weaselwebwell, your dealer should have some descriptions how to start
18:27.48zergosyes u-boot
18:27.53zergosbut in this case why is there jtag
18:28.00Weaselwebsome other debuggers can program nand, openocd seem to support this not well enough
18:28.12zergosaha
18:28.14zergosi see
18:28.47Weaselwebis IS possible to flash NAND using jtag, but openocd can not AFAIK
18:28.54Weaselwebto make this clear :)
18:28.56zergosand about your boards, does their chipset got embedded flash memory ?
18:29.24Weaselwebnope, either NAND or NOR
18:29.34Weaselwebwhich means external flash memory
18:29.47zergosok
18:30.00zergoshave did any application with encrypted flash ?
18:30.02Weaselwebiirc 9g45 or 9g10 have internal flash memory
18:30.17zergos+ external ,
18:30.18zergos?N
18:30.28Weaselwebencrypted? had nothing to do with that yet
18:30.49zergosi mean against dump :D
18:31.38Weaselwebpreventing erasing? depends on the device, some have block write protection
18:31.40zergosabout openocd, what for is Nand function ?
18:32.10zergosi seen this in 0.1
18:32.12zergosoups
18:32.14zergos0.4.0
18:32.25WeaselwebI read once about NAND in some openocd comment this is not finished yet. but coult be outdated. didn't tried yet again
18:32.32Weaselwebthat was < 0.4.0
18:33.01Weaselwebsry, but I'm afk now
18:33.11zergosoki thank you for all answers
18:33.20Weaselwebyou're welcome

Generated by irclog2html.pl Modified by Tim Riker to work with infobot.