From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cristiano Ligieri Pereira To: Gary Thomas Cc: ecos-discuss@sourceware.cygnus.com Subject: Re: [ECOS] Port problem Date: Fri, 17 Aug 2001 11:07:00 -0000 Message-id: References: X-SW-Source: 2001-08/msg00624.html > You built this CygMon yourself? If so, what was the source code base? > > Note: we really only support RedBoot on the XScale, not CygMon. I didn't build it but I have the sources from Intel. The addressesare the following (file elf-lrh-rom.specs): *link: -T bsp.ld%s -Ttext 0x00000000 -Tdata 0xc0000000 %(old_link) > This tells me that you may have a memory mapping problem. > > eCos programs expect the memory map to be somewhat different than the hardware > map. Most particularly, DRAM gets moved to 0x00000000 and the FLASH at 0 > gets moved around as well. On some XScale platforms, this is even trickier, > but the basic idea is the same. That's why I'm forcing to execute PLATFORM_SETUP1 and remapping the memory there according to what you've just said. But it looks like I'm missing something then. > > how should I do about the serial communication with the host? Can I reuse > > the communication already established with CygMon? Do I need to break it > > and restart a new connection? > > > > No. The No refers to which question? :-) > I think you should look into getting RedBoot working as your base debug > environment. Ok. I'll do that. Cristiano.