This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
manual:demos:devkit_s12g128_codewarrior [2019/06/29 17:52] voorburg [Building and programming the Bootloader] |
manual:demos:devkit_s12g128_codewarrior [2023/12/04 22:39] (current) voorburg [Supported firmware update interfaces] |
||
---|---|---|---|
Line 2: | Line 2: | ||
===== Supported firmware update interfaces ===== | ===== Supported firmware update interfaces ===== | ||
- | ^ UART ^ CAN ^ USB ^ TCP/IP ^ SD-card ^ | + | |
- | | No | Yes | No | No | No | | + | ^ RS232 ^ CAN ^ USB ^ TCP/IP ^ SD-card ^ Modbus RTU ^ |
+ | | No | Yes | No | No | No | No | | ||
===== Development Environment ===== | ===== Development Environment ===== | ||
Line 30: | Line 31: | ||
===== Building the Demo Program ===== | ===== Building 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_DevKit_S12G128_CodeWarrior\**Prog**\ide\ |
The output file is | The output file is | ||
- | * \Target\Demo\HCS12_Evbplus_Dragon12p_CodeWarrior\**Prog**\bin\**demoprog_evbplus_dragon12p.abs.sx** | + | * \Target\Demo\HCS12_DevKit_S12G128_CodeWarrior\**Prog**\bin\**demoprog_s12g128.abs.sx** |
===== Firmware update procedure ===== | ===== 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 the demo program \Target\Demo\HCS12_DevKit_S12G128_CodeWarrior\**Prog**\bin\**demoprog_s12g128.abs.sx** using the bootloader, follow the instructions in the following links, depending on the communication interface you intend to use: |
* [[manual:can_demo|Firmware updates using the CAN communication interface]] | * [[manual:can_demo|Firmware updates using the CAN communication interface]] | ||
Line 48: | Line 49: | ||
Here is a list of encountered build errors and the solution of resolving the error: | Here is a list of encountered build errors and the solution of resolving the error: | ||
- | * Could not open object file '.Target\Demo\HCS12_Evbplus_Dragon12p_CodeWarrior\Boot\ide\hcs12_Data\Standard\ObjectCode\datapage.c.o' | + | * Could not open object file '.Target\Demo\HCS12_DevKit_S12G128_CodeWarrior\Boot\ide\s12g128_Data\Standard\ObjectCode\datapage.c.o' |
- | * Delete the datapage.c file from the Boot\lib folder in the project and add it again. The source file is located at \Target\Demo\HCS12_Evbplus_Dragon12p_CodeWarrior\Boot\lib | + | * Delete the datapage.c file from the Boot\lib folder in the project and add it again. The source file is located at \Target\Demo\HCS12_DevKit_S12G128_CodeWarrior\Boot\lib |
- | * Could not open object file '.Target\Demo\HCS12_Evbplus_Dragon12p_CodeWarrior\Boot\ide\hcs12_Data\Standard\ObjectCode\mc9s12dg256.c.o' | + | * Could not open object file '.Target\Demo\HCS12_DevKit_S12G128_CodeWarrior\Boot\ide\s12g128_Data\Standard\ObjectCode\mc9s12g128.c.o' |
- | * Delete the mc9s12dg256.c file from the Boot\lib folder in the project and add it again. The source file is located at \Target\Demo\HCS12_Evbplus_Dragon12p_CodeWarrior\Boot\lib | + | * Delete the mc9s12g128.c file from the Boot\lib folder in the project and add it again. The source file is located at \Target\Demo\HCS12_DevKit_S12G128_CodeWarrior\Boot\lib |
- | * Cannot open .\Target\Demo\HCS12_Evbplus_Dragon12p_CodeWarrior\Boot\ide\hcs12_Data\Standard\ObjectCode\cstartup.c.o | + | * Cannot open .\Target\Demo\HCS12_DevKit_S12G128_CodeWarrior\Boot\ide\s12g128_Data\Standard\ObjectCode\cstartup.c.o |
* Delete the cstartup.c file from the Source\HCS12\CodeWarrior folder in the project and add it again. The source file is located at \Target\Source\HCS12\CodeWarrior | * Delete the cstartup.c file from the Source\HCS12\CodeWarrior folder in the project and add it again. The source file is located at \Target\Source\HCS12\CodeWarrior | ||
- | * 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_DevKit_S12G128_CodeWarrior\Boot\ide\s12g128_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 |