<div dir="ltr">Is it as easy as "set $pc=0xYYYYYY; continue" in GDB console ?<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Aug 17, 2022 at 4:39 PM Y. HB <<a href="mailto:sprhawk@gmail.com">sprhawk@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hello,</div><div><br></div><div>About two weeks ago, I worked in running RTEMS (5.1) on TMS570LC43 Launchxl, and it booted and print via uart.</div><div><br></div><div>But when I tried to build CFS on RTEMS, it failed due to not enough memory, so I bought a TMDX570LC43 HDK with 8MB sdram on it.</div><div><br></div><div>As indicated in <a href="https://devel.rtems.org/wiki/TBR/BSP/Tms570" target="_blank">https://devel.rtems.org/wiki/TBR/BSP/Tms570</a>, due to Flash has limited erase cycles, it is recommended to run program in SDRAM during debug and tests. <br></div><div><br></div><div>I have seen SDRAM_SCI_configuration, there is no special code to jump to RTEMS startup code. In the main(), it is merly setup SCI and EMIF, then forever loop. <br></div><div><br></div><div>So if I want to run RTEMS in SDRAM after initialization after HALCoGen, how should I start it ? use some GDB command or write a jump/branch instruction before "forever loop" in main()?</div><div><br></div><div>Thanks<br></div></div>
</blockquote></div>