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

Trouble with transition to gcc

SDK 12.3

nrf51 DK

ARMGCC

Windows 10

I'm trying to switch to gcc. I use 4.9 2015q3 version as recommended.

I have a trouble with simple blank blinky project (nRF5_SDK_12.3.0_d7731ad\examples\peripheral\blinky\pca10028\blank\armgcc).

I make hex with make utility, prog it with nrfjprog, but it  doesn't work. nrf51422_xxac.hex

If I prog (also via nrfjprog) precompile hex file from nRF5_SDK_12.3.0_d7731ad\examples\peripheral\blinky\hex it works well. blinky_pca10028.hex

Parents
  • HI ArtG89, 

    I flashed the attached hex file( nrf51422_xxac.hex) to a nRF51 DK(PCA10028) using nrfjprog and it worked fine on my end. 

    I used the following nrfjprog command:

    nrfjprog -f nrf51 --program nrf51422_xxac.hex --chiperase --reset

    which gave the following output


    Parsing hex file.
    Erasing user available code and UICR flash areas.
    Applying system reset.
    Checking that the area to write is not protected.
    Programming device.
    Applying system reset.
    Run.

    and LED1-3 is blinking. 

    Best regards

    Bjørn 

Reply
  • HI ArtG89, 

    I flashed the attached hex file( nrf51422_xxac.hex) to a nRF51 DK(PCA10028) using nrfjprog and it worked fine on my end. 

    I used the following nrfjprog command:

    nrfjprog -f nrf51 --program nrf51422_xxac.hex --chiperase --reset

    which gave the following output


    Parsing hex file.
    Erasing user available code and UICR flash areas.
    Applying system reset.
    Checking that the area to write is not protected.
    Programming device.
    Applying system reset.
    Run.

    and LED1-3 is blinking. 

    Best regards

    Bjørn 

Children
No Data
Related