This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CCS/MSP432P401R: CCSv7 Post-update (debugger?) problem

Part Number: MSP432P401R


Tool/software: Code Composer Studio

So I had CCSv7.0 running just fine on by Win 10 desktop this morning when an update came through, I went ahead and installed it and now I can no longer send my code to my Msp432 LaunchPad  (I've tried several different LaunchPads to confirm this isn't a hardware issue and several different small-sized programs to confirm its not a software issue).  I've gotten several different errors which seemed to be connectivity related (something about drivers not being compatibe - referring to the latest 6.0.579.0  XDS110 stuff) and have tried resetting the msp432, re-flashing the firmware.bin file and I even just now updated to CCSv7.1 in the hopes that something would get better...but alas no.  I'm assuming my issues are related to the XDS110 update of Mar 1, but I'm not exactly clear on what I need to do...and rolling the XDS110 stuff back doesn't seem like a good idea and/or possible.  if I do the View->Target Configuratoins....enable hidden cores...  stuff, I can connect and run the factory reset gel file....but it doesn't seem to actually do anything, it displays something in the console that seems to indicate the reset work, but nothing changes...so it doesn't exactly seem like a connectivity issue...

So as of now, I'm not getting any displayed "errors", but CCS is stalling at  the loading phase so badly that I have to kill it to get out.  Cancel doesn't work.

The popup dialog displays    .test: 0 of 34296 at 0x0

while the bottom right shows Loading Programs 0% and it has a little progress bar which is scrolling back and forth...make it appear like it's alive...but it doesn't seem to be.  It normally flashes the code in 5-10s...and I've let it run 10-15 minutes..I'm going to try and let it run overnight, just for fun...

Verbose console output looks like:

CORTEX_M4_0: GEL Output: Memory Map Initialization Complete
CORTEX_M4_0: GEL Output: Halting Watchdog Timer
CORTEX_M4_0: WARNING   : On MSP432P401R hitting a breakpoint cannot be detected by the debugger when the device is in low power mode.
                         Click the pause button during debug to check if the device is held at the breakpoint.
CORTEX_M4_0: Flash Programmer: Verbose output enabled
CORTEX_M4_0: Flash Programmer: DLL Version 3.0.0.2
CORTEX_M4_0: Flash Programmer: Hard reset
CORTEX_M4_0: Flash Programmer: Clearing PCMCTL LOCKLPM5 and PCMBKUP bits
CORTEX_M4_0: Flash Programmer: Enabling all SRAM banks
CORTEX_M4_0: Writing Flash @ Address 0x00000000 of Length 0x00007ff0
CORTEX_M4_0: Flash Programmer: Uploading RAM loader to device
CORTEX_M4_0: Flash Programmer: Device init finished
CORTEX_M4_0: Flash Programmer: Erasing main memory
CORTEX_M4_0: Flash Programmer: Mass erase finished
CORTEX_M4_0: Flash Programmer: Writing 32752 bytes to flash memory 0x00000000

Anyone have any ideas? 

thx.

jrd

  • After 2.5 days of waiting for my code to upload, I finally figured out what my issue was. I power my board with an external 3.3v power supply. As such, I have the 3.3v and 5v jumpers removed. I don't supply a 5v signal.

    If I disconnect my power supply, put the 3.3 and 5v jumpers back in place, I am able to flash my device. I then remove the jumpers, re-connect my 3.3v supply and can now flash my device as I was doing before.

    I'm guessing that during my factory resets (or perhaps something related to the XDS110 upgrade), something got wiped on the MCU that need the 5v signal to restore...and now that its restored, I don't need the 5v any longer. Sound reasonable?