But My RedBoot code is running directly from the ROM. What you are saying is that when the application is calling "UART write" for example The code which runs is the RedBoot code from the ROM, which I agree about it. But all the parameters I think they are located on the calling Thread's stack, Am I wrong here?
Elad On Fri, Jul 1, 2011 at 3:38 PM, Gary Thomas <g...@mlbassoc.com> wrote: > On 07/01/2011 06:28 AM, Elad Yosef wrote: >> >> Hi all, >> My Target is short with RAM and I want to use the RedBoot RAM in the >> application as well. >> Is it possible? it is a waste of RAM if not. > > It's only a waste if your application does not use RedBoot for > runtime services. By default, your code will call functions in > RedBoot for such things as console I/O, network debug support, > GDB support, etc. You can only reuse RedBoot's RAM section if > you are not using any of those (CYGSEM_HAL_USE_ROM_MONITOR == 0) > > -- > ------------------------------------------------------------ > Gary Thomas | Consulting for the > MLB Associates | Embedded world > ------------------------------------------------------------ > -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss