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
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