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  [ 2 posts ] 
Author Message
 Post subject: AT91SAM9263EK BSP eboot serial port
PostPosted: Wed Jun 10, 2009 7:07 pm 
Offline

Joined: Mon Nov 24, 2008 7:29 pm
Posts: 30
Hi,

Do you know why there are the EBOOT_LowLevelInit() (at init_at91sam9263.c) calls OEMInitDebugSerial twice? Once before SetProcessorAndMasterClocks and once after? I have a custom AT91SAM9263 board with 18MHz oscillator instead of the 16MHz crystal on AT91SAM9263EK. Firstboot works fine without any changes and the serial port output looks fine. But for Eboot, the serial terminal displays dummy characters first before displaying "Press [ENTER] to download now or [SPACE] to cancel." correctly. I think the OEMInitDebugSerial before SetProcessorAndMasterClocks is causing the dummy characters. Is that right?

Thanks,
Derek


Top
 Profile  
 
 Post subject: Re: AT91SAM9263EK BSP eboot serial port
PostPosted: Tue Sep 22, 2009 11:26 am 
Offline

Joined: Fri May 14, 2004 9:58 am
Posts: 183
Location: France - USA
Hi,

The first OEMInitDebugSerial is used to display debug information on the SetProcessorAndMasterClocks function.
The second is used to fix issues after SetProcessorAndMasterClocks function. In fact, the function OEMInitDebugSerial uses GetMasterClock function. The value returns is changed after SetProcessorAndMasterClocks.


BR

Adeneo


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 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: