[ECOS] need help about at91rm9200 loader

2006-09-26 Thread Kieu Minh Thang
Hi all, Sometimes I see a screenshot below: ESC[2J ATMEL DataFlash LOADER VER 1.02 Aug 10 2005 14:17:09 *--* DataFlash[15Mhz]:AT45DB642 Nb pages: 8192 Page Size: 1056 Size= 8650752 bytes Logical address: 0xC000 *--

[ECOS] Modification to packages\devs\serial\generic\16x5x\current\src\ser_16x5x.c

2006-09-26 Thread Wang Cui
When I use CYGPKG_IO_SERIAL_GENERIC_16X5X as driver of LPC2XXX's embedded DUART module. I find the module doesn't generate ISR_Tx interrupt after enable IER_XMT, so the transmit operation never start. So I try transmitting in pc_serial_start_xmit() to trigger the ISR_Tx intertupt, then it works wel

[ECOS] Does eCos provide bit manipulate macros?

2006-09-26 Thread Wang Cui
When we write hardware drivers, we always need access registers and manipulate bit part of them. So, does eCos provide bit manipulate macros? If not, should it provide a common macro set(like in the Infra package) for convenience? As I look through the drivers of eCos, I don't find such macros. S

RE: [ECOS] Using Redboot to load standalone application

2006-09-26 Thread wang cui
Do you have a hardware debugger(like JTAG)? I think it is very difficult to develop without a real debugger enviroment. I use GDB/Insight + OpenOCD + Wiggler(a JTAG debugger) to debug my arm7tdmi target board. From my experience, I set breakpoint at the begin address of application. Once I "load

Re: [ECOS] Using Redboot to load standalone application

2006-09-26 Thread Gary Thomas
Brandon Eames wrote: Hi All, I'm pretty much a newbie when it comes to RedBoot. I have a commercial Arm9-based embedded board which runs RedBoot and Linux. I'm trying to use Redboot to load a non-linux, stand-alone (i.e. no OS) application. I've compiled a gnu toolchain targeting the Arm9 proc

[ECOS] Using Redboot to load standalone application

2006-09-26 Thread Brandon Eames
Hi All, I'm pretty much a newbie when it comes to RedBoot. I have a commercial Arm9-based embedded board which runs RedBoot and Linux. I'm trying to use Redboot to load a non-linux, stand-alone (i.e. no OS) application. I've compiled a gnu toolchain targeting the Arm9 processor (arm-elf target,

Re: [ECOS] fseek on JFFS2

2006-09-26 Thread Jonathan Larmour
Andrew Lunn wrote: set_position() calculates the new absolute position and calls cyg_stdio_lseek() which (with CYGPKG_FILEIO) is meant to be just a thin veneer over lseek(). fseek() works fine. However flush_output_unlocked() does not call set_position() before flushing out the buffer. It seem

Re: [ECOS] fseek on JFFS2

2006-09-26 Thread Andrew Lunn
> set_position() calculates the new absolute position and calls > cyg_stdio_lseek() which (with CYGPKG_FILEIO) is meant to be just a thin > veneer over lseek(). fseek() works fine. However flush_output_unlocked() does not call set_position() before flushing out the buffer. It seems to assume the

Re: [ECOS] fseek on JFFS2

2006-09-26 Thread Jonathan Larmour
Andrew Lunn wrote: On Fri, Sep 22, 2006 at 03:25:09PM +0200, Andrew Lunn wrote: On Fri, Sep 22, 2006 at 02:26:30PM +0200, Paluch Sebastian wrote: hi, here you have some test file 'fseek_test.c', and my output. I tried running the code on the ramfs. It also fails there as well. Attached is the

[ECOS] changing MAC address

2006-09-26 Thread Jacek Poplawski
I was able to make 82545GM ethernet functional in Redboot, I am now able to ping or load file via tftp. Now I want to make it possible to set MAC address from Redboot, because in the initial state of hardware - MAC address is filled with 00's. What is the best way to change MAC address of ether

Re: [ECOS] Making eCos Configuration Tool on FreeBSD 6.1

2006-09-26 Thread Andrew Lunn
On Mon, Sep 25, 2006 at 03:57:07PM -0700, Jack Twilley wrote: > Jack Twilley wrote: > >The work I mentioned has already been done, as you pointed out. The > >ecos-tool port is already in ports, and I've installed it. Only one > >snag in using it that I can see -- it assumes "make" is GNU make.

Re: [ECOS] Re: eCos Licensing

2006-09-26 Thread Andrew Lunn
On Tue, Sep 26, 2006 at 02:46:20PM +0530, Himanshu wrote: > Hi, > > We are planning to use eCos in one of our products. > > We have downloaded the source code from CVS. > > Following is the abstract for Licensing found in eCos source files: > > // You should have received a copy of the GNU Gene

[ECOS] Re: eCos Licensing

2006-09-26 Thread Himanshu
Hi, We are planning to use eCos in one of our products. We have downloaded the source code from CVS. Following is the abstract for Licensing found in eCos source files: // You should have received a copy of the GNU General Public License along // with eCos; if not, write to the Free Software F

Re: [ECOS] fseek on JFFS2

2006-09-26 Thread Andrew Lunn
On Fri, Sep 22, 2006 at 03:25:09PM +0200, Andrew Lunn wrote: > On Fri, Sep 22, 2006 at 02:26:30PM +0200, Paluch Sebastian wrote: > > hi, > > here you have some test file 'fseek_test.c', and my output. > > I tried running the code on the ramfs. It also fails there as > well. Attached is the code.