Quantcast
Channel: MSP low-power microcontrollers
Viewing all articles
Browse latest Browse all 62309

Forum Post: RE: CCS/MSP432P401R: MSP-FET for MSP432P401R, A customer has asked about two troubles

$
0
0
[quote user="trout"] I’ve reproduced these troubles. My tools: MSP-TS432PZ100 , MSP-FET (firmware updated)and CCSv6.2.0.00050(updated). Used examples are _ta0_01.c for 1) and _pcm_04.c for 2). [/quote]I can repeat problem 2) using the msp432p401x_pcm_04_MSP_EXP432P401R_nortos_ccs example from SimpleLink MSP432 SDK v1.20.00.45 with a MSP-FET and MSP432P401R Rev C when using either CCS v6.2.0.00050 or v7.0.0.00042. When looking at the msp432p401r .gel file I notice that OnPreFileLoaded() is only performing a System Reset when NOT using a MSP-FET : OnPreFileLoaded() { // Save current low power run mode setting, and disable it if enabled gGEL_LowPowerRunMode = DEBUG_GetBoolProperty( "LowPowerRunMode" ); if( gGEL_LowPowerRunMode ) { DEBUG_SetBoolProperty( "LowPowerRunMode", 0 ); } if ( !gGEL_Is430Connection ) { GEL_AdvancedReset("System Reset", 1); } } The CCS 6.2 \ccsv6\ccs_base\emulation\gel\ msp432p401r .gel was modified so that the OnPreFileLoaded() performs a "Hard Reset" when using a MSP-FET : OnPreFileLoaded() { // Save current low power run mode setting, and disable it if enabled gGEL_LowPowerRunMode = DEBUG_GetBoolProperty( "LowPowerRunMode" ); if( gGEL_LowPowerRunMode ) { DEBUG_SetBoolProperty( "LowPowerRunMode", 0 ); } if ( !gGEL_Is430Connection ) { GEL_AdvancedReset("System Reset", 1); } else { GEL_AdvancedReset("Hard Reset", 1); } } [The MSP-FET uses a "Hard Reset" to perform a hardware reset, whereas the XDS110 uses a "System Reset" to perform a hardware reset] With this modified GEL file, CCS v6.2.0.00050 was then able to load and run the msp432p401x_pcm_04_MSP_EXP432P401R_nortos_ccs example multiple times without error when using the MSP-FET . I am not sure if the GEL file change is the correct way of ensuring the MSP432P401R starts in a known reset state when downloading a program using the MSP-FET , or if the MSP-FET firmware is supposed to apply the reset. Maybe your customer could try the GEL file modification ? (after making a backup of the original GEL file) There is also the msp432p401m .gel file which might need the same modification, but I don't currently have a MSP432P401M device to test.

Viewing all articles
Browse latest Browse all 62309

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>