0% found this document useful (0 votes)
219 views6 pages

DSO Nano Firmware Generation and Upgrade

The document describes the process to modify firmware code for the DSO Nano oscilloscope, generate a binary file, and convert it to a DFU file to upgrade the device firmware. 1) Code is modified and built in IAR Workbench to generate a .hex binary file. 2) The Dfuse tool is used to convert the .hex file to a .dfu firmware upgrade file. 3) The .dfu file is loaded and programmed onto the DSO Nano by connecting it to a PC while holding a button at power on, and using the DfuSe USB device firmware upgrade tool.

Uploaded by

diego742000
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
219 views6 pages

DSO Nano Firmware Generation and Upgrade

The document describes the process to modify firmware code for the DSO Nano oscilloscope, generate a binary file, and convert it to a DFU file to upgrade the device firmware. 1) Code is modified and built in IAR Workbench to generate a .hex binary file. 2) The Dfuse tool is used to convert the .hex file to a .dfu firmware upgrade file. 3) The .dfu file is loaded and programmed onto the DSO Nano by connecting it to a PC while holding a button at power on, and using the DfuSe USB device firmware upgrade tool.

Uploaded by

diego742000
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

DSO Nano Firmware Generation

Intro: You could modify code and generate binary file via IAR embedded Workbench IDE. Then the binary file (*.hex) needs conversion to DFU (Device firmware upgrade) image (*.DFU),

Tools needed: A. IAR Workbench evaluation for ARM. (32KB code limit) http://code.google.com/p/dsonano/downloads/detail?name=Embedded%20Workbench%204.0%20Evaluation.rar&can= 2&q= B. Latest APP firmware as reference http://code.google.com/p/dsonano/downloads/list C. Dfuse http://www.st.com/stonline/products/support/micro/files/um0412.zip D. A PC running windows with version greater than windows 98. E. A mini USB cable to connect PC and DSO nano. Environment In following sample, we assume the project is located at d:/lab, with project name DS0201_APP Steps: 1. Extract firmware to a d:/Lab/ 2. Double click d:/Lab/DS0201_APP\project\EWARM\DSO201.eww to open project.

Page 1 of 6

6/2/2010

3. After modification, we rebuild all to start generate new image.

4. By default setting, you will get d:/Lab/DS0201_APP\project\EWARM\DS0201.hex

5. Use DFU file manager to generate DFU file from DSO201.hex.

Page 2 of 6

6/2/2010

6. Select Generate

7. Select binary file from S19 or Hex... button.

8. Remember to choose file type as .hex file, open the one you just created.

Page 3 of 6

6/2/2010

9. Generate

10. You will get a .dfu file in the same directory of .hex.

Page 4 of 6

6/2/2010

DSO Nano Firmware upgrade


Its easy to upgrade firmware with USB bootloader. 1. Download DfuSe USB Device Firmware Upgrade from http://www.st.com/stonline/products/support/micro/files/um0412.zip and install. Instruction available at http://www.st.com/mcu/familiesdocs-110.html#Application%20Note. 2. Connect Oscilloscope with PC, press and hold , switch on power, until oscilloscope displays: "Please Connect to USB Host!" "DS0201 Device Firmware Upgrade Ver 1.0" When PC connection is detected, "Firmware Upgrading..." "Please Wait" "DS0201 Device Firmware Upgrade Ver 1.0" 3. Run Dfuse Demo on PC, check (1 , select firmware to be uploaded e,g."DS0201_FW_V2.00.DFU" at 2 NOTE: In latest versions, you might need to program 1) XXX_LIB.dfu first and then XXX_APP file

Firmware structure:

Please note that both APP firmware and LIB firmware (.dfu) files needs to be programmed while upgrading.

Page 5 of 6

6/2/2010

4. In the next screen, press 1

"Upgrade", when upgrade finishes successfully, status bar will notify2

5. Shut down and reactivate power to use new firmware.


Page 6 of 6 6/2/2010

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy