[coldfire-gnu-discuss] MCF51QE128 flash protection
Sergei
syakovlev at thinksrs.com
Tue Jul 7 20:16:57 UTC 2009
Hi Thierry,
You might not need to wait for new release.
Try to modify linker file to reserve 24 bytes right after end of vector
table (addr 0x400).
To do this I use following (for MCF52235):
LONG (0x01234567)
LONG (0x89abcdef)
LONG (0xffffffff)
LONG (0x00000000)
LONG (0x00000000)
LONG (0xffffffff)
Best regards,
Sergei.
thierry maldague wrote:
> Thank you, Maxim
> I'm anxiously awaiting the next release, because debug of MCF51 in
> flash is impossible as the memory is locked.
>
> Thierry
>
> ----- Original Message ----- From: "Maxim Kuvyrkov"
> <maxim at codesourcery.com>
> To: "thierry maldague" <thierrymaldague at hotmail.com>
> Cc: <coldfire-gnu-discuss at codesourcery.com>
> Sent: Tuesday, July 07, 2009 7:09 AM
> Subject: Re: [coldfire-gnu-discuss] MCF51QE128 flash protection
>
>
>> thierry maldague wrote:
>>> Hello
>>> I use Codesourcery Lite for Coldfire with a demo board MCF51QE128
>>> When building an executable (elf) and programming it in Flash with
>>> P&E progcfv1_16K, it appears that the Flash is secured (bits SEC of
>>> NVOPT set to 10)
>>> Is it any option to set these bits to 00 to leave the flash unsecured ?
>>
>> Hi Thierry,
>>
>> As far as I remember, there was a bug in the linker script in the
>> last release of ColdFire ELF Lite toolchain. This will be fixed in
>> the next release.
>>
>> --
>> Maxim K.
>> CodeSourcery
>>
>
>
> __________ Information from ESET Smart Security, version of virus
> signature database 4222 (20090707) __________
>
> The message was checked by ESET Smart Security.
>
> http://www.eset.com
>
>
>
>
__________ Information from ESET Smart Security, version of virus signature database 4222 (20090707) __________
The message was checked by ESET Smart Security.
http://www.eset.com
More information about the coldfire-gnu-discuss
mailing list