This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
manual:can_demo [2018/07/03 15:14] voorburg [Using BootCommander] |
manual:can_demo [2018/10/22 15:57] voorburg [Notes] |
||
---|---|---|---|
Line 9: | Line 9: | ||
</code> | </code> | ||
- | ===== Using Microboot ===== | + | ===== Using MicroBoot ===== |
- | The Microboot utility needs to be configured to connect to the correct CAN interface on the PC: | + | The MicroBoot utility needs to be configured to connect to the correct CAN interface on the PC: |
- | * Start Microboot by double-clicking "\Host\**MicroBoot.exe**" (on Linux it is "\Host\**MicroBoot**"). | + | * Start MicroBoot by double-clicking "\Host\**MicroBoot.exe**" (on Linux it is "\Host\**MicroBoot**"). |
* Click the "**Settings**"-button and select "**XCP on CAN**" from the "Interface selection" dropdown box | * Click the "**Settings**"-button and select "**XCP on CAN**" from the "Interface selection" dropdown box | ||
* Select the CAN communication device that your PC uses to connect to the CAN bus. | * Select the CAN communication device that your PC uses to connect to the CAN bus. | ||
Line 22: | Line 22: | ||
* If the Transmit/Receive ID's are 29-bit instead of the default 11-bit, make sure to check the "29-bit extended CAN identifiers"-checkbox. | * If the Transmit/Receive ID's are 29-bit instead of the default 11-bit, make sure to check the "29-bit extended CAN identifiers"-checkbox. | ||
- | Once you saved the settings by clicking the "**OK**"-button, Microboot is now ready for action! | + | Once you saved the settings by clicking the "**OK**"-button, MicroBoot is now ready for action! |
- | After building your user program, its S-record formatted firmware file can be downloaded to the remaining flash memory using the bootloader. In **Microboot** click the "**Browse**"-button and select your user program's firmware file. For the demo programs, this one is located in the ".\**Prog**\bin\" directory. Once the firmware file was selected, the download should automatically start. | + | After building your user program, its S-record formatted firmware file can be downloaded to the remaining flash memory using the bootloader. In **MicroBoot** click the "**Browse**"-button and select your user program's firmware file. For the demo programs, this one is located in the ".\**Prog**\bin\" directory. Once the firmware file was selected, the download should automatically start. |
{{:manual:olimex_stm32p405_download_can.png?|}} | {{:manual:olimex_stm32p405_download_can.png?|}} | ||
Line 48: | Line 48: | ||
When using the Lawicel CANUSB interface, the [[http://www.can232.com/download/canusb_setup_win32_v_2_2.zip|32-bit driver for the CANUSB DLL API]] should be installed. | When using the Lawicel CANUSB interface, the [[http://www.can232.com/download/canusb_setup_win32_v_2_2.zip|32-bit driver for the CANUSB DLL API]] should be installed. | ||
+ | |||
+ | When using the Peak Systems PCAN-USB interface, the [[https://www.peak-system.com/PCAN-Basic.239.0.html?L=1|PCAN-Basic API]] should be installed. Refer to the included Readme.txt of the PCAN-Basic API for instructions on how to install the PCANBasic.dll onto your Windows system. |