<div>Thank you very much for the help.</div>
<div> </div>
<div>I tried it for pc386 and it worked on qemu absolutely perfect!!</div>
<div>But my ultimate target is to run RTEMS on i386ex custom board. </div>
<div> </div>
<div>To download it on board i have converted hello.exe in intel hex format (hello.hex) via i386-rtems4.10-objcopy command, because hex format is i386ex processor compatible.</div>
<div>But when i download it in flash ROM via programmer, It gives error like "Checksum error!"</div>
<div> </div>
<div>How to recitify this error</div>
<div> </div>
<div>Thank you for your time</div>
<div> </div>
<div>Regards,</div>
<div> </div>
<div> </div>
<div>On Mon, Jun 20, 2011 at 11:15 PM, Joel Sherrill <span dir="ltr"><<a href="mailto:joel.sherrill@oarcorp.com">joel.sherrill@oarcorp.com</a>></span> wrote:</div>
<div class="gmail_quote"><br> </div>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">When you ask a question on a Friday during the summer and<br>don't get a reply as quickly as you wanted, that means nothing.<br>
<br>qemu simulates a PC.  The i368ex is not a PC board and thus<br>the RTEMS app is accessing memory that isn't there.<br><br>To experiment with qemu/x86, you need to use the pc386 BSP<br>or a variant of it.<br><br>Also depending on the version of qemu you use, I have seen<br>
cases where it does a similar fault on the boot floppy with<br>grub that has worked for years.<br><br>--joel 
<div>
<div></div>
<div class="h5"><br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">On Fri, Jun 17, 2011 at 8:55 AM, S Akhtar <<a href="mailto:crystaldoll85@gmail.com" target="_blank">crystaldoll85@gmail.com</a> <mailto:<a href="mailto:crystaldoll85@gmail.com" target="_blank">crystaldoll85@gmail.<u></u>com</a>>> wrote:<br>
<br>   Dear RTEMS users<br>   I am using RTEMS-4.10 for i386ex board<br>   I have installed toolchain and RTEMS with i386ex bsp and set up<br>   appropriate PATH and RTEMS_MAKEFILE_PATH variables<br>   I am using windows xp<br>
   But when i execute sample application hello.exe on qemu, i get the<br>   following error<br>   ------------------------------<u></u>------------------------------<u></u>------------------------------<u></u>------------------------------<u></u>------------------------------<u></u>----------------<br>
   qemu: fatal: Trying to execute code outside RAM or ROM at 0xff0720ff<br>   EAX=00000001 EBX=f000e2c3 ECX=03f98dfe EDX=000020ff<br>   ESI=0007fdc8 EDI=00000001 EBP=0007fd9c ESP=0007fd40<br>   EIP=ff0720ff EFL=00000002 [-------] CPL=0 II=0 A20=1 SMM=0 HLT=0<br>
   ES =0010 00000000 ffffffff 00cf9300 DPL=0 DS   [-WA]<br>   CS =0008 00000000 ffffffff 00cf9a00 DPL=0 CS32 [-R-]<br>   SS =0010 00000000 ffffffff 00cf9300 DPL=0 DS   [-WA]<br>   DS =0010 00000000 ffffffff 00cf9300 DPL=0 DS   [-WA]<br>
   FS =0010 00000000 ffffffff 00cf9300 DPL=0 DS   [-WA]<br>   GS =0010 00000000 ffffffff 00cf9300 DPL=0 DS   [-WA]<br>   LDT=0000 00000000 0000ffff 00008200 DPL=0 LDT<br>   TR =0000 00000000 0000ffff 00008b00 DPL=0 TSS32-busy<br>
   GDT=     0000833c 00000027<br>   IDT=     00000000 000003ff<br>   CR0=00000011 CR2=00000000 CR3=00000000 CR4=00000000<br>   DR0=00000000 DR1=00000000 DR2=00000000 DR3=00000000<br>   DR6=ffff0ff0 DR7=00000400<br>   CCS=00000400 CCD=fffffc01 CCO=SUBL<br>
   EFER=0000000000000000<br>   FCW=037f FSW=0000 [ST=0] FTW=00 MXCSR=00001f80<br>   FPR0=0000000000000000 0000 FPR1=0000000000000000 0000<br>   FPR2=0000000000000000 0000 FPR3=0000000000000000 0000<br>   FPR4=0000000000000000 0000 FPR5=0000000000000000 0000<br>
   FPR6=0000000000000000 0000 FPR7=0000000000000000 0000<br>   XMM00=<u></u>000000000000000000000000000000<u></u>00<br>   XMM01=<u></u>000000000000000000000000000000<u></u>00<br>   XMM02=<u></u>000000000000000000000000000000<u></u>00<br>
   XMM03=<u></u>000000000000000000000000000000<u></u>00<br>   XMM04=<u></u>000000000000000000000000000000<u></u>00<br>   XMM05=<u></u>000000000000000000000000000000<u></u>00<br>   XMM06=<u></u>000000000000000000000000000000<u></u>00<br>
   XMM07=<u></u>000000000000000000000000000000<u></u>00<br>   This application has requested the Runtime to terminate it in an<br>   unusual way.<br>   Please contact the application's support team for more information.<br>
   ------------------------------<u></u>------------------------------<u></u>------------------------------<u></u>------------------------------<u></u>------------------------------<u></u>-------------------------<br>   the qemu command i use is<br>
   qemu -L . -m256 -boot a -fda rtems-boot.img -hda fat:. -no-reboot<br>   -kernel hello.exe<br>   the grub window appears and i type:<br>   set root=(hd0,1)<br>   multiboot (hd0,1)/hello.exe<br>   boot<br>   then i get the error mentioned above<br>
   i am using qemu 0.13.0-windows<br>   Regards<br>   S. Akhtar<br><br><br></blockquote><br><br></div></div><font color="#888888">-- <br>Joel Sherrill, Ph.D.             Director of Research&  Development<br>joel.sherrill@OARcorp.com        On-Line Applications Research<br>
Ask me about RTEMS: a free RTOS  Huntsville AL 35805<br>  Support Available             <a href="tel:%28256%29%20722-9985" target="_blank" value="+12567229985">(256) 722-9985</a><br><br><br></font></blockquote><br>