Reply by capitan_ahab81●December 2, 20092009-12-02
Hi,
Thanks for your hints (Sorry for the long response time, but I had some mess
with yahoo group account...). Unfortunately pressing the CPU didn't help.
Furthermore I applied the required button combination in order to erase the
first block of the NAND in order to prevent the processor to boot from it and
thereby disabling the NAND.
I did some debugging on the script and it turns out that the script hangs when
doing the second iteration in the pool loop, i.e. executing the second read
operation in GENERIC::Run (generic.tcl / line 130)
while {$result != [expr ~($cmd)]} {
if {[catch {set result [TCL_Read_Int $target(handle) $appletCmdAddr]}
dummy_err] } {
!!!!!!!! hangs here !!!!
error "Error polling the end of applet execution"
}
}
I tried some reordering but as I really do not know where the problem lies and
won't "waste" anymore time, I just ordered another board so that I will now
if there is a Software or HW problem. Maybe I have to modify the script in some
way as I am not sure whether the calao board is fully compatible to the
at9260-ek since there exists a separate config file for the kernel
configuration.
Thanks,
Christian
Reply by "Chen, Weiguo (GE, Research)"●December 1, 20092009-12-01
Hi Christian,
Looks like your onboard SDRAM was not working.
SAM-BA needs external RAM to run some applets. You may want to try the
SDRAM with a JTAG or jLink tool.
Weiguo
________________________________
From: A... [mailto:A...] On Behalf
Of capitan_ahab81
Sent: Tuesday, December 01, 2009 5:57 PM
To: A...
Subject: [AT91SAM] AT91SAM9260-EK freezes when communicating with sam-ba
Hi everybody,
I bought an evaluation kit from calao systems with an AT91SAM9260-EK
board. No each time when I connect with samba, it freezes when loading
the first applet:
sam-ba
-I- Waiting ...
-I- TCL platform : Linux
-I- SAM-BA CDC 2.9 rc6 on : linux
-I- Connection : /dev/ttyUSB1 (target(comType) = 1)
-I- Board : at91sam9260-ek
-I- Traces Level : 4
-I- target(handle) : file5
Read device Chip ID at 0xfffff240 --- get 0x019803a1
-I- Found processor : at91sam9260 (Chip ID : 0x019803a1)
-I- External RAM Settings : extRamVdd=1, extRamType=0,
extRamDataBusWidth2, extDDRamModel=0
-I- Loading applet isp-extram-at91sam9260.bin at address 0x200000
When I pull the USB connection after waiting some time the error message
is displayed:
-E- Error during external RAM initialization.
-E- External RAM access is required to run applets.
As I am working on a notebook I first thought that the power consumption
could be a problem but using an usb hub with power supply on its own
didn't solve the problem.
Any help would be appreciated.
Christian
Reply by Dan Lyke●December 1, 20092009-12-01
On Tue, 01 Dec 2009 09:56:32 -0000
"capitan_ahab81" wrote: > As I am working on a notebook I first thought that
the power
> consumption could be a problem but using an usb hub with power supply
> on its own didn't solve the problem. Any help would be appreciated.
Total shot in the dark, but I got a couple of 261-EKs that had some bad
solder joints. Try pressing on any BGA parts while you try this...
I think the only BGA part that should be an issue here is the CPU, but
it's worth a shot.
Dan
Reply by capitan_ahab81●December 1, 20092009-12-01
Hi everybody,
I bought an evaluation kit from calao systems with an AT91SAM9260-EK board. No
each time when I connect with samba, it freezes when loading the first
applet:
sam-ba
-I- Waiting ...
-I- TCL platform : Linux
-I- SAM-BA CDC 2.9 rc6 on : linux
-I- Connection : /dev/ttyUSB1 (target(comType) = 1)
-I- Board : at91sam9260-ek
-I- Traces Level : 4
-I- target(handle) : file5
Read device Chip ID at 0xfffff240 --- get 0x019803a1
-I- Found processor : at91sam9260 (Chip ID : 0x019803a1)
-I- External RAM Settings : extRamVdd=1, extRamType=0, extRamDataBusWidth2,
extDDRamModel=0
-I- Loading applet isp-extram-at91sam9260.bin at address 0x200000
When I pull the USB connection after waiting some time the error message is
displayed:
-E- Error during external RAM initialization.
-E- External RAM access is required to run applets.
As I am working on a notebook I first thought that the power consumption could
be a problem but using an usb hub with power supply on its own didn't solve
the problem.