This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

FLASH-PROGRAMMER: Flash programmer, CLI mode , Flashing Bin file with flashprogrammer 1.8.1

Part Number: FLASH-PROGRAMMER
Other Parts Discussed in Thread: CC2630

Hi everybody,

Since Flashprogrammer V1.8.1

I can't flash .bin file on CC2630

>Initiate access to target: XDS-00000000 using 2-pin cJTAG.
>Reading file: C:/Users/fr095-usine/Desktop/XCMW/bin/Debug/ID.bin.
>File size: 0 bytes.
>Number of assigned pages: 0.
>Less than 1 percent of the file contain assigned code.
>Start flash erase ...
>Invalid page range for erase action.
>Reset target ...
>Reset of target successful.

How can I Made please

  • Hi Nicolas, 

    Based on the log, it looks like the file is empty (file size: 0 bytes). How big is the file and which actions did you select? 

    Br,
    Elin W

  • Yes I agree with you I have made a mistake.

    With Flash 1.7.5 and bin not empty

    >Initiate access to target: XDS-00000000.
    >Reading file: C:/Users/fr095-usine/Desktop/XCMW/bin/Debug/ID.bin.
    >File size: 8 bytes.
    >Number of assigned pages: 1.
    >Less than 1 percent of the file contain assigned code.
    >Start flash erase ...
    >Erase finished successfully.
    >Start flash programming ...
    >Programming finished successfully.
    >Start flash verify ...
    >Skip verification of unassigned page: 0.
    >Skip verification of unassigned page: 1.
    >Skip verification of unassigned page: 2.
    >Skip verification of unassigned page: 3.
    >Skip verification of unassigned page: 4.
    >Skip verification of unassigned page: 5.
    >Skip verification of unassigned page: 6.
    >Skip verification of unassigned page: 7.
    >Skip verification of unassigned page: 8.
    >Skip verification of unassigned page: 9.
    >Skip verification of unassigned page: 10.
    >Skip verification of unassigned page: 11.
    >Skip verification of unassigned page: 12.
    >Skip verification of unassigned page: 13.
    >Skip verification of unassigned page: 14.
    >Skip verification of unassigned page: 15.
    >Skip verification of unassigned page: 16.
    >Skip verification of unassigned page: 17.
    >Skip verification of unassigned page: 18.
    >Skip verification of unassigned page: 19.
    >Skip verification of unassigned page: 20.
    >Skip verification of unassigned page: 21.
    >Skip verification of unassigned page: 22.
    >Skip verification of unassigned page: 23.
    >Skip verification of unassigned page: 24.
    >Skip verification of unassigned page: 25.
    >Skip verification of unassigned page: 26.
    >Skip verification of unassigned page: 27.
    >Skip verification of unassigned page: 28.
    >Skip verification of unassigned page: 29.
    >Page: 30 verified OK.
    >Verification finished successfully.
    >Reset target ...
    >Reset of target successfull.

    And with version Flash 1.8.1 and the same Bin file

    >Initiate access to target: XDS-00000000 using 2-pin cJTAG.
    >Reading file: C:/Users/fr095-usine/Desktop/XCMW/bin/Debug/ID.bin.
    >File size: 8 bytes.
    >Number of assigned pages: 1.
    >Less than 1 percent of the file contain assigned code.
    >Start flash erase ...
    >Erase finished successfully.
    >Start flash programming ...
    >Failed to read last page.
    >Reset target ...
    >Reset of target successful.

  • It looks like the ID.bin file does not contain any information on the last page which hinders the programming. If you create a new file containing CCFG information (e.g. by programing the device with v1.7.5, read all flash in edit tab, and save the view to file) and use it to program the device in v1.8.1, it should work.

    BR, 
    Elin W