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: AT91SAM9261-EK. Trying to access LCD-Controller over SAM-BA
PostPosted: Thu Mar 16, 2006 1:02 am 
Offline

Joined: Thu Mar 16, 2006 12:49 am
Posts: 4
Location: Munich, Germany
Can anyone clear me up on where the LCD User Interface is mapped to in memory on the AT91SAM9261-EK board. (The Registers listed on page 600 of the preliminary spec. rev C). The documentation suggests 0x0060_0000. This also seems to be what is in the AT91SAM9261.h file on the LCD-demo. But, if I try and look at 0x0060_0000 using SAM-BA, I get the error message
"Wrong Address or Memory Overrun"

The reason is that I can't get the LCD-Demo to work so far. I've compiled, loaded, checked some locations by reading them out with SAM-BA but all I have is a power-led and white TFT on the board.

I must admit I am not using the tools provided on the CD. My flow uses the ARM compiler from codesourcery and is done on Linux. But as I said I have compiled OK. My next step would be to try and manually write to some registers and try and see some changes on the TFT, just to see whether I am on the right track. (This works for the LEDs D57 and D58 for instance)

Any help would be appreciated.
Charles


Top
 Profile  
 
 Post subject:
PostPosted: Thu Mar 16, 2006 3:31 pm 
Offline
User avatar

Joined: Mon Mar 22, 2004 12:29 pm
Posts: 147
Location: ATMEL Rousset FRANCE
SAM-BA for SAM9261 is not configured to access the adress range of the LCD controller, this is the reason of your error message

It does not prevent you from using the available commands to write or read to these addresses but not thanks to the display memory window...

I think that this should be updated !!!

Bye


Top
 Profile  
 
 Post subject: accessing LCD User Interface Registers through SAM-BA
PostPosted: Mon Mar 20, 2006 11:20 pm 
Offline

Joined: Thu Mar 16, 2006 12:49 am
Posts: 4
Location: Munich, Germany
Well, I've tried accessing some registers in the range above 0x0060_0000 using the available commands but nothing seems to work. Reading always returns zero. (e.g. after writing to 0060_081C, which should be one of the dithering registers)

Would this work better with SAM-ICE?

Any further help appreciated.

Regards,
Charles


Top
 Profile  
 
 Post subject: try this one
PostPosted: Fri Nov 17, 2006 11:02 pm 
Offline

Joined: Mon Aug 21, 2006 8:09 am
Posts: 22
using SAM-BA if you want to check AT91SAM9261 evaluation kit's LCD you have to remap the RAM into 300000 address location.

After downloading the bin file to SRAM give the command go 0x300000

it will show the output on the LCD

cheers
rao


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 2 guests


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: