This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
putDebugChar ('+')
- From: "jason" <jason at sigpro dot com>
- To: <ecos-discuss at ecos dot sourceware dot org>
- Cc: "henry yu" <henry at sigpro dot com>
- Date: Fri, 26 Aug 2005 13:02:56 +0800
- Subject: [ECOS] putDebugChar ('+')
Hello,
Good to saw my email! I am porting RedBoot atlas to my own boards ?°1060?±, I need your help to resolve my problem, the porting table below:
Hardware Device
Atlas
1060
Cpu Type
Support: MIPS32 4Kc, MIPS 4Kp, MIPS 4Km, MIPS64 5Kc.
Ti?ˉs TNETV1060, MIPS32 4KEc core + DSP.
Flash
Flsh EEPROM Device: Intel 28F640J5, Width: 16 * 2, Starts at: 0x1C000000.
Flsh EEPROM Device: Intel 28F320C/C3-T, Width: 16 * 2, Size: 4M*2, Starts at: 0x10000000, CS0_SDRAM Address: 0x1000:0000?a0x11FF:FFFF.
Sdram
Target RAM Starts: 0xA0000000.
Tartget RAM Starts: 0x00000000, Size: 8M * 2, CS1_SDRAM Address: 0x1400:0000?a0x17FF:FFFF
Serial Port
16C550C Compatible UART.
Initialize internal UART.
PCI
Support.
Nonsupport.
Ethernet
Philips SAA9730 IO Chip Ethernet Interface.
CPU Support Ethernet.
Now, the RedBoot can run a part, First, RedBoot run form Srom, BFC00000, then jump to B0000000 still run, when run to "jal initialize_stub" the system breakdown. I trace "initialize_stub" into ?-/hal/common/v2_0/src/generic-stub.c, I'm confused about routine below:
initialize_stub (void)
{
set_debug_traps ();
initHardware ();
putDebugChar ('+');
// Turn off the GPIO11, GPIO12 (C)
*((volatile unsigned int *) 0x08610a10) = 0xFFFFFFFF;
}
This routine ?°putDebugChar(??+?ˉ);?±, break my board down.
1. Is that UART initialize faile?
2. What is 16C550C in atlas broad, how can I modify the ser16c550c.c?
3. I have changed serial registers to support my cpu, but nothing changed?
Thank a lot!
Henry
8/21/2005