Engineering Questions with Answers - Multiple Choice Questions
MCQs on USB Bootloader
Boot loader consists of __________ number of components.
a) 4 components
b) 2 components
c) 3 components
d) 5 components
Explanation: The boot loader consists of the following components:
–> Target MCU
–> Master programmer
–> Data source.
All silicon labs SiMxxxxx MCUs with Flash memory are self-programmable.
Explanation: All silicon labs SiMxxxxx MCUs with Flash memory are self-programmable, ie., code running on the MCUs can erase and write other parts of the code memory.
If the device is programmed with a bootloader, the application image is loaded in _________ interface.
Explanation: An uninitialized device requires the bootloader to be flashed over the debug interface. Once the device is programmed with a bootloader, the application image is loaded in USB interface.
Application/s that provide to test the bootloader functionality.
a) Blinky_Fast and B.inky-Medium
b) Only Blinky_slow
c) Only Blinky_Fast
d) Blinky_Fast and Blinky_Slow
Explanation: There are two example applications provided to test out the bootloader functionality:
_________ command should be performed to very that the firmware image is Blinky_fast.
Explanation: Query command is performed and we have to verify that the sAppName of the loaded firmware image is Blinky_Fast.
Which switch should be pressed to perform all commands?
a) Up switch
c) Down switch
d) Reset switch
Explanation: Force the device into bootloader mode by holding down sw2 and pressing and releasing reset switch to perform a query, upload, or download command on the device.
DFU stands for Device Firmware Update.
Explanation: The file manager and DFU state machine are imported unmodified from the framework software.
When is DEVICE_Init called?
Explanation: The DEVICE_Init routine is called after each device reset and is responsible for initializing the device and checking for the appropriate trigger sources.
DEVICE_Init performs what?
a) Disabling watchdog timer and disabling APB clock
b) Enabling APB clock and enabling watchdog timer
c) Disabling watchdog timer and enabling APB clock
d) Disabling APB clock and enabling watchdog timer
Explanation: The DEVICE_Init routine performs the following functions:
–> Disables the watchdog timer and enables the APB clock
–> Determines the amount of Flash and RAM in the device
–> Check all internal and external automatic trigger sources.
DEVICE_Restore routine restores all the device registers modified by DEVICE_Init to their reset values.
Explanation: DEVICE_Restore routine restores all the device registers modified by DEVICE_Init to their reset values. This includes starting the watchdog timer and restoring the APB clock gates back to their reset value.