Adding support LPC1313
oleg-login opened this issue · comments
Hello. I have a NXP LPC1313FBD48.
(gdb) mon version
Black Magic Probe v1.10.2, Hardware Version 3
Copyright (C) 2010-2023 Black Magic Debug Project
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
(gdb) monitor swdp_scan
Target voltage: 3.4V
Please report unknown device with Designer 0x8000 Part ID 0x0
Available Targets:
No. Att Driver
*** 1 Unknown ARM Cortex-M Designer 0x8000 Part ID 0x0 M3
(gdb)
In to datasheet UM10375 Device ID for LPC13xx parts:
0x2C40 102B = LPC1313FHN33 ( 32K Flash 8K SRAM)
0x2C40 102B = LPC1313FBD48 ( 32K Flash 8K SRAM)
0x1830 102B = LPC1313FHN33/01 ( 32K Flash 8K SRAM)
0x1830 102B = LPC1313FBD48/01 ( 32K Flash 8K SRAM)
Can you add these devices to the lpc11xx.c file?
Hello. If you still have the LPC13xx and BMP HW3, then you seem more capable of adding said Device ID (address and values) from georestricted/login-walled vendor documentation to BMD codebase and testing that on your setup. The project is more reactive to actual PRs, not patches sent via GH Issues -- see CONTRIBUTING.md. Don't be afraid of reflashing your adapter after you've tested with BMDA, the bootloader allows you to go back to release builds (like v1.10.2), there's no anti-rollback protection or anything. However, if you have reasons which block you from filing a PR (or contributing in general), then please say so and somebody else (maybe even maintainers) might pick up your request in the future.