LPCXpresso824 SWD programming

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LPCXpresso824 SWD programming

Jump to solution
3,365 Views
tiagofernandes
Contributor III

Hello,

I would like to know how can I program the LPC824 from the LPCxpresso824 board using the SWD connector?

I tried to program with shunt in the JP1, but I could not for the work, because gives an error "unable to connect to the target" ,anyone have any suggestions?

Best regards,

Tiago

Tags (2)
0 Kudos
Reply
1 Solution
2,901 Views
tiagofernandes
Contributor III

Hello,

Thanks for that information. But in the website, in LPCXpresso824max page when try to download the IDE this information isn't presented (at least I didn't find this information), however is good to know that the size is more than I requiered.

Best Regards,

Tiago

View solution in original post

0 Kudos
Reply
8 Replies
2,902 Views
tiagofernandes
Contributor III

Hello,

Thanks for that information. But in the website, in LPCXpresso824max page when try to download the IDE this information isn't presented (at least I didn't find this information), however is good to know that the size is more than I requiered.

Best Regards,

Tiago

0 Kudos
Reply
2,901 Views
lpcxpresso_supp
NXP Employee
NXP Employee

Just a quick note. LPCXpresso IDE is free to download and free to register. Once registered it has a binary download size limit of 256KB - more than large enough to program the entire LPC824 flash.

Yours,

LPCXpresso-Support

2,901 Views
tiagofernandes
Contributor III

Hello Brendon,

I know this things that you tell, but I need to use the ""basic" eclipse because is free and there haven't limited compile code.

Relatively to the problem, I have a solution, consisting of not connecting the pin nreset. With this I can program the LPC824 with a external probe (in this case with the ST).

Thanks for the help.

Best Regards,

Tiago

0 Kudos
Reply
2,901 Views
tiagofernandes
Contributor III

Hi Brendon,

I'm using the Eclipse Mars.2 C/C++ Developers and I use the ST programmer because is the only that I have in the moment with SWD probe. If you know other probe that give SWD I'm glad to know, because the probe that exist inside of the LPCxpresso824 only give the CMSIS programming.

Best regards,

Tiago

0 Kudos
Reply
2,901 Views
brendonslade
NXP TechSupport
NXP TechSupport

Hi Tiago,

SWD is the hardware-level programming interface, and CMSIS-DAP is a protocol used to communicate over that interface. The debug probe on the LPCXpresso824MAX board communicates with the LPC824 target over SWD, and the external debug connector provides the connection to that.

LPCXpresso is Eclipse based, if you didn't already realize. I'm not sure why you would choose a different Eclipse environment...

Regards,

Brendon

0 Kudos
Reply
2,901 Views
tiagofernandes
Contributor III

Hi brendonslade,

I know that if I install the JP1 I'm disabling the on-board debug. That is what I intend, because I want to use external debug probe (using ST board). I disable the on-board debug too, because in the document that you refere said that to use the SWD connector (P5) I need to shunt the JP1.

I'm trying to use the eclipse to program the board. I tried with the LCPxpresso IDE with the CMSIS programmer (predefined method to program) and work well. Now I'm trying with other IDE's for using the SWD connector to program, because will be the only away that I will have to program the arm LPC824.

Best Regards,

Tiago

0 Kudos
Reply
2,901 Views
brendonslade
NXP TechSupport
NXP TechSupport

Hi Tiago,

I'm afraid we cant help you with use of an ST programmer with this board. We do check the boards using other probes like ULINK and J-Link. You also don't specify which Eclipse IDE you are trying to use, so we cant really help without more information.

0 Kudos
Reply
2,901 Views
brendonslade
NXP TechSupport
NXP TechSupport

Hi Tiago,

If you install JP1 you are disabling the on-board debug probe. Is that your intention?

In case you are not aware, there is a manual for this board:

LPCXpresso824-MAX Board for LPC82x family MCUs|NXP

Can you provide more information on your system set up (tool chain being used).

0 Kudos
Reply