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: Can't Get USB Mouse Example Code working on AT91SAMS7-EK
PostPosted: Wed Jun 29, 2005 10:54 pm 
Offline

Joined: Wed Jun 29, 2005 10:12 pm
Posts: 1
Location: Milwaukee Wisconsin USA
Can't Get USB Mouse Example Code working on AT91SAMS7-EK

The burned in USB Mouse code works fine on my AT91SAMS7-EK Evaluation Board. However, I can't get the AT91SAM7S64-BasicMouseUSB-IAR4_11A-1_1.zip example code to work. I want to use this as the basis of a new project.

I am using the 4.30 version of the IAR Kickstart IDE Compiler/Debugger/Etc. which I just downloaded from the IAR web site. (I previously tried the version on the CD that came with the Eval board).

Two issues are occurring:
1) The #define AT91C_AIC_SRCTYPE_INT_LEVEL_SENSITIVE does not exist. So the compile has errors. No big deal, I just hardcoded it to 0 to continue on.
2) After downloading and single stepping, it gets into:
Code:
AT91F_LowLevelInit()

when executing the line:
Code:
pPMC->PMC_MCKR =  AT91C_PMC_PRES_CLK_2 ;

I get the error message:
Code:
Memory access timed out @ 0x00003FFC -> JTAG speed too high?


This is fairly early on in the code, before the DBGU port gets initialized and before the #define that I fixed up gets used.

TIA for any help, I'm on a tight schedule, Phil


Top
 Profile  
 
 Post subject:
PostPosted: Thu Sep 08, 2005 12:52 pm 
Offline

Joined: Fri Jun 18, 2004 10:56 am
Posts: 96
Location: France
Hi

Sorry for the late repply, the USB muse will be available on the next DVD this update correct the followinf feature:
AIC setting (in your request)
Change PLL setting for USAN error from 0.16 to 0.11 ( 0.11 it's used to USB agrement)

suport IAR 4.30A

JPP


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jul 28, 2006 10:43 pm 
Offline

Joined: Fri Jul 28, 2006 10:22 pm
Posts: 5
I have Literature #6188C DVD (release date Jan. 2006) and there is no USB Mouse Project for SAM7X256. The one for SAM7S256 doesn't work on my 7X256-EK board (though Enumeration seems to pass and I get new USB Mouse in the device list, but Joystick is not functioning). Any fix for this will be appreciated.

Thanks for any reply.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Aug 28, 2006 2:35 pm 
Offline

Joined: Fri Jun 18, 2004 10:56 am
Posts: 96
Location: France
Hi
Please check the Pull-up resistor is not the same from AT91SAM7S and AT91SAM7X Board :wink:


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: