<div dir="ltr"><div dir="ltr"><div style="font-family:arial,helvetica,sans-serif;font-size:small" class="gmail_default"></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small">Hi All,</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small">I'm developing RTEMS 5.00 BSP and device drivers for a custom ARM926EJ-S core. I was successful in porting and building BSP for the ARM core.</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small">We are facing a strange issue with the generic NOR flash driver we have developed. Our device drivers are designed such that it can be used with RTEMS as well as the bare metal programs.</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small">Our driver is working fine in bare metal program (erase, read, write everything), but when we use the driver with RTEMS application and issue an erase call, then the application gives
RTEMS_FATAL_SOURCE_EXCEPTION. </div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small">
For testing driver in RTEMS, we have added each test routine as a custom shell command using rtems_shell_add_cmd().
</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small">For your info we also tested the same driver with u-boot and it works fines. <br></div>C<span class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small">an anyone guide me on this issue?</span><div><div dir="ltr" class="m_-3267753603495795829gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><p><b><span style="font-family:arial,helvetica,sans-serif"><span style="font-weight:normal">Thank you & Regards,</span></span></b></p><span style="font-family:arial,helvetica,sans-serif"><b><span style="font-weight:bold;font-size:9pt">Amarnath M<span class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small">B</span></span></b><b><span style="font-weight:bold;font-size:9pt"></span></b></span><br><span style="font-family:arial,helvetica,sans-serif"><b><span style="font-weight:bold;font-size:9pt"></span></b></span><span style="font-family:arial,helvetica,sans-serif"><br></span></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>