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

Forum Post: RE: MSP430 Dev Kit and CapTIvateDesignCenter issues

$
0
0
Hello, This sounds like an issue of run-time adjustable parameters versus compile-time adjustable parameters. The sensor port selection (which CapTIvate IOs get connected to which sensors), as well as which sensors exist in the first place, are settings that are configured only at compile time. Those settings are passed from the CapTIvate Design Center to the target through source code generation. It is not possible to change the sensor port selection without generating or updating the source code, building the source code project using an IDE (such as Code Composer Studio or IAR), and downloading the new program to the microcontroller. Parameters in the "Conversion Control" and "Tuning" tabs are adjustable at run-time through the UART or I2C interface, which is why you can read and write those parameters. This is because changing the sensor port configuration, or adding/removing a sensor, changes which data structures are needed on the device to represent the design's configuration. When you are connected to a target device and streaming data, the CapTIvate Design Center should not actually allow you to change the pin mapping (the table becomes fixed). I recommend that you do the following: 1. Create a new Design Center project for your specific application 2. Map the pinout using the CapTIvate Design Center, or better yet use the auto-assign feature to do it for you! 3. Generate a new source code project using the "Generate Source Code" button 4. Import that project into a development environment (Code Composer Studio or IAR) 5. Build and download the new program to the target device 6. Re-connect the CapTIvate Design Center and test the new configuration You can find instructions for this process by following the workshop here: As far as recovering demonstration projects, there is two ways to do this. If you want to restore the entire demo workspace, then you just need to remove the CapTIvate Design Center direcotry from your user folder and the CapTIvate Design Center will re-load the starter workspace when it starts again. You could save the existing directory with a different name in case you want to preserve what you have created there. To do this, follow these steps: 1. Close the Design Center 2. Browse to your home directory: C:\Users\ \ 3. Rename the CaptivateDesignCenter_1_20_00_01 directory to something else, such as CaptivateDesignCenter_1_20_00_01__BACKUP 4. Re-start the Design Center When the tool re-starts, it will realize the folder is not there and it will re-generate it for you with all of the default examples. If you only want to restore 1 project, you can copy the default projects from the CapTIvate installation directory to your CapTIvate Design Center workspace. If you used the default file paths during installation, here are the steps: 1. Close the Design Center 2. Browse to C:\ti\msp\CapTIvateDesignCenter_1.20.00.01\CapTIvateDesignCenter\example_projects\CaptivateDesignCenterWorkspace (assuming Windows) 3. Copy the relevant project directory you would like to restore 4. Browse to your Design Center Workspace in your user directory (C:\Users\ \CaptivateDesignCenter_1_20_00_01\CaptivateDesignCenterWorkspace, and replace the existing project directory with the one you copied in step #2. 5. Re-open the Design Center Regards, Walter

Viewing all articles
Browse latest Browse all 62309

Trending Articles



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