This is the mail archive of the ecos-bugs@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug 1001395] New: LPC1766/LPC17XX .ldi file forgets about IAP RAMusage and NXP flash checksum


Please do not reply to this email. Use the web interface provided at:
http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001395

           Summary: LPC1766/LPC17XX .ldi file forgets about IAP RAM usage
                    and NXP flash checksum
           Product: eCos
           Version: 3.0
          Platform: Other (please specify)
        OS/Version: Cortex-M
            Status: UNCONFIRMED
          Severity: major
          Priority: low
         Component: HAL
        AssignedTo: unassigned@bugs.ecos.sourceware.org
        ReportedBy: bernard.fouche@kuantic.com
                CC: ecos-bugs@ecos.sourceware.org
             Class: Advice Request


This problem impacts all LPC17XX target since newer ports to LPC17XX MCU will
probably be based on this file:

- if In Application Programming (IAP) is used, then the upper 32 bytes of
internal RAM are used by the IAP built-in ROM. (section 32.3.2.8 of NXP
document UM10360). This area is ignored in .ram definition.

- There is no consideration about NXP 'Valid User Code' (section 32.3.1.1 of
NXP document UM10360). This is a checksum used by the built-in ROM to validate
the flash content when the MCU boots and is stored at vector location 7 (offset
0x1C). A program like OpenOCD will write this code after flashing the target.
The checksum overwrites the instruction 'b hal_reset_vsr' (the second
instruction of reset_vector).

-- 
Configure bugmail: http://bugs.ecos.sourceware.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]