www.kxcad.net Home > Electronic Index > Altium(Protel) Index
Availability
Devices
(Menu) : Processors » Processor 18 » Download Program
Description This command is used to download the existing, compiled embedded software file (Hex file) to the currently focused MCU device in the Soft Devices chain of the Devices view.
Use This command is only available when the Devices view is configured to be 'Live'. To enter this mode, ensure that the Live option in the Devices view is enabled.
Also, ensure that the MCU whose embedded software you wish to download, currently has the focus in the Soft Devices chain of the view. A device on the chain is given the focus simply by clicking on its corresponding icon in the chain.
After launching the command, the focused MCU will be reset and subsequently placed in the Paused state - shown by the text above the device's icon changing from Running to Paused. The Hex file will then be downloaded.
If the microcontroller was previously in the Paused state prior to the download, it will remain in the Paused state after download has completed. If it was running prior to the download, it will be set running after download has completed.
Notes Functionality is provided in the Devices view, to recompile the embedded project, aside from the Process Flow, in order to obtain an updated Hex file, which can then be downloaded directly to the microcontroller running in the FPGA.
For each microcontroller core detected in the design, controls are available in the view to compile the source embedded project for the code running on the processor and to download it directly – updating the code without having to reprogram the physical device. The name of the compiled Hex file is displayed for reference.
When a change is made to a source file in the embedded project and that file is saved, the indicator
bar on the Up to Date/Download button (located underneath a device's icon in the Soft Devices chain) will change from green to yellow.
To obtain an updated Hex file, simply click on the Compile button (above the name of the Hex file). This will recompile the embedded project and generate the latest Hex file. The indicator bar on the Up to Date/Download button will change back to green. The updated file can then be downloaded to the MCU simply by clicking on this button.
Process FpgaFlow:DeviceAction
Parameters Target=SoftDevice|Index=18|Action=DownloadProgram
Links
About...
About...
About...
Choose and download to the current Hard device
Compile Program
Continue All Processors
Continue
Download To All On-Chip Processors
Download To Device
Instrument...
Instrument...
Instrument...
Pause All Processors
Pause
Reset All Devices
Reset All Processors
Reset the currently selected Hard device
Reset
Reset
Single Step All Processors
Single-Step