Version 2

    Here is how to update the OpenSDA bootloader firmware found on Freescale Freedom boards. Older bootloader firmware revisions did not load OpenSDA apps correctly under Linux or Windows 8.1, and thus a firmware upgrade is required for users working in those environments. If OpenSDA is not working, this is most likely the issue. This update is for the bootloader firmware that lets you drag-and-drop new apps onto OpenSDA.

     

    For an overview of what OpenSDA is, see the OpenSDA overview. Also review the OpenSDA User’s Guide.

     

    Determine the OpenSDA Firmware Revision:

     

    Different Freedom boards will have different OpenSDA bootloader firmware revisions. Some boards will work out-of-the-box in Linux, while others will require an upgrade. At the time of this writing, bootloader version 1.11 is the latest firmware.

     

    1. Hold down the reset button on your FRDM board
    2. While holding the button down, plug the USB cable into OpenSDA USB socket, and then release the reset button
    3. The board will enumerate as BOOTLOADER

      pastedImage_0.png

    4. Explore the new drive, and double click on SDA_INFO.HTM to see your current firmware revision.

      pastedImage_1.png

    5. You can see in this example, the bootloader firmware version is 1.10

      booterloader_version.png

     

    Upgrade the OpenSDA Firmware:

     

    If you are not running the latest firmware and need to use the board with Linux or Windows 8.1, you need to then update the firmware. You must do this on an OS supported by the current firmware version on your board (typically Windows XP/Vista/7). However after this one initial time, the board will be usable from then on in any OS environment.

     

    1. Download the latest OpenSDA Firmware Apps zip
    2. Read the BOOTUPDATEAPP_release_notes.txt file
    3. Extract the OpenSDA_Bootloader_Update_App_v111_2013_12_11.zip inside the original zip file to get access to BOOTUPDATEAPP_Pemicro_v111.SDA
    4. Hold down the reset button on your FRDM board
    5. While holding the button down, plug the USB cable into OpenSDA USB socket, and then release the reset button
    6. The board will enumerate as BOOTLOADER

      pastedImage_0.png

    7. Drag and drop the BOOTUPDATEAPP_Pemicro_V111.SDA file into the BOOTLOADER drive
    8. After it finishes copying, unplug the FRDM board, and then replug it back in. This is the point where the bootloader firmware is updated.
    9. Wait for it to enumerate as a drive labeled BOOTLOADER (this will happen automatically and reset should not be held down during this process)

      pastedImage_0.png

    10. Open up the drive and double click on SDA_INFO.HTM to ensure the bootloader is now updated to 1.11

     

    Load an OpenSDA application:

     

    The bootloader firmware update process will erase the previous OpenSDA application you had loaded, so you will need to load it again using the standard application loading process. Starting with v1.14, the Mass Storage Device (MSD) flash programmer application also includes P&E debug and serial capabilities. So there is no need to load separate OpenSDA applications for these features anymore.

     

    1. Hold down the reset button on your FRDM board
    2. While holding the button down, plug the USB cable into OpenSDA USB socket, and then release the reset button
    3. The board will enumerate as BOOTLOADER

      pastedImage_0.png

    4. Drag and drop the appropriate OpenSDA application from the OpenSDA Firmware Apps zip downloaded earlier (such as MSD-DEBUG-FRDM-KL26Z_Pemicro_v114.SDA for a FRDM-KL26Z board) into the BOOTLOADER drive
    5. Wait for it to copy
    6. Unplug, then re-plug in the board
    7. Now the OpenSDA MSD/Debug/CDC app will run (you will see a FRDM-KL26Z drive come up)

      pastedImage_2.png