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:demos:evbplus_dragon12p_codewarrior [2013/10/21 11:09] voorburg [Resolving Build Errors] |
manual:demos:evbplus_dragon12p_codewarrior [2015/05/22 18:05] 127.0.0.1 external edit |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== EVBplus Dragon12-plus (Freescale HCS12DG256) Codewarrior ====== | ====== EVBplus Dragon12-plus (Freescale HCS12DG256) Codewarrior ====== | ||
+ | |||
+ | ===== Supported firmware update interfaces ===== | ||
+ | ^ UART ^ CAN ^ USB ^ TCP/IP ^ SD-card ^ | ||
+ | | Yes | Yes | No | No | No | | ||
===== Development Environment ===== | ===== Development Environment ===== | ||
Line 23: | Line 27: | ||
* \Target\Demo\HCS12_Evbplus_Dragon12p_CodeWarrior\**Boot**\bin\**openblt_evbplus_dragon12p.abs.s19** | * \Target\Demo\HCS12_Evbplus_Dragon12p_CodeWarrior\**Boot**\bin\**openblt_evbplus_dragon12p.abs.s19** | ||
- | ===== Configuring Microboot ===== | + | ===== Building the Demo Program ===== |
- | The Microboot utility needs to be configured to connect to the correct COM-port and to communication at the correct baudrate: | + | |
- | + | ||
- | * Start Microboot by double-clicking "\Host\**MicroBoot.exe**". | + | |
- | * Click the "**Settings**"-button and select "**OpenBLT using UART**" from the dropdown box. | + | |
- | * Click the "**Options**"-button to configure the communication parameters. | + | |
- | * Select the PC's **COM-port** that the board is connected to. | + | |
- | * Set the baudrate to **57600** bits/sec. | + | |
- | + | ||
- | Once you saved the settings by clicking the "**OK**"-button twice, you can close Microboot by clicking the "**Cancel**"-button on the main screen. Microboot is now ready for action! | + | |
- | + | ||
- | ===== Building and downloading the Demo Program ===== | + | |
When using Freescale Codewarrior, simply open the project from within Codewarrior and select //Project->Make// from the menu. The project file is located at: \Target\Demo\HCS12_Evbplus_Dragon12p_CodeWarrior\**Prog**\ide\ | When using Freescale Codewarrior, simply open the project from within Codewarrior and select //Project->Make// from the menu. The project file is located at: \Target\Demo\HCS12_Evbplus_Dragon12p_CodeWarrior\**Prog**\ide\ | ||
Line 40: | Line 33: | ||
* \Target\Demo\HCS12_Evbplus_Dragon12p_CodeWarrior\**Prog**\bin\**demoprog_evbplus_dragon12p.abs.sx** | * \Target\Demo\HCS12_Evbplus_Dragon12p_CodeWarrior\**Prog**\bin\**demoprog_evbplus_dragon12p.abs.sx** | ||
- | In case of build errors, refer to the information in section [[manual:demos:evbplus_dragon12p_codewarrior#resolving_build_errors|resolving build errors]]. | + | ===== Firmware update procedure ===== |
+ | To download the demo program \Target\Demo\HCS12_Evbplus_Dragon12p_CodeWarrior\**Prog**\bin\**demoprog_evbplus_dragon12p.abs.sx** using the bootloader, follow the instructions in the following links, depending on the communication interface you intend to use: | ||
- | To download this **demoprog_evbplus_dragon12p.abs.sx** file to the remaining flash memory using the bootloader, start the **Microboot** program and click the "**Browse**"-button. Browse to the "\Target\Demo\HCS12_Evbplus_Dragon12p_CodeWarrior\**Prog**\bin\" directory and select the **demoprog_evbplus_dragon12p.abs.sx** file to start the download. | + | * [[manual:uart_demo|Firmware updates using the UART communication interface]] |
+ | * [[manual:can_demo|Firmware updates using the CAN communication interface]] | ||
- | {{:manual:demos:evbplus_dragon12p_download.gif?|}} | ||
- | |||
- | Once the download completed, the newly programmed software will be started by the bootloader. You can verify this by checking that an LED blinks. Congratulations! That's all there is to using the bootloader. | ||
===== Resolving Build Errors ===== | ===== Resolving Build Errors ===== | ||
Line 64: | Line 56: | ||
* Link error: Symbol AssertFailure in file .Target\Demo\HCS12_Evbplus_Dragon12p_CodeWarrior\Boot\ide\hcs12_Data\Standard\ObjectCode\main.c.o | * Link error: Symbol AssertFailure in file .Target\Demo\HCS12_Evbplus_Dragon12p_CodeWarrior\Boot\ide\hcs12_Data\Standard\ObjectCode\main.c.o | ||
* Delete the assert.c file from the Source folder in the project and add it again. The source file is located at \Target\Source | * Delete the assert.c file from the Source folder in the project and add it again. The source file is located at \Target\Source | ||
- |