From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark Salter To: jskov@redhat.com Cc: cpereira@ics.uci.edu, ecos-discuss@sourceware.cygnus.com Subject: Re: [ECOS] Port problem Date: Fri, 17 Aug 2001 05:10:00 -0000 Message-id: <200108171210.f7HCAbq16234@deneb.localdomain> References: X-SW-Source: 2001-08/msg00598.html >>>>> Jesper Skov writes: >>>>> "Cristiano" == Cristiano Ligieri Pereira writes: Cristiano> After this I've been trying two things: load a Hello World Cristiano> eCos application configured to execute on RAM (by means of Cristiano> GDB/Cygmon) and load RedBoot configured to execute at RAM Cristiano> as well. For both I load the application at the original Cristiano> RAM address (since for cygmon this is still the RAM memory Cristiano> address) and for both I'm executing the code in Cristiano> PLATFORM_SETUP1, which remaps the memory. > Diddling the MMU when running from RAM is not going to work unless you > are really careful! Cristiano> how should I do about the serial communication with the Cristiano> host? Can I reuse the communication already established Cristiano> with CygMon? Do I need to break it and restart a new Cristiano> connection? > The problem is probably that the eCos application will try to use > virtual vectors for writing to the serial port: but these may not be > compatible with CygMon. > Running RedBoot from RAM should work though (as it will initialize the > virtual vectors and use its own serial driver). And PLATFORM_SETUP1 is a no-op for RAM-based RedBoots, at least for iq80310. --Mark