Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

68332 info

17 views
Skip to first unread message

hamilton

unread,
Jun 16, 2011, 2:14:00 PM6/16/11
to
I am working with a legacy board:
http://www.vestatech.com/docs/PDFDataSheets/MC332Data.pdf

I am having a problem with a BERR error.
I am not sure how this happens or what I need to do to fix my problem.

I have the PEmicro CABLE_16_32:
http://www.pemicro.com/products/product_viewDetails.cfm?product_id=76&menu_id=details&CFID=86610

and have the GCC compiler running.

I load my simple app into ram and can trace the code.

However, after a few opcodes, I jump to the BERR error interrupt.

This is even before I init the IO port for any CSx.

I worked with the CPU32 years ago, so any insight in what may be
happening my jog the cobwebs ;-).

Thanks

hamilton

tom_u...@optusnet.com.au

unread,
Jun 18, 2011, 11:20:28 AM6/18/11
to
On Jun 17, 4:14 am, hamilton <hamil...@nothere.com> wrote:
> However, after a few opcodes, I jump to the BERR error interrupt.

Which is Bus Error. Which means the CPU has accessed an address where
there isn't anything programmed to respond. Have you forgotten to set
up the Stack Pointer to RAM?

That CPU might have registers that record the dud address, so by
reading them you could see what it was accessing, although checking
the last instruction and the registers it used for the address should
show the problem. I can't remember (and the data book is out in the
garage and it is COLD out there tonight :-).

Tom

0 new messages