Hello together,
I want to flash a LPC8N04 device with my J-Link EDU device.
Unortunately I rarely can even connect to the device.
If connection works and I try to execute the erase command following error message is shown:
Display All
How can I programm this MCU?
Additional Information:
VTref detection works.
When I press the reset button the LED at J-Link turns orange.
SWDIO and SWDCLK linkes show activity (checked with oscilloscope)
-> I assume connection between MCU und J-Link is correct
Used HW is thisdev-kit. I seperated the boards and I only try to program the LPC8N04 on the right board.
Information and schematics can be found in the "Software & Tools" category for the dev-kit link.
Best Regards,
Timo
I want to flash a LPC8N04 device with my J-Link EDU device.
Unortunately I rarely can even connect to the device.
If connection works and I try to execute the erase command following error message is shown:
Source Code
- Connecting to target via SWD
- Found SW-DP with ID 0x0BC11477
- AP map detection skipped. Manually configured AP map found.
- AP[0]: AHB-AP (IDR: Not set)
- AP[0]: Core found
- AP[0]: AHB-AP ROM base: 0xE00FF000
- CPUID register: 0x410CC601. Implementer code: 0x41 (ARM)
- Found Cortex-M0 r0p1, Little endian.
- FPUnit: 4 code (BP) slots and 0 literal slots
- CoreSight components:
- ROMTbl[0] @ E00FF000
- ROMTbl[0][0]: E000E000, CID: B105E00D, PID: 000BB008 SCS
- ROMTbl[0][1]: E0001000, CID: B105E00D, PID: 000BB00A DWT
- ROMTbl[0][2]: E0002000, CID: B105E00D, PID: 000BB00B FPB
- Cortex-M0 identified.
- J-Link>erase
- **************************
- WARNING: T-bit of XPSR is 0 but should be 1. Changed to 1.
- **************************
- Erasing device (LPC8N04)...
- ****** Error: Timeout while erasing sectors, RAMCode did not respond in time. (PC = 0xFFFFFFFF, CPSR = 0xFFFFFFFF, LR = 0x01000003)!
- J-Link: Flash download: Total time needed: 10.540s (Prepare: 0.381s, Compare: 0.000s, Erase: 10.056s, Program: 0.000s, Verify: 0.000s, Restore: 0.102s)
- ERROR: Erase returned with error code -5.
- J-Link>
How can I programm this MCU?
Additional Information:
VTref detection works.
When I press the reset button the LED at J-Link turns orange.
SWDIO and SWDCLK linkes show activity (checked with oscilloscope)
-> I assume connection between MCU und J-Link is correct
Used HW is thisdev-kit. I seperated the boards and I only try to program the LPC8N04 on the right board.
Information and schematics can be found in the "Software & Tools" category for the dev-kit link.
Best Regards,
Timo