Part Number: MSP432P401R
Tool/software: Code Composer Studio
Hi
I''m using the MSP432P401R red launchpad, Windows 10, CCS (Latest version) and have already spent too long trying to solve this. I made the silly mistake yesterday of getting carried away and changing a huge amount of code in one hit without fully verifying each step.
Most of what i've changed related to the way the chip loads data in from various areas of it's flash memory upon start up which until now it has done without issue.
I've had an error while starting debug as follows:
CORTEX_M4_0: Flash Programmer: Reading HW revision failed.
CORTEX_M4_0: Your XMS432P401R material is no longer supported. We recommend you moving to production-quality MSP432P401R/M silicon by ordering samples at www.ti.com/product/MSP432P401R.
CORTEX_M4_0: File Loader: Memory write failed: Unknown error
CORTEX_M4_0: GEL: File: C:\Users\Sean Howson\Documents\18 - Backup Archive Files\Workspace 2\MODBUS Adapter\Debug\MODBUS Adapter.out: Load failed.
previously this had happened once, a couple of weeks ago. A factory reset sorted the issue but now it is occuring roughly every other time i launch the debug. I haven't touched the TLV data or anything that might provide the debugger with an indication of the hardware i'm using. I've tried using two brand new boards and they've both produced the same error (both new boards updated their debug chips first).
The factory reset still temporarily solves the issue but i'm wasting too much time doing it and need to get to the bottom of the issue.
secondly i'm also having issues with the "source not found for 0xXXXX" with varying intensity. Sometimes the chip seems to find no source at all, other times it's fine. I did remove all of the debug symbols last week to reduce the size of the output file but i have since put them all back in (I only removed them from the release version anyway).
I had seem something on a forum suggesting it can be down to not properly configuring wait states for flash reading. I have since done this and tried various combinations of wait states with little success.
Additionally i've noticed, usually when i compile while already in a debug session CCS automatically loads the new code and resets the chip. It's now stopped doing this?
All I have done is alter code, yet many of these problems seem to be stemming from CCS?
I've tried switching workspace.
Tried endless resets and factory resets etc.
Tried loading the code in uniflash.
Any pointers or advice would help. Wasting a lot of time on these issues.
Sean