-
Notifications
You must be signed in to change notification settings - Fork 27
add jlink and pyocd to lpc1768 upload methods #434
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Were you able to get pyocd to work on LPC1768? I claim that it doesn't work on the actual LPC1768 board. I think what we might want to do here is break up the LPC1768 target:
|
yes, it works with the cheap cmsis-dap probe, flashing the target and also debugging. Although debugging (stepping) is a little bit slower than openOCD and JLink, it is able to show threads, which the other upload methods do not. So I think it is ok to add pyocd, but the possible problems should be mentioned in the documentation. But about the targets you are right, it is cleaner to add a seperate LPCXpresso target, but as 2nd step, not in this PR.
It is already defined like this, only the name LPC1768 was chosen badly. But I don't want to break compatibility, this should be kept as it is. |
|
Are those above screenshots with the actual real Mbed LPC1768 board? AFAIK, that board doesn't have a debug connector, so you have to use the (very old) CMSIS DAP interface chip on the board. I really would like to split the targets up if at all possible. I don't believe that creating an MCU_LPC17XX parent target would create compatibility issues, because the LPC1768 target would still exist, just as a child of this target... right? |
|
If you need, LPC1768 clock config lives here:
I think you can change the #defines on those lines to increase the CPU freq! |
yes, I found it already too. I've set the MCB1700 define and the clock is set to 100 MHz |
no, it was from the lpcxpresso with debugger cuted off, so that others can be used. So you're right, its better to create a new target. but I would use the existing parent. LPC17xx includes many more, I have only the LPC176x for testing. edit: |
|
closing as discussed, I will prepare a new PR for adding MCU_LPC176X and LPCXPRESSO_LPC1769 as new target |


Summary of changes
Add JLink and pyocd as upload methods for LPC1768 target
Impact of changes
Migration actions required
Documentation
Pull request type
Test results