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

How to handle the DFU in 51822 SDK

Hi,

I want to know how to do the OTA,so I refer to the device_firmware_updates project in SDK.Now I can use the command

line to program the bootloader.hex to 51822(The chip has no application).Then I refer to ble_dfu_send_hex project and I have downloaded the setup as "readme" say.But my computer cann't support .Net Framework 4.5 and IntelHex v1.5 cann't be installed sucessfully(see the attachment).I donn't know why,could u give me some advice?The systerm is WIN XP 32.Could I do the DFU on my computer?

Besides,I have read the "Chm SDK documentation",but I still don't know how to handle the DFU in SDK. Are there any detailed document about how to handle the DFU in SDK? Thanks.

Look forward to your reply.Thank you very much.

Best regards, Alice

intelhex-1.5.JPG

Parents
  • Hi Petter,

    Thank you very much for your detailed reply.

    I have done 1 to 5 as u said and I can see the address advertising.But the IntelHex cann't be installed successfully by using command. I have downloaded three files frompypi.python.org/.../IntelHex and I have build the folder in C:(C:\intelhex).pls see the intelhex picture. u said "the zip should be used. Unzip to e.g. C:\interhex",But I donn't know which zip or file would be placed at C:\intelhex.

    I have unzip intelhex-1.5 to C:\interhex,then use "ipy.exe C:\intelhex\setup.py install"command to install IntelHex,but the command line indicates "setup.py doesn't exist". However,I can find the setup.py file in C:\interhex\intelhex-1.5.

    Besides,the PC is WIN XP 32,and is there any problem for this?

    BR Alice

    intelhex.JPG

    setup not exist.JPG

    setup.py.JPG

Reply
  • Hi Petter,

    Thank you very much for your detailed reply.

    I have done 1 to 5 as u said and I can see the address advertising.But the IntelHex cann't be installed successfully by using command. I have downloaded three files frompypi.python.org/.../IntelHex and I have build the folder in C:(C:\intelhex).pls see the intelhex picture. u said "the zip should be used. Unzip to e.g. C:\interhex",But I donn't know which zip or file would be placed at C:\intelhex.

    I have unzip intelhex-1.5 to C:\interhex,then use "ipy.exe C:\intelhex\setup.py install"command to install IntelHex,but the command line indicates "setup.py doesn't exist". However,I can find the setup.py file in C:\interhex\intelhex-1.5.

    Besides,the PC is WIN XP 32,and is there any problem for this?

    BR Alice

    intelhex.JPG

    setup not exist.JPG

    setup.py.JPG

Children
Related