AnsweredAssumed Answered

DEVKIT-ZVL128 is not working with Simple Serial Bootloader.

Question asked by chury jeong on Jan 29, 2018
Latest reply on Jan 30, 2018 by Radek Sestak

Dear NXP engineer. 

 

Recently, I have purchased DEVKIT-ZVL128 to learn LIN bootloader. 

And before running "LIN bootloader", when I run "Simple_Serial_Bootloader_for_S12Z", I met the build error like below. 

The sample code for "Serial_bootloader", I have downloaded the following link: 

Simple Serial Bootloader for S12Z - AN draft 

 

Question 1) 

How can I fix the error ? 

 

Question 2) 

The "Simple_Serial_Bootloader_for_S12Z" seems to support lots of S12Z derivatives(S12ZVL,..)

For each derivatives, what should I change to support the S12Z derivatives. 

For example, what should be changed between S12ZVL32 and S12ZVL128 ? 

 

 

Build Log messages: 

**** Build of configuration FLASH-P for project Simple_Serial_Bootloader_for_S12Z ****

"D:\\100_freescale\\CW MCU v11.0\\gnu\\bin\\mingw32-make" -j8 all
'Building target: Simple_Serial_Bootloader_for_S12Z.elf'
'Executing target #11 Simple_Serial_Bootloader_for_S12Z.elf'
'Invoking: S12Z Linker'
"D:/100_freescale/CW MCU v11.0/MCU/S12lisa_Tools/Build_Tools/linker" -ArgFile"Simple_Serial_Bootloader_for_S12Z.args" -O"Simple_Serial_Bootloader_for_S12Z.elf"
D:/1_Daesung/02_Projects/00_HSL/01_SW/00_Bootloader/00_NXP_Ref/Simple_Serial_Bootloader_for_S12Z/Simple_Serial_Bootloader_for_S12Z/Project_Settings/Linker_Files/bootloader-persistent.prm
Command Line: '-ArgFile"Simple_Serial_Bootloader_for_S12Z.args" -O"Simple_Serial_Bootloader_for_S12Z.elf"'
Linking D:/1_Daesung/02_Projects/00_HSL/01_SW/00_Bootloader/00_NXP_Ref/Simple_Serial_Bootloader_for_S12Z/Simple_Serial_Bootloader_for_S12Z/Project_Settings/Linker_Files/bootloader-persistent.prm
Reading file 'D:/1_Daesung/02_Projects/00_HSL/01_SW/00_Bootloader/00_NXP_Ref/Simple_Serial_Bootloader_for_S12Z/Simple_Serial_Bootloader_for_S12Z/FLASH/Sources/Bootloader_c.obj'
Reading file 'D:/1_Daesung/02_Projects/00_HSL/01_SW/00_Bootloader/00_NXP_Ref/Simple_Serial_Bootloader_for_S12Z/Simple_Serial_Bootloader_for_S12Z/FLASH/Sources/Errors_c.obj'
Reading file 'D:/1_Daesung/02_Projects/00_HSL/01_SW/00_Bootloader/00_NXP_Ref/Simple_Serial_Bootloader_for_S12Z/Simple_Serial_Bootloader_for_S12Z/FLASH/Sources/SCI_c.obj'
Reading file 'D:/1_Daesung/02_Projects/00_HSL/01_SW/00_Bootloader/00_NXP_Ref/Simple_Serial_Bootloader_for_S12Z/Simple_Serial_Bootloader_for_S12Z/FLASH/Sources/Srec_c.obj'
Reading file 'D:/1_Daesung/02_Projects/00_HSL/01_SW/00_Bootloader/00_NXP_Ref/Simple_Serial_Bootloader_for_S12Z/Simple_Serial_Bootloader_for_S12Z/FLASH/Sources/eeprom_S12Z_c.obj'
Reading file 'D:/1_Daesung/02_Projects/00_HSL/01_SW/00_Bootloader/00_NXP_Ref/Simple_Serial_Bootloader_for_S12Z/Simple_Serial_Bootloader_for_S12Z/FLASH/Sources/flash_S12Z_c.obj'
Reading file 'D:/1_Daesung/02_Projects/00_HSL/01_SW/00_Bootloader/00_NXP_Ref/Simple_Serial_Bootloader_for_S12Z/Simple_Serial_Bootloader_for_S12Z/FLASH/Sources/main_c.obj'
Reading file 'D:/1_Daesung/02_Projects/00_HSL/01_SW/00_Bootloader/00_NXP_Ref/Simple_Serial_Bootloader_for_S12Z/Simple_Serial_Bootloader_for_S12Z/FLASH/Project_Settings/Startup_Code/Dispatcher_c.obj'
Reading file 'D:/1_Daesung/02_Projects/00_HSL/01_SW/00_Bootloader/00_NXP_Ref/Simple_Serial_Bootloader_for_S12Z/Simple_Serial_Bootloader_for_S12Z/FLASH/Project_Settings/Startup_Code/starts12z_c.obj'
Reading file 'D:/1_Daesung/02_Projects/00_HSL/01_SW/00_Bootloader/00_NXP_Ref/Simple_Serial_Bootloader_for_S12Z/Simple_Serial_Bootloader_for_S12Z/FLASH/Lib/mc9s12zvl128_c.obj'
Reading file 'D:/100_freescale/CW MCU v11.0/MCU/S12lisa_Support/s12lisac/lib_small/ansii.lib'
ERROR L1102: Out of allocation space in segment ROM at address 0xFFFC86
Generating MAP file 'D:\1_Daesung\02_Projects\00_HSL\01_SW\00_Bootloader\00_NXP_Ref\Simple_Serial_Bootloader_for_S12Z\Simple_Serial_Bootloader_for_S12Z\FLASH\Simple_Serial_Bootloader_for_S12Z.map'
SmartLinker: *** 1 error(s), 0 warning(s), 0 information message(s) ***
*** command line: '-ArgFile"Simple_Serial_Bootloader_for_S12Z.args" -O"Simple_Serial_Bootloader_for_S12Z.elf"' ***
SmartLinker: *** Error occurred while processing! ***
mingw32-make: *** [Simple_Serial_Bootloader_for_S12Z.elf] Error 1

Outcomes