Hi all
I am doing a small personal project. I have 2 DK's :
nrf51 DK: pca10028
nrf52 DK: pca10040
Up until recently things worked fine, but suddenly i ran into a problem, and tbh i am at a los. Full story:
Following this guide: https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/development-with-gcc-and-eclipse i have setup eclipse imported a pca10028 blinky blank project
OS :Ubuntu 20 LTE
Eclipse IDE: Version: 2020-03 (4.15.0)
Build id: 20200313-1211
SoftDevice 11 (for ease and compatibility. I am using only GPIOs and UART, so SDS is not that relevant).
Worked perfect.
I then in a similar manner imported a pca10040 blinky blank project (from the SDK11 directory structure, so the same main.c as for pca10028, different linker and makefile).
Worked fine 2, now i can program and debug 2 different boards.
However, since recently, i am not able to flash the nrf52DK using the pca10040 project. When i start debugging or build flash target, the GPIO no longer toggles as it used to.
Strangely enough, i can run a debug session in the pca10028 project on the pca10040 board, and the code runs as expected. (Obviously i cannot flash pca10040 using pca10028 makefile due to difference in names. But i dont know why the debugging session, configured for pca10028 runs on pca10040.)
Seems like some configuration is wrong, but i double checked the eclipse project configuration, makefiles and linker files, and it seems to be in order. So i am very lost... any ideas are appreciated, thanks
EDIT:
Issue resolved: Was a very stupid question. I forgot that pinout of the Arduino pins is slightly different on pca10040, and my LED was slotted into the wrong GPIOs...