Prev: Recommendation: Low power microcontroller for battery poweredlogger
Next: Seeking comparisson of free RTOS for embedded
From: Gustavo Vargas on 30 Mar 2010 13:59 Hello, I'm starting a new code for an already developed hardware using a LPC2387, normally I use units from ST it's the first time I write code for NXP and I'm impressed with the documents available... they are really bad or I'm looking in the wrong place.... well, for manufacturing reason I must to use a JTAG like the one we have in our plant, normally I write the script of it to work with the core we use, but this time I simple can't find any documents describing by access to the internal's LCP2387 flash using the JTAG. Can someone tell me if this information is available and where to find it? Another doubt is: this one is a ARM7TDMI-S, I already have scripts for this core, is the JTAG chain equal besides the manufacturer? I mean, if I have an script JTAG that works well in the attempt to write the flash of a ARM7TDMI-S core from ST the same script will work to access a ATM7TDMI-S from NXP? I think not, but must to clarify.... Regards, Gustavo
From: John Devereux on 30 Mar 2010 15:09 Gustavo Vargas <xgvargas(a)gmail.com> writes: > Hello, > > I'm starting a new code for an already developed hardware using a > LPC2387, normally I use units from ST it's the first time I write code > for NXP and I'm impressed with the documents available... they are > really bad or I'm looking in the wrong place.... well, for > manufacturing reason I must to use a JTAG like the one we have in our > plant, normally I write the script of it to work with the core we use, > but this time I simple can't find any documents describing by access > to the internal's LCP2387 flash using the JTAG. Can someone tell me if > this information is available and where to find it? If it turns out you cannot find any proper information, there is an open source JTAG tool called openocd that supports the NXP parts (as well as many others). The information must be in there somewhere... > > Another doubt is: this one is a ARM7TDMI-S, I already have scripts for > this core, is the JTAG chain equal besides the manufacturer? I mean, > if I have an script JTAG that works well in the attempt to write the > flash of a ARM7TDMI-S core from ST the same script will work to access > a ATM7TDMI-S from NXP? I think not, but must to clarify.... > > Regards, > Gustavo -- John Devereux
From: Chris Burrows on 30 Mar 2010 18:52 "Gustavo Vargas" <xgvargas(a)gmail.com> wrote in message news:5e509481-c644-46b7-bcea-5592abf2c840(a)y17g2000yqd.googlegroups.com... > really bad or I'm looking in the wrong place.... well, for > manufacturing reason I must to use a JTAG like the one we have in our > plant, normally I write the script of it to work with the core we use, > but this time I simple can't find any documents describing by access > to the internal's LCP2387 flash using the JTAG. Can someone tell me if > this information is available and where to find it? > From what you say I suspect you might only have the *data sheet*. Download a copy of the LPC23xx *user manual* (UM10211) from NXP's website - it has infinitely more information. http://ics.nxp.com/support/documents/microcontrollers/?type=user We haven't tried using JTAG as we use the FlashMagic tool to program our LPC2xxx boards via the UART - a very straightforward process. However, according to the user manual: "Debug tools can write parts of the Flash image to the RAM and then execute the IAP call "Copy RAM to Flash" repeatedly with proper offset." The IAP (In-Application Programming) facilities are documented in great detail in the manual. The LPC2000 Yahoo technical group is a great source of assistance if you need additional help: http://tech.groups.yahoo.com/group/lpc2000/ -- Chris Burrows CFB Software Armaide: LPC2xxx Development System for Pascal programmers http://www.armaide.com
From: Gustavo Vargas on 30 Mar 2010 19:35
> > From what you say I suspect you might only have the *data sheet*. Download a > copy of the LPC23xx *user manual* (UM10211) from NXP's website - it has > infinitely more information. > > http://ics.nxp.com/support/documents/microcontrollers/?type=user > In fact I found this few minutes ago, and you are right, they explain how to do the programming process using the IAP, but WHY this document isn't in the mais page of the LPC2387?? Well.. maybe they forgot to put the MAIN document in the page... > We haven't tried using JTAG as we use the FlashMagic tool to program our > LPC2xxx boards via the UART - a very straightforward process. However, > according to the user manual: > > "Debug tools can write parts of the Flash image to the RAM and then execute > the IAP call "Copy RAM to Flash" repeatedly with proper offset." > > The IAP (In-Application Programming) facilities are documented in great > detail in the manual. The LPC2000 Yahoo technical group is a great source of > assistance if you need additional help: > > http://tech.groups.yahoo.com/group/lpc2000/ > Thank you for this! I think will be very usefull > -- > Chris Burrows |