This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Very basic blinky demo code can not hit main()

I have tried blinky demo project (without BLE) in MDK5, the code can not run into main().

Why ? What happens ? I am using MDK5 to debug the code.

  • Sorry, guys. It is my fault.

    Last night is Chinese ZhongYuan Festival, so called Chinese ghost festival. And I hit two faults.

    Wrong Path

    The demo demands softdevice.

    c:\nRF51_SDK_12.3.0\examples\peripheral\blinky\pca10028\s130\arm5_no_packs\blinky_pca10028_s130.uvprojx

    The baremetal should not include s130 in the path. I should use another blank demo instead.

    c:\nRF51_SDK_12.3.0\examples\peripheral\blinky\pca10028\blank\arm5_no_packs\blinky_pca10028.uvprojx

    Wrong Silkscreen

    The new module I bought came along with a converter, which was designed for nRF52832, instead of nRF51822, therefore, I measured the wrong pins. Actually I meansured all of the GPIOs, then I realized it.

    So, I am not careful enough. All my fault.

    However, story didn't end. I will open another thread anyway. It is closed.

Related