Tobias
Tobias

Reputation: 1

Using IAR Embedded Workbench to configure an Arduino Due through J-link, the debugger never reaches the main function of my C-Code

IAR Embedded Workbench 9.40 J-link EDU Arduino Due Programming in C

The script works on my friend's computer, but not on mine. The connection to J-link and Arduino CPU appear to work correctly. However, the debugger never reaches the main part of my script. I have at one point gotten it to run, only once. and I cannot recreate it.

There is no warning or error message.

Does anyone have any ideas of what might be the problem? Here is a pixely video of me trying to set a break-point in my main function.

https://www.youtube.com/watch?v=V9wvcCZCgRA

Thank you!

Reinstalled IAR Embedded Workbench Reinstalled J-link Drivers Reset Arduino Tried a different computer (which worked), this computer ran a slightly older version of IAR

Upvotes: 0

Views: 221

Answers (1)

Tobias
Tobias

Reputation: 1

For now, changing the linker configuration file from "sram.icf" to "flash.icf" seems to have fixed the issue. I'm not sure what this implies for the rest of the system.

Upvotes: 0

Related Questions