Re: Run Time Error
"Dave Moore dmoore-f4pv2F5LI2c/CDIEhCN/twC/[email protected] [rabbit-semi]" <[email protected]> Fri, 28 Oct 2016 07:52:13 -0700
| Newsgroups | gmane.comp.hardware.rabbit-semiconductor |
|---|---|
| Organization | Quest Controls |
| Message-ID | <[email protected]> |
Maybe your application size broke over some threshold with the new compiler/bios? Compile it without debug and load up via rfu. In some instances when I was close to memory constraints, rfu worked and dc9 loading didn't. Also, maybe the userblock config is different on the new module? Mirroring and size taking up some extra space? Of course, if it worked before without your changes, you might need to incrementally add until u find issue. On 10/28/2016 7:31 AM, Steve Trigero seecwriter-/[email protected] [rabbit-semi] wrote: > The debugger never gets to the first line of my code before it > crashes. And the RCM3000 module I'm using > is a new one, never been programmed before. I loaded it with an older > version of the program and it runs, > so the module is good. > > I tried compiling the program with v9.25, and it runs. I didn't try > the debugger, but since the program runs > I didn't need too. Plus, the debugger in v9.25 is problematic. > Sometimes it works, sometimes it doesn't. The > v9.62 debugger is a little more reliable. > > I have one set of code that I compile either for the RCM3000 or the > RCM3900. Since it's been almost a year > since I did a build for the RCM3000, but have done many for the > RCM3900 in the same time frame, I decided > to recompile it to roll in the various changes that have accumulated. > Even though it compiles without error, the > program won't run. That's when I tried to use the debugger to figure > out what was going on. > > So it seems as if some change was made to the code that is > incompatible with the RCM3000 but not the RCM3900, > yet doesn't cause a compiler error. I can't imagine what that would be. > > > ------------------------------------------------------------------------ > *From:* "Tom Collins tom-lnEA/wrDJtNWk0Htik3J/[email protected] [rabbit-semi]" > <[email protected]> > *To:* [email protected] > *Sent:* Thursday, October 27, 2016 3:51 PM > *Subject:* Re: [rabbit-semi] Run Time Error > > It's been awhile since I've seen that error, but as I recall it can > come up as part of your software crashing. The processor ends up > executing random data until it hits an RST 38 opcode. > > If you compile to target, but don't run your program (leave the > debugger at the first statement in main()), does it happen? > > If you compile a simple sample down to the target, do you get that error? > > I think that after downloading, the module executes the BIOS, > including all #GLOBAL_INIT blocks, and then enters main(). > > Is this an RCM3000 that you've done lots of development with (like a > large number of compile/debug sessions)? I think I had an RCM2200 > stop working after years of development with it, and I assumed I had > exceeded some flash read/write rating. Or maybe I just gave it a > static shock one day... > > -Tom > > > On Oct 26, 2016, at 3:03 PM, seecwriter-/[email protected] > <mailto:seecwriter-/[email protected]> [rabbit-semi] wrote: > >> I tried running the DC v9.62 debugger on an RCM3000 module with a >> program that has been running for years. DC loads the firmware and >> when it's done I get the following error message before it closes: >> >> Run Time Error: An RST 38 occurred, but the RST 38 vector is >> uninitialized. Address 00:e5cf >> >> I've never seen that error before. Anyone know what it means or at >> least how to solve it? > > > >