Re: The Coldfire development

"Marc Vincent" <[email protected]>
Newsgroups gmane.comp.hardware.motorola.microcontrollers.coldfire
Message-ID <[email protected]>
Sanjay:

IMHO, if you want prompt answer on a public board, it might be best to
ask one question at a time and make it more specific than "Can you
send some code..."

Anyway, your first question is easy. The 52235 has 32K of internal RAM
and you must have declared some large buffers that exceed this space.
You could either:
- reduce the buffers to their bare minimum
- allocate and free them dynamically

Note that the linker also puts initialized data (.data, etc) before
the unitialized (.bss) so if you have large initialized tables or
character strings, they might also reduce your available .bss space.
Declaring them 'const' usually has them linked into a ROM segment that
is not copied to RAM (depends on the tools...)

As for your other questions, have you looked at all the app notes and
sample code on Freescale's MCF5223x product page? I and others will be
glad to answer your specific questions.

Hope this helps. Good luck.

Marc

On Jan 3, 2008 10:38 PM, Sanjay Morab <[email protected]> wrote:
>
>
>
> Dear All
>
> We had started the development on Coldfire MCF52235. We had sucessfully
> implemented all other drivers and tested independently. We are facing some
> problem in following
>
> 1. When we link all files (tested individually on EVA board) i get linker
> error
>
> Link Error   : Overflow in segment: user from section: .bss
> Segment reserved size is: 0x00007b00 -- Overflow of: 0x00000124
>
> Link failed.
>
> 2. In polled mode UART is workinf fine but in interrupt mode there is some
> problem. Can you please help us with some UART sample codes interrupt.
>
> 3. I am unable to understand how to use RTC on MCF52235 and how the RTC is
> retained on poer failure.
> If you can help us with some sample codes it will be great
>
> 4. I need to use I2C port on interrput. Can you send some codes for I2c port
>
> regards
> Sanjay Morab
>   [email protected] Send a post to the list. [email protected]
> Join the list. [email protected] Join the list in digest mode.
> [email protected] Leave the list.
---
[email protected]              Send a post to the list.
[email protected]        Join the list.
[email protected]    Join the list in digest mode.
[email protected]     Leave the list.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.