Oscar ALEGRIA

Problem with access error

Discussion created by Oscar ALEGRIA on Mar 28, 2011
Latest reply on Apr 7, 2011 by TomE

Hi.

I am working with COLDFIRE 5475 and PEMICRO emulator and MMU is disable?

I want to write code to handle an Access error exception.

I have use a code to write data to an address with no memory:

*(short*)(0x40000000)=123;

When I get this code. Emulator send me an error and I can´t  get exception code.

If I put a break point  in exception code (access error) It never stop at this point.

With other exceptions like div by zero ,I have not porblem?

Does any one that is happening?

Thank you.

Outcomes