**** BEGIN LOGGING AT Fri Sep 24 10:52:15 2010 Sep 24 16:11:13 hello Sep 24 16:11:31 i have a problem with GCC i got this error : region sram is full Sep 24 16:12:01 i not understand how to avoid Sep 24 17:44:20 zergos: 1st, this has nothing to do with jtag. 2nd, i guess your code size for this sram section is too big Sep 24 18:08:54 Weaselweb, 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 ? Sep 24 18:14:38 zergos: no, not 9261. but 9260, 9263 and 9g20 Sep 24 18:15:08 afaik all have different sram sizes and/or blokcks Sep 24 18:15:42 Weaselweb, yes, with at91sam9 i still not arrive to connect on jtag Sep 24 18:16:08 looks something not good in config script Sep 24 18:16:20 be sure, you run jtag_clock 1/6 of core clock at maximum Sep 24 18:16:39 especially when running in slow clock mode Sep 24 18:17:06 paste error messages, otherwise nobody may help you Sep 24 18:17:46 Error: Could not probe bank: no QRY Sep 24 18:17:47 Try workaround w/0x555 instead of 0x55 to get QRY. Sep 24 18:17:47 Error: Could not probe bank: no QRY Sep 24 18:18:06 this is from probing NOR flash Sep 24 18:18:10 using CFI Sep 24 18:18:40 if you don't have one, remove the flash bank entries from your config file Sep 24 18:19:58 flash bank at91sam9261.flash cfi 0x40000000 0x1000000 2 2 0 $_TARGETNAME Sep 24 18:20:53 but flash is NAND not NOR Sep 24 18:21:00 that sound like a 16MiB 16bit NOR-FLash on chip select 3 iirc, do you have such device mounted? Sep 24 18:21:18 afaik nand is properly supported from openjtag Sep 24 18:21:22 isn't! Sep 24 18:21:31 just remove this line Sep 24 18:22:32 but how interface will know about flash chip Sep 24 18:23:00 i m sorry, its first time i use board with external flash and ram Sep 24 18:23:12 afaik, you can't program NAND flashes from openocd, use sam-ba for that Sep 24 18:23:46 or u-boot Sep 24 18:23:55 ah Sep 24 18:24:03 which needs to be flashed first, though :) Sep 24 18:24:13 uff Sep 24 18:24:14 :D Sep 24 18:24:15 i see Sep 24 18:24:31 so jtag is not userfull in this case ? Sep 24 18:24:37 did you read sam4linux.org? Sep 24 18:24:47 not Sep 24 18:25:11 well, it could be usefull i you have a nand programm application which you can write to sram or sdram and run it from there Sep 24 18:25:24 but otherwise, I would use sam-ba to program NAND flash Sep 24 18:25:58 and in case is NOR ? Sep 24 18:26:05 is possible over jtag ? Sep 24 18:26:19 yep, i programmed NOR several times using openocd Sep 24 18:26:28 this is plain CFI, hopefully Sep 24 18:26:33 i see Sep 24 18:26:43 so i made mistake by buying my board :( Sep 24 18:26:46 some devices seem to be buffy Sep 24 18:27:18 now have to understand why is presend JTAG port on board Sep 24 18:27:31 if cant program over there Sep 24 18:27:32 well, your dealer should have some descriptions how to start Sep 24 18:27:45 yes u-boot Sep 24 18:27:56 but in this case why is there jtag Sep 24 18:28:02 some other debuggers can program nand, openocd seem to support this not well enough Sep 24 18:28:15 aha Sep 24 18:28:16 i see Sep 24 18:28:49 is IS possible to flash NAND using jtag, but openocd can not AFAIK Sep 24 18:28:56 to make this clear :) Sep 24 18:28:59 and about your boards, does their chipset got embedded flash memory ? Sep 24 18:29:26 nope, either NAND or NOR Sep 24 18:29:37 which means external flash memory Sep 24 18:29:50 ok Sep 24 18:30:03 have did any application with encrypted flash ? Sep 24 18:30:04 iirc 9g45 or 9g10 have internal flash memory Sep 24 18:30:20 + external , Sep 24 18:30:21 ?N Sep 24 18:30:30 encrypted? had nothing to do with that yet Sep 24 18:30:52 i mean against dump :D Sep 24 18:31:40 preventing erasing? depends on the device, some have block write protection Sep 24 18:31:43 about openocd, what for is Nand function ? Sep 24 18:32:13 i seen this in 0.1 Sep 24 18:32:15 oups Sep 24 18:32:17 0.4.0 Sep 24 18:32:28 I read once about NAND in some openocd comment this is not finished yet. but coult be outdated. didn't tried yet again Sep 24 18:32:34 that was < 0.4.0 Sep 24 18:33:03 sry, but I'm afk now Sep 24 18:33:13 oki thank you for all answers Sep 24 18:33:22 you're welcome **** ENDING LOGGING AT Sat Sep 25 02:59:57 2010