[coldfire-gnu-discuss] Freescale M5235EVB libraries - what clock frequency is set ?
Maxim Kuvyrkov
maxim at codesourcery.com
Sun Apr 10 17:07:02 UTC 2011
On Apr 8, 2011, at 7:40 PM, Christof Frey wrote:
> Hi,
>
> I wonder which clock frequency is set in the libraries supplied with CodeSourcery Lite 2010.09-39 for the processor.
> I’d like to use the UART for terminal output, hence I’ve overridden the write() function and are using unhosted linker prm files.
> I get some weird output on the serial line, no standard baud rate matches. My app assumes a clock frequency of 75 MHz.
>
> Is there any more description or documentation of the supplied libraries for:
> libcs3, libcs3unhosted and libcs3coldfire ?
You can check this kind of details in the initialization sequence, which is in the board .xml file; see <install_path>/m68k-elf/lib/boards/m5235evb.xml. In M5235EVB case, init sequence does not do anything to set the clock rate, so the frequency is what the board sets on reset.
--
Maxim Kuvyrkov
Mentor Graphics / CodeSourcery
More information about the coldfire-gnu-discuss
mailing list