AT91SAM9263EK BSP eboot serial port

This forum is for users of Atmel's SAM Series and who are interested in using WinCE OS.

Moderator: nferre

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

AT91SAM9263EK BSP eboot serial port

Wed Jun 10, 2009 7:07 pm

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
Adeneo
Contact:
Location: France - USA
Posts: 183
Joined: Fri May 14, 2004 9:58 am

Re: AT91SAM9263EK BSP eboot serial port

Tue Sep 22, 2009 11:26 am

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

Return to “WinCE”

Who is online

Users browsing this forum: No registered users and 1 guest