ColdFire different behavior when flashing via "debug" or "flash on device"

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

ColdFire different behavior when flashing via "debug" or "flash on device"

520件の閲覧回数
il_mix
Contributor II

Hi, everyone!

 

I have this project for ColdFire MCF51MM. After initialization, it print via serial a given string.

Everything works fine when flashing the micro via debug. It works correctly after resetting the micro, too (using it unconnected to CodeWarrior, not just in debug mode).

If I flash the .elf or .elf.S19 using "Flash Programmer"->"Flash File To Target", the output string is all messed up.

I analyzed the serial signal with an oscilloscope, and it looks like the signal generated by the micro programmed via Flash Programmer is slightly slower than the one generated when the micro is programmed via Debug.

What can be the source of this behavior?

 

Thanks

Massimo

ラベル(1)
0 件の賞賛
返信
1 返信

395件の閲覧回数
Carlos_Mendoza
NXP Employee
NXP Employee

Hi Massimo Cristofolini,

I think that the behavior you describe might be happening because the "Flash file to Target" option is not managing the trim value, you can find more information here:

Re: CodeWarrior "Flash File to Target" trimming or not?

Hope it helps!

Best Regards,

Carlos Mendoza

Technical Support Engineer

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
返信