I was able to run motionFit card through eMPL-client.py and see result through both wired USB and Bluetooth.
Using Code Composer 5.4, I had an error with UPCS0 not found at
USBPLLCTL = UPCS0 + UPFDEN + UPLLEN;
It was suggested to change this to:
USBPLLCTL = UCLKSEL0 +UPFDEN + UPLLEN;
This allowed the program to build and be uploaded to MotionFit using FET.
I can run the program and single step through the code within Code Composer. When run, the card blinks the led as previously.
HOWEVER, my card no longer connects to a USB port, either through wired USB or Bluetooth.
HELP.
- Log in to post comments
phpbb Topic ID
15495
Re: Re: Code Composer 5.4 issue and inability to connect
Resolved.
It is my opinion that Code Composer 5.4 is not compatible with MotionFit SDK USB code (at least for me).
replaced the files in the subfolders of the USB_API folder with files from my MSP-EXP430F4429 TI Experimenters Board source code.
This resulted in an undefined symbol USB_XT_FREQ_VALUE on compile, once again in the USB.C file.
I found that symbol defined in an include file within the Experimenters Board source code and copied a line of code into the source code for Motionfit eMPL-5.1.
#define USB_XT_FREQ_VALUE 4.0 // FERRARO insert
immediately before it is being used at line 400 of the new USB.c
if (USB_XT_FREQ_VALUE >= 24) {
status = XT2_Start_Timeout(XT2DRIVE_3, 50000);
}
...
Re: Re: Code Composer 5.4 issue and inability to connect
Code composer 5.4 has not been tested with the MotionFit SDK. We will investigate and update the application if needed.
Re: Re: Code Composer 5.4 issue and inability to connect
What is the status of your investigation?
Now we have CCS5.5.
I run in problems at start of debugger.
It comes up with error:
MSP430: File Loader: Data verification failed at address 0x00017EEE Please verify target memory and memory map.
(this is with TI original Linker file. With yours, it fails at the beginning of the .constant section)
Any hint?
regards,
Steffen
Re: Re: Code Composer 5.4 issue and inability to connect
You can get the necessary USB files from TI and update the project. We will push out an update in the meantime as well.