LPC Link Posibilities

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

LPC Link Posibilities

787件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by MikeSimmonds on Sun Mar 11 17:07:55 MST 2012
IS there any part of the (free) LPCXpresso IDE package that can be run separately in order to provide a GBD server that I can use to write my own debugger interface/flash loader tools.

Is there any documentation on this?

How does flash magic tm connect?

As an alternative is there any documentation on the USB protocol of the LPC-Link as a device?

Regards, Mike
0 件の賞賛
返信
3 返答(返信)

772件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by MikeSimmonds on Mon Mar 12 12:20:23 MST 2012
Hi. This is a bit heretical, but I don't really like to use an IDE at all!
Also I am more than somewhat fussy about the exact operation of the debug capabilities exposed by the LPCXpresso IDE package.

I fully accept that this is my problem and not anyone else's.

With sufficiant skull sweat and reading the ELF/DWARF specs and the SWD specs and the debug components of the Cortex, I can write a standalone debugger for Cortex M3 that displays and operates exactly how I want. [And I know that this will be a major undertaking! I would hope to make this either open source or free to download.]

There is a perennial problem of actually interfacing to the JTAG/SWD pins of the device under test. I don't want to have to design yet another debug adapter because no one will publish their comms protocols.

I was hoping to be able to interface to the LPC-Link becaise it is really cheap. [Have you seen the price of Segger's J-Link for example?]

Failing details on the LPC-Link interface protocols, is there any information for reprogramming the ARM chip on the LPC-Link with my own custom code?

Mike
0 件の賞賛
返信

772件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by CodeRedSupport on Mon Mar 12 03:52:45 MST 2012
There is no public API to the LPC-Link itself. I'm not sure what you are actually trying to achieve, but you can invoke the flash programmer used by LPCXpresso IDE from the command line, as detailed in:

  http://support.code-red-tech.com/CodeRedWiki/CommandLineFlashProgramming

With regards to Flash Magic this connects via the MCU's ISP functionality, which depends upon the MCU in use  (eg serial, ethernet). For more details, see

  http://www.flashmagictool.com/

Regards,
CodeRedSupport.
0 件の賞賛
返信

772件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by MikeSimmonds on Sun Mar 11 22:24:07 MST 2012
Partially answering my own question, there is a page on the Code-Red site "Using command line GDB". However, I find it difficult to understand what one would actually type, presumably into a command window.

It would still be nice to have USB protocol documentation for the LPC-Link.

Regards.
0 件の賞賛
返信