EasyManua.ls Logo

SwissMicros DM42 - QSPI Flashing Methods; QSPI Flashing with dfu-util

SwissMicros DM42
29 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
7. After successful updating the QSPI data file is removed from calculator disk
Flashing QSPI using dm_tool (obsolete)
Note that this method is obsolete and will be removed.
The dm_tool takes care about QSPI loader itself. Thus flashing new QSPI contents is as easy as
flashing QSPI and ordinary flash contents in a row:
1. Flash DM42_qspi_xxx.bin
2. Flash DM42_flash_xxx.bin
The second step is important as the ordinary firmware is replaced by QSPI loader in first step.
See Launching dm_tool for details about flashing using dm_tool.
Flashing QSPI using dfu-util
Download QSPI loader firmware DMflash.bin
Get DMflash.bin from the URL http://www.swissmicros.com/tools/DMflash.bin.
Switch the calculator into bootloader mode
From menu or by RESET+PGM buttons (see Bootloader mode activation).
Flash QSPI bootloader
dfu-util -D DMflash.bin -a "@Internal Flash /0x08000000/512*0002Kg" -s 0x8000000
Press RESET button after dfu-util finishes the flashing.
Flash QSPI contents
dfu-util -D DM42_qspi_2.10.12.bin -a "@QSPI Flash /0x90000000/512*04Kg" -s
0x90000000
Press F (top right key) to switch the calculator back to bootloader mode.
Flash main firmware
dfu-util -D DM42_flash_2.10.12.bin -a "@Internal Flash /0x08000000/512*0002Kg" -s
0x8000000
Press RESET button after dfu-util finishes the flashing.
Note that this step is important as the ordinary firmware is replaced by QSPI loader earlier.
23

Related product manuals