# Launchpad cannot implement build process

**URL:** <https://forum.plexim.com/t/launchpad-cannot-implement-build-process/1089>\
**Category:** TI C2000\
**Tags:** plecs, plecs-coder, c2000\
**Created:** [February 2, 2022, 9:34pm UTC](https://forum.plexim.com/t/launchpad-cannot-implement-build-process/1089 "2022-02-02T21:34:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![shichenseu](https://avatars.discourse-cdn.com/v4/letter/s/43a26b/32.png) [@shichenseu](https://forum.plexim.com/u/shichenseu)\
**Post date:** [February 2, 2022, 9:34pm UTC](https://forum.plexim.com/t/launchpad-cannot-implement-build-process/1089/1 "2022-02-02T21:34:51Z")

</div>

Dear specialist:

Today I update the version of plecs as well as the version of c2000 tool, and I tried to build the plecs model, but I found out that the launchpad cannot be build as normal, the error occured as:

So how to solve the problem since it indicates that my dsp controller is reset? I toggled the reset button of the DSP controller but still it doesn’t work.

Error in build step #3 (Make): Make process exited with code 2:  
“C:/ti/uniflash\_6.0.0/dslite.bat” --flash --config=.\output\_TI2837xS\uniflash.ccxml .\output\_TI2837xS\Controller.out  
Executing the following command:  
\> “C: i\uniflash\_6.0.0\deskdb\content\TICloudAgent\win\ccs\_base\DebugServer\bin\DSLite” flash --flash --config=.\output\_TI2837xS\uniflash.ccxml .\output\_TI2837xS\Controller.out

For more details and examples, please refer to the UniFlash Quick Start guide.

error: C28xx\_CPU1: Trouble Reading Register PC: (Error -1137 @ 0x6) Device is held in reset. Take the device out of reset, and retry the operation. (Emulation package 9.1.1.00002)  
error: C28xx\_CPU1: Trouble Writing Memory Block at 0x5f412 on Page 1 of Length 0x1: (Error -1137 @ 0x5F413) Device is held in reset. Take the device out of reset, and retry the operation. (Emulation package 9.1.1.00002)  
error: C28xx\_CPU1: GEL: Error while executing OnTargetConnect(): Target failed to write 0x0005F412@Data  
at \*((int \*) 0x5F412)=0x000F [f28377s.gel:77]  
at OnTargetConnect()  
error: C28xx\_CPU1: Trouble Writing Memory Block at 0x5fb00 on Page 0 of Length 0x2: (Error -1137 @ 0x6) Device is held in reset. Take the device out of reset, and retry the operation. (Emulation package 9.1.1.00002)  
error: C28xx\_CPU1: Error occurred during flash operation: Target failed to write 0x5FB00@Program  
error: C28xx\_CPU1: Trouble Writing Memory Block at 0x5f800 on Page 1 of Length 0x2: (Error -1137 @ 0x5F802) Device is held in reset. Take the device out of reset, and retry the operation. (Emulation package 9.1.1.00002)  
error: C28xx\_CPU1: Error occurred during flash operation: Target failed to write 0x0005F800@Data  
error: C28xx\_CPU1: Trouble Writing Memory Block at 0x5fb00 on Page 0 of Length 0x2: (Error -1137 @ 0x6) Device is held in reset. Take the device out of reset, and retry the operation. (Emulation package 9.1.1.00002)  
error: C28xx\_CPU1: Error occurred during flash operation: Target failed to write 0x5FB00@Program  
error: C28xx\_CPU1: Trouble Writing Memory Block at 0x5f800 on Page 1 of Length 0x2: (Error -1137 @ 0x5F802) Device is held in reset. Take the device out of reset, and retry the operation. (Emulation package 9.1.1.00002)  
error: C28xx\_CPU1: Error occurred during flash operation: Target failed to write 0x0005F800@Data  
error: C28xx\_CPU1: Error initializing flash programming: Interface returned from dll, but flash is not available on this device.  
error: C28xx\_CPU1: Failed CPU Reset: (Error -1137 @ 0x0) Device is held in reset. Take the device out of reset, and retry the operation. (Emulation package 9.1.1.00002)  
error: C28xx\_CPU1: Trouble Reading Register PC: (Error -1137 @ 0x0) Device is held in reset. Take the device out of reset, and retry the operation. (Emulation package 9.1.1.00002)  
error: C28xx\_CPU1: Trouble Writing Memory Block at 0x7029 on Page 1 of Length 0x1: (Error -1137 @ 0x702A) Device is held in reset. Take the device out of reset, and retry the operation. (Emulation package 9.1.1.00002)  
error: C28xx\_CPU1: GEL: Error while executing OnReset(-1): Target failed to write 0x00007029@Data  
at \*((int \*) 0x7029)=0x68 [f28377s.gel:27]  
at OnReset(-(1))  
error: C28xx\_CPU1: GEL: Error calling OnPreFileLoaded(): Reset failed: retcode=-1  
error: C28xx\_CPU1: Trouble Writing Memory Block at 0x0 on Page 0 of Length 0x2: (Error -1137 @ 0x6) Device is held in reset. Take the device out of reset, and retry the operation. (Emulation package 9.1.1.00002)  
error: C28xx\_CPU1: File Loader: Verification failed: Target failed to write 0x00000@Program  
Controller.mk:147: recipe for target ‘download’ failed

Failed: File: .\output\_TI2837xS\Controller.out: Load failed.  
make: \*\*\* [download] Error 1

---

<div class="post-metadata">

**Author:** ![Falk\_Kyburz](https://avatars.discourse-cdn.com/v4/letter/f/67e7ee/32.png) [@Falk\_Kyburz](https://forum.plexim.com/u/Falk_Kyburz)\
**Post date:** [February 3, 2022, 8:56am UTC](https://forum.plexim.com/t/launchpad-cannot-implement-build-process/1089/2 "2022-02-03T08:56:33Z")

</div>

Were you able to fix it?

I would try the UniFlash GUI to connect to the LaunchPad. Once it works there, it will most probably work with PLECS.

---

<div class="post-metadata">

**Author:** ![Bryan\_Lieblick](https://dub1.discourse-cdn.com/flex006/user_avatar/forum.plexim.com/bryan_lieblick/32/10_2.png) [@Bryan\_Lieblick](https://forum.plexim.com/u/Bryan_Lieblick)\
**Post date:** [February 3, 2022, 11:00am UTC](https://forum.plexim.com/t/launchpad-cannot-implement-build-process/1089/3 "2022-02-03T11:00:47Z")

</div>

Is your LaunchPad connected to any external hardware? What are the position of the DIP switches in S1 - are they oriented towards or away from the MCU? Can you program the device if it’s only connected to your computer? Do you have a second LaunchPad you can use for testing?

TI has a debugging section on their website related to this error that describes other reasons you may see this error and potential resolutions: [https://software-dl.ti.com/ccs/esd/documents/ccs\_debugging\_jtag\_connectivity\_issues.html#device-is-held-in-reset](https://software-dl.ti.com/ccs/esd/documents/ccs_debugging_jtag_connectivity_issues.html#device-is-held-in-reset)
