Hi,
Is there any way to tell CW (version 10.2) not to erase flash when burning firmaware?
The reason I am asking is because I need to develop bootloader for MC9S08DZ60. I want to burn application before I burn the bootloader
and see that the bootloader actually jump to the application.
Is there a way to limit S record length? for example I want it to be max of 64 bytes.
Thanks.
Solved! Go to Solution.
Hello,
if you are usiing P&E as connection device, then this link provides a way to do this:
I hope this helps.
Thanks,
As for my seconds question, use SLINELEN will set the S-Record len
Eran,
that's right, SLINELEN will set the S-Record len.
an example is like below (the .bbl file):
OPENFILE "%ABS_FILE%.s19"
format=motorola
busWidth=1
origin=0
len=0x10000
destination=0
SLINELEN=24
SRECORD=Sx
SENDBYTE 1 "%ABS_FILE%"
CLOSE
Hello,
if you are usiing P&E as connection device, then this link provides a way to do this:
I hope this helps.
Hello Erich,
I think there is a bug in the memory Preservation or i might missing how to use it.
My bootloader is set in PRM to be on ROM in range of 0xFA00 to 0xFFAD.
When I try to set memory Preservation range as mentioned above, eclipse ignores it and set it as F9C0 to FFBF.
The same thing happens when I try to set bootloader project to prevent erasing range 1900 To FFFF eclipse ignores it and set is as 1900 to 10DF.
Is this really a bug or I am missing something in memory preservation?
My mcu is MC9S08DZ60.
Thank you.