public inbox for ecos-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug 1001395] New: LPC1766/LPC17XX .ldi file forgets about IAP RAM usage and NXP flash checksum
@ 2011-11-30 11:44 bugzilla-daemon
  2011-12-03 14:00 ` [Bug 1001395] " bugzilla-daemon
                   ` (7 more replies)
  0 siblings, 8 replies; 18+ messages in thread
From: bugzilla-daemon @ 2011-11-30 11:44 UTC (permalink / raw)
  To: unassigned

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.


^ permalink raw reply	[flat|nested] 18+ messages in thread
* [Bug 1001395] New: LPC1766/LPC17XX .ldi file forgets about IAP RAM usage and NXP flash checksum
@ 2011-11-30 11:44 bugzilla-daemon
  2011-12-03 14:00 ` [Bug 1001395] " bugzilla-daemon
                   ` (8 more replies)
  0 siblings, 9 replies; 18+ messages in thread
From: bugzilla-daemon @ 2011-11-30 11:44 UTC (permalink / raw)
  To: ecos-bugs

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 on the CC list for the bug.


^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2012-01-24 19:47 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-11-30 11:44 [Bug 1001395] New: LPC1766/LPC17XX .ldi file forgets about IAP RAM usage and NXP flash checksum bugzilla-daemon
2011-12-03 14:00 ` [Bug 1001395] " bugzilla-daemon
2011-12-03 14:35 ` bugzilla-daemon
2011-12-05 21:21 ` bugzilla-daemon
2011-12-06 11:21 ` bugzilla-daemon
2011-12-22  9:32 ` bugzilla-daemon
2012-01-16  0:10 ` bugzilla-daemon
2012-01-24 12:59 ` bugzilla-daemon
2012-01-24 19:47 ` bugzilla-daemon
2011-11-30 11:44 [Bug 1001395] New: " bugzilla-daemon
2011-12-03 14:00 ` [Bug 1001395] " bugzilla-daemon
2011-12-03 14:35 ` bugzilla-daemon
2011-12-05  9:01 ` bugzilla-daemon
2011-12-05 21:21 ` bugzilla-daemon
2011-12-08  8:09 ` bugzilla-daemon
2011-12-22  9:31 ` bugzilla-daemon
2012-01-16  0:02 ` bugzilla-daemon
2012-01-16  0:10 ` bugzilla-daemon
2012-01-24 12:59 ` bugzilla-daemon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).