Re: [coldfire-gnu-discuss] MCF51QE128 flash protection
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [coldfire-gnu-discuss] MCF51QE128 flash protection



Thank You very much, Sergei

Now, it works fine

Thierry

----- Original Message ----- From: "Sergei" <syakovlev@xxxxxxxxxxxx>
To: "thierry maldague" <thierrymaldague@xxxxxxxxxxx>
Cc: <coldfire-gnu-discuss@xxxxxxxxxxxxxxxx>
Sent: Tuesday, July 07, 2009 10:16 PM
Subject: Re: [coldfire-gnu-discuss] MCF51QE128 flash protection


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@xxxxxxxxxxxxxxxx>
To: "thierry maldague" <thierrymaldague@xxxxxxxxxxx>
Cc: <coldfire-gnu-discuss@xxxxxxxxxxxxxxxx>
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