Runtime errors

Questions about the BASICtools and MakeItC
Post Reply
YahooArchive
Posts: 1462
Joined: Fri Oct 19, 2012 5:11 am

Runtime errors

Post by YahooArchive »

These errors come from C programs. Also including Data Abort, and
Prefetch abort.

> Is there a crib sheet somewhere to diagnose the cause for a run-time
> error message such as:

For details on the actual meaning of the error refer to the ARM system
on a chip architecture reference manual. Some details will show up in
the GNUARM and LPC2000 support forums.

> Undefined Routine 69b4
When you get an error like this you also get an address, in this case
69b4. As part of the MakeItC process a file **yourmain**.map will be
generated. It can show in general where the error occured.

More specifically you can get an assembly listing with C source of
your code **yourmain**.lss by clicking on the Edit->ASM listing, which
will generate this file and load it into whatever text editor you have
designated. Then just search for the address and it will show you
where in the code the error occured.



YahooArchive
Posts: 1462
Joined: Fri Oct 19, 2012 5:11 am

Re: Runtime errors

Post by YahooArchive »

>
> Undefined Routine 69b4

In BASIC this would normally be generated by a user program RETURN
when there was no GOSUB (ie. return stack underflow)

Post Reply