[ECOS] i386 target crashes after download

Jochen Hagemann jh@genologic.de
Thu Jan 18 09:40:00 GMT 2001

I am trying to run ECOS on an i386 target, a PC-104 board.
The Kernel and the gdb-stubs seem to be ok. The target boots from a floppy disk
and I am able to connect to it with Insight 5 and download test applications.
While loading, lots of those "mysterious" characters appear on the screen, fine !
Until here everything works as desired.
But right after downloading, the screen shows wild flickering, then the target reboots.
There are no messages in the gdb console except download progress.
Setting breakpoints anywhere in the code doesen't help, it seems that they are never reached.

My PC-104 board has a 66 MHz STPC-CPU, 16 MB Ram and a Phoenix Bios from 07/19/00
I already checked if parts of the stubs are overwritten during download, i386-elf-objdump says:

gdb_module.img:  file format elf32-i386
Disassembly of section .text:
00001000 <_start>: ...

<any test application>:  file format elf32-i386
Disassembly of section .text:
00010000 <_start>: ...

This should be ok.

Does anybody know what's going wrong here ? I even tried:

int main(void){
  return 0;

without success...Jochen Hagemann

More information about the Ecos-discuss mailing list