Replies: 19 comments 5 replies
-
I was thinking the same thing at bit back. The peripherals for i.MX RT series are particularly complex and might be a little overkill but pricing and clock speed is great for these parts. Have you considered the LPC55 series? Dual core M33 (Potential secure debug applications), I believe it has some logic blocks too. |
Beta Was this translation helpful? Give feedback.
-
LPC55S6x are great. A cool feature is the built-in "programmable logic unit", this could be used to speed up SWD a lot! Also great with it's On-chip ROM bootloader, so no need to use a swd-adapter to flash your daplink board once built. Note that the power-supply design using the RT will be more simple thanks to it's integrated DC-DC converter. |
Beta Was this translation helpful? Give feedback.
-
We are planning to add LPC55xx support at some point (soon, hopefully). |
Beta Was this translation helpful? Give feedback.
-
checking in, any "plans" :) |
Beta Was this translation helpful? Give feedback.
-
Not for an RT series HIC (it's overkill imo), but the LPC55S69 port is basically done: feature/lpc55xx_hic on my fork. This is based on the I also implemented DMA-based SWD on the feature/lpc55xx_swd_dma branch. Unfortunately I ran into an issue where DMA triggers from the timer seem to get lost for no apparent reason, feels like a hardware issue but not sure. I've reached out to NXP but haven't heard back yet. |
Beta Was this translation helpful? Give feedback.
-
Just about to design a board and looking at
ps. nice with SWD+DMA for speed, NXP should be able to comment on that. |
Beta Was this translation helpful? Give feedback.
-
I can confirm @flit 's branch for lpc55 works as tested with a custom lpc55 hic. Only issue now is lpc55 availability. |
Beta Was this translation helpful? Give feedback.
-
right, thanks for info. I got one of NXP's new McuLink boards, it uses the LPC55S69 |
Beta Was this translation helpful? Give feedback.
-
The NXP MCU-Link firmware is based on their LPC-Link2 firmware, which is closed source. (So the LPC4370 firmware is also closed.) It's not related to DAPLink, other than also making use of the CMSIS-DAP reference code. |
Beta Was this translation helpful? Give feedback.
-
less good that they keep it closed source, especially since they use the pyocd interface to run it |
Beta Was this translation helpful? Give feedback.
-
Well, DAPLink works on the MCU-Link circuit. So the fact that NXP's firmware is closed source is mostly an annoyance rather than a serious problem. The most important thing is that the circuit is open. For a new board, I'd generally recommend the LPC55S69 since it's newer. But there are problems with availability and long lead times. So the LPC4322 may be a better option depending on your schedule. Differences:
There have been issues on some LPC4322 devices with running at the full 204 MHz clock; we were told internally to not run at that speed in the DAPLink port. Not sure what the full details are. The LPC4322 does have the Serial GPIO (SGPIO) peripheral which looks really interesting for performing high speed SWD/JTAG. There are other devices in the LPC55xx family such as the LPC5528 that look nice and are less expensive. Mouser shows $3.10/2000pcs for LPC5528JEV98Y. |
Beta Was this translation helpful? Give feedback.
-
thx for the info @flit more SRAM in 4322, I guess not neccessary since we have high-speed usb on both, so no need for large fifo's I remember seeing some older pyocd/daplink project where the developer made use of SPI "SISO" to achieve 'segger speeds' feature-wise, does both LPC55S69 & LPC4322 provide the same feature-set and stability!? |
Beta Was this translation helpful? Give feedback.
-
@40Grit / all, what board did you use to run the LPC55S69 version on? |
Beta Was this translation helpful? Give feedback.
-
re availability, LPC55S66 seems easier to find than LPC55S69, but has less ram and flash... |
Beta Was this translation helpful? Give feedback.
-
Ran on both the nxp reference board as well as a custom design. |
Beta Was this translation helpful? Give feedback.
-
@flit can comment on whether a lower spec lpc55 would suffice |
Beta Was this translation helpful? Give feedback.
-
There's a reason I called the HIC "LPC55xx" in the DAPLink code. 😉 The RAM and flash should be sufficient. In the current You might need a different Sorry I mixed up the LPC55S69 RAM size in the table above. It's fixed now. Both LPC43xx and LPC55xx are equally stable afaik. Arm uses the LPC43xx family for probes like ULINKplus without any issues that I'm aware of. (I'm going to transfer this issue to a discussion.) |
Beta Was this translation helpful? Give feedback.
-
perfect, many thanks for providing the memory footprint info! Did nxp ever get back on the timer-triggered DMA thing? |
Beta Was this translation helpful? Give feedback.
-
There is now a PR (#803) for the LPC55xx HIC on the GCC support, with @flit's work. Tested with MCU-Link. |
Beta Was this translation helpful? Give feedback.
-
The new iMXRT1062 would be a great addition as a debug-adapter.
The Teensy4 board could be used as a nice & compact debug adapter
Anyone willing to add support for this CPU?
Beta Was this translation helpful? Give feedback.
All reactions