Atmel website | ARM Community | AVR freaks | Technical Support
Banner
 FAQ •  Search •  Register •  Login 

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Problem with the startup of AT91CAP9-DK board
PostPosted: Wed Mar 30, 2011 7:28 am 
Offline

Joined: Wed Mar 30, 2011 7:15 am
Posts: 5
I am dying for help. I am new to the ARM AT91CAP9-DK board so I followed the instructions on how to load a linux on the board. I followed the instruction step by step. I connect the hardwares. I installed the softwares. I decide to install the Linux using the MEM33 board. As
the steps goes, I clicked the 'at91cap9adk-x11-nf.bat' file to install the Linux. However the command window stops at
E:\at91cap9_dk\linux-at91cap9adk\linux-at91cap9adk-binary>sam-ba.exe \usb\ARM0 AT91CAP9-DK-MEM33 at91cap9adk-x11-nf.tcl 1>logfile.log 2>&1

and the output logfile shows this
___________________________________________
-I- Waiting ...
-I- TCL platform : Windows NT
-I- SAM-BA 2.10 on : windows
-I- Retrieved arguments from command line :
-I- argv 0 : \usb\ARM0
-I- argv 1 : AT91CAP9-DK-MEM33
-I- argv 2 : at91cap9adk-x11-nf.tcl
-I- Connection : \usb\ARM0 (target(comType) = 0)
-I- Board : at91cap9-dk-mem33
-I- Traces Level : 4
-I- target(handle) : 17916896
Read device Chip ID at 0xfffff240 --- get 0x00000000
Read device Chip ID at 0xffffee40 --- get 0x039a03a0
-I- Found processor : at91cap9 (Chip ID : 0x039a03a0)
-I- External RAM Settings : extRamVdd=1, extRamType=0, extRamDataBusWidth=32, extDDRamModel=0
-I- Loading applet isp-extram-at91cap9.bin at address 0x102000
_____________________________________________________

This just stopped at this line. I opened this log with the notepad, not popped out by itself.
because I waited a very long time.


So I am looking for help about this problem, anythings will be appreciated!!!!!


Top
 Profile  
 
 Post subject: Re: Problem with the startup of AT91CAP9-DK board
PostPosted: Wed Mar 30, 2011 12:40 pm 
Offline

Joined: Sat Oct 30, 2010 6:04 pm
Posts: 574
Looks like it's having a problem initializing the MEM33 board. Is it known functional, and installed correctly?

Have you tried using SAM-BA manually, and initializing the SDRAM, and loading code from there?

Are you capable of writing a small test application, in say Keil, and running that in SRAM to test the SDRAM and NAND memories on the MEM33 board?

Have you spoken to an ATMEL FAE?


Top
 Profile  
 
 Post subject: Re: Problem with the startup of AT91CAP9-DK board
PostPosted: Thu Mar 31, 2011 10:30 am 
Offline

Joined: Wed Mar 30, 2011 7:15 am
Posts: 5
Thank you for your advices. I tried with the SAM-BA manually, well I select the connect type usb/ARM0, and I choose the board type 'AT91CAP9-DK MEM33', and no error popped out, but no main window popped out either.
Then I tried the demo project with the IAR Embedded Workbench and with a SAM-ICE connected to the JTAG port of the board. I built the project, no error popped out of course. So I went with the 'download and debug', then there showed two errors both as "Error:Operation Error", then I clicked on the error which opens the file 'at91cap9-dk-sram.mac', and the following codes, the mouse cursor stopped at the first "__sleep(10000)" line;
_____________________________________________________________
__writeMemory32(0xFFFFFFFF,0xFFFFFC64,"Memory");
//* AT91C_PMC_PCDR ((AT91_REG *) 0xFFFFFC14) //(PMC) Peripheral Clock Disable Register
__writeMemory32(0xFFFFFFFF,0xFFFFFC14,"Memory");
// Disable all clock only Processor clock is enabled.
__writeMemory32(0xFFFFFFFE,0xFFFFFC04,"Memory");

// AT91C_PMC_MCKR ((AT91_REG *) 0xFFFFFC30) // (PMC) Master Clock Register
__writeMemory32(0x00000001,0xFFFFFC30,"Memory");
__sleep(10000);

// write reset value to PLLA and PLLB
// AT91C_PMC_PLLAR ((AT91_REG *) 0xFFFFFC28) // (PMC) PLL A Register
__writeMemory32(0x00003F00,0xFFFFFC28,"Memory");

// AT91C_PMC_PLLBR ((AT91_REG *) 0xFFFFFC2C) // (PMC) PLL B Register
__writeMemory32(0x00003F00,0xFFFFFC2C,"Memory");
__sleep(10000);
_____________________________________________________________


Top
 Profile  
 
 Post subject: Re: Problem with the startup of AT91CAP9-DK board
PostPosted: Tue Apr 05, 2011 8:11 am 
Offline

Joined: Wed Mar 30, 2011 7:15 am
Posts: 5
Thank you, the problem has been solved, after some try out, it has been found that the problem happens with the SAM-BA tool. Funny the latest version doesn't work, and the previous 2.9version works.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: