Other Parts Discussed in Thread: SEGGER
Hello,
We are devolving a small board using an MSP432E401Y witch does not have any external crystal nor oscillator. Does have the circuitry we think necessary, but not in place.
We have available 2 programmers:
- SEGGER Flasher ARM
- XDS110 USB
I've successfully used the Launchpad XDS110USB as a programmer for our board, but after one specific programmer I lost all ability to reprogram the board, the CCS always gives this error:
Error connecting to the target:
(Error -1170 @ 0x0)
Unable to access the DAP. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK).
(Emulation package 8.3.0.00003)
After further analysis I discover I'd use a code witch is initializing and external oscillator (an old code from the launchpad tests), but is it reason for not getting able to program any more? I'm uisng JTAG or at leas I think.
Every thing was fine with this initialization:
g_ui32SysClock = MAP_SysCtlClockFreqSet((SYSCTL_OSC_INT |
SYSCTL_USE_PLL |
SYSCTL_CFG_VCO_480),120000000);
After this initialization lost ability to program the micro.
g_ui32SysClock = MAP_SysCtlClockFreqSet(
(SYSCTL_XTAL_25MHZ | SYSCTL_OSC_MAIN |
SYSCTL_USE_PLL | SYSCTL_CFG_VCO_480),
SYSCLOCK);
Is there any way to revert this? or perform any reset somehow?
I know this is not for this specific problem, but I've already tried the procedure JTAG-to-SWD - SWD-to-JTAG 10times but got no where.
If more information/schematics are needed, just ask, I can right it down.
Thank you.