Monday, May 21st 2018, 7:26am UTC+2

You are not logged in.

  • Login
  • Register

Dear visitor, welcome to SEGGER Forum. If this is your first visit here, please read the Help. It explains how this page works. You must be registered before you can use all the page's features. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

40490FDB

Beginner

Date of registration: Apr 30th 2018

Posts: 1

1

Friday, May 18th 2018, 6:00pm

IAR J-Link SAMA5D2 Undefined Instruction Exception

Using IAR IDE and a J-Link Base ICE with SAMA5D2 on XPlained eval board. Stepping through the code, the IDE locks up. When I break, the code is execting the Undefined Insruction exception handler. Looking at the LR, the instruction at that address disassembles, so I presume it is not the problem. Stack pointer looks good.
Any suggestion how to diagnose this condition?

Date of registration: Jun 25th 2015

Posts: 24

2

Friday, May 18th 2018, 6:20pm

Maybe it is a valid instruction, but maybe not for the active processor mode: privilege; thumb/arm mode..