LPC11U35/401 support (OKdo E1)
- Dominant language
- C
- Stars
- 2.8k
- Forks
- 1.1k
- Avg merge
- 3d 12h
- Merged PRs (30d)
- 1
Description
Hey,
I have recently purchased OKdo E1 boards with LPC11U35/401 HIC and LPC55S69 target. It is visible under `lsusb` as `1fc9:0132 NXP Semiconductors LPC11U3x CMSIS-DAP v1.0.7`. Unfortunately, I couldn't get it to work with JLink nor pyOCD (I assume it's due to old CMSIS-DAP). The only thing I found working was MCUxpresso's `crt_emu_cm_redlink` tool. My goal is to use Zephyr and make `west flash`/`west debug` commands work. I guess DAPLink would make it possible, however it doesn't support this HIC due to missing RAM2 memory (#809).
I would try remapping the memory layout, however it is too small (m_data + m_data_2 exceeds 8KB):
```Memory region Used Size Region Size %age Used
m_interrupts: 1 KB 1 KB 100.00%
m_text: 54400 B 59 KB 90.04%
m_cfgrom: 10 B 4 KB 0.24%
m_data: 7124 B 7904 B 90.13%
m_cfgram: 142 B 256 B 55.47%
m_data_2: 2 KB 2 KB 100.00%
m_usb_ram: 40 B 2 KB 1.95%
text data bss dec hex filename
55416 1052 8316 64784 fd10 build/lpc11u35_if.elf
55416 1052 8316 64784 fd10 (TOTALS)
```
Can I somehow reduce memory usage/trim functionality to make it work? I most definitely do not need DnD and other things I'm not even aware of. If not, do I have other options rather than buying other board/soldering other HIC?
I'm sorry if I'm missing something, it's my first time using debug probes. Any help appreciated.
Contributor guide
Assessment
This issue has not been assessed yet.