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

Not able to download program with GCC setup

FormerMember
FormerMember

Hi all, I have the exact issue mentioned here - github.com/.../9 I have updated my makefile to generate only one bin file from the Softdevice Hex file, but still I'm getting the ' Failed to download RAMCode!' Error. I'm using S110 v8.1.0 with the nrf51-DK PCA10028 on a Linux machine. Regards, Prithvi

Parents
  • FormerMember
    0 FormerMember

    These are the make targets available in the latest SDK 9.0.0 -

    ## Program device
    .PHONY: flash
    flash: $(OUTPUT_BINARY_DIRECTORY)/$(OUTPUT_FILENAME).hex
    	nrfjprog --reset --program $(OUTPUT_BINARY_DIRECTORY)/$(OUTPUT_FILENAME).hex
    
    .PHONY: reset
    reset:
    	nrfjprog --reset
    
    .PHONY: erase
    erase:
    	nrfjprog --erase
    

    But nrfjprog being a Windows program I can't use it in Linux. Yes, I was using JLinkExe tool by SEGGER for Linux. Is there GCC support for Linux, not only Windows by NordicSemi? When I upgraded from 6.0.0 Softdevice S110 to 8.1.0, I am not able to use the same method that I was using earlier, similar to github.com/.../nrf51-pure-gcc-setup

Reply
  • FormerMember
    0 FormerMember

    These are the make targets available in the latest SDK 9.0.0 -

    ## Program device
    .PHONY: flash
    flash: $(OUTPUT_BINARY_DIRECTORY)/$(OUTPUT_FILENAME).hex
    	nrfjprog --reset --program $(OUTPUT_BINARY_DIRECTORY)/$(OUTPUT_FILENAME).hex
    
    .PHONY: reset
    reset:
    	nrfjprog --reset
    
    .PHONY: erase
    erase:
    	nrfjprog --erase
    

    But nrfjprog being a Windows program I can't use it in Linux. Yes, I was using JLinkExe tool by SEGGER for Linux. Is there GCC support for Linux, not only Windows by NordicSemi? When I upgraded from 6.0.0 Softdevice S110 to 8.1.0, I am not able to use the same method that I was using earlier, similar to github.com/.../nrf51-pure-gcc-setup

Children
No Data
Related