Error happens when programming.
It's OK several days ago, or if I create a minimum project.
Compiler says no error, just several warnings in FlashProg assembly code.
Hardware: P&E USB-ML-12
OS: Win7 x64 CodeWarrior 10.7
Console window:
Error during programming.
ERROR 18 during script!
Solved! Go to Solution.
hi,
one of the possible reason is that s-record file contains records that does not belong to flash – check the linker file and source code if everything is ok.
if you couldn't solve the problem on your side, you can upload your demo project here. I will check it directly from my side.
Have a great day,
Jennie Zhang
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Seems caused by Freescale official flash program code DoOnStack.asm,
If I exclude it from project, it became normal.
;******************************************************************************
; Freescale Semiconductor Inc.
; (c) Copyright 2004-2006 Freescale Semiconductor, Inc.
; (c) Copyright 2001-2004 Motorola, Inc.
; ALL RIGHTS RESERVED.
;**************************************************************************//*!
; $File Name: doonstack.asm$
; $Last Modified By: r30323$
; $Version: 1.0.3.0$
; $Date: May-27-2009$
; @brief DoOnStack.asm (see HCS08RM.pdf for details)
;******************************************************************************
But I don't know why?
hi,
one of the possible reason is that s-record file contains records that does not belong to flash – check the linker file and source code if everything is ok.
if you couldn't solve the problem on your side, you can upload your demo project here. I will check it directly from my side.
Have a great day,
Jennie Zhang
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------