![]() |
![]() ![]() ![]() ![]() ![]()
|
![]() |
next newest topic | next oldest topic |
Author | Topic: Getting Started with CubeSat Kit Software -- October 2007 |
aek Moderator |
![]() ![]() ![]() ![]() quote:What did you get? ------------------ IP: |
barmagan Junior Member |
![]() ![]() ![]() ![]() Yes I use null-modem cable and I get some text from the RS232 but not exactly as you've said. I have no doubts that you test units, this is my first week with CSK stuff, before me someone else was using the modules, and I wanted to make sure that units are OK before I start developping. I faced some hardware problems and couldn't find the reason. For example one FM430 works fine with the 5V from its adapter input but when I connect clyde power module batteries are heated too much even there is no switches and power adapter connected. I couldn't see any connection from battery terminals to FM430 directly in the FM430 schematics so I thought that power module was faulty. I connected the power module to CSK development board and another FM430 but they just worked fine. I am confused. I'll try to communicate with the power module. NOTE: Regards, B.Armagan IP: |
aek Moderator |
![]() ![]() ![]() ![]() It's likely to be a user error -- all boards are fully tested before they leave here. Are you using a _null-modem_ cable? The Rev C Dev Board (that you have) incorrectly says Rev B in metal on its underside. It's a Rev C, as per the silkscreen on the top. -Andrew ------------------ IP: |
barmagan Junior Member |
![]() ![]() ![]() ![]() Hi, I can't get the same results from rs232 with the same codes. Can this be a hardware problem? Another question: Regards, Bahadir Armagan
quote: IP: |
aek Moderator |
![]() ![]() ![]() ![]() SD1 does not have RS-232 output -- instead, it uses CrossStudio's debug I/O functionality to send messages to the Debug I/O Terminal window. SD1's output looks like this: code:Task_Access_SD: Opened file CSK_TEMP.TXT successfully. Current ticks: 0000006075. ------------------ IP: |
aek Moderator |
![]() ![]() ![]() ![]() USB output from SD1 looks like this, but only when an SD card is fitted in the SD card socket: code:1:0000000055 Task_Blink_P1p0: Starting. ------------------ [This message has been edited by aek (edited October 19, 2007).] IP: |
aek Moderator |
![]() ![]() ![]() ![]() And I/O from the DB-9 for Test1 on the Dev Board looks like this: code:0:0000000000 ------------------ [This message has been edited by aek (edited October 19, 2007).] IP: |
aek Moderator |
![]() ![]() ![]() ![]() USB output for Test1 looks like this: code:1:0000000097 TalkUSB: Ambient temp is 22 C ------------------ [This message has been edited by aek (edited October 19, 2007).] IP: |
aek Moderator |
![]() ![]() ![]() ![]() This is a short overview on getting started with the CubeSat Kit's software. 1) Download and activate (and ultimately purchase) CrossWorks for MSP430 from http://www.rowley.co.uk. The current release is v1.4. 2) After you receive your CubeSat Kit, download and install the latest software for it. All CubeSat Kits now come with three software products: Salvo Pro for MSP430, CubeSat Kit software and EFFS-THIN for the CubeSat Kit. Software is located in http://www.pumpkininc.com/cubesat/private/software/. For this posting, the current versions are: You should always uninstall older Pumpkin software before installing new versions. If any uninstaller fails, you can always delete the Pumpkin\Salvo and Pumpkin\CubeSatKit directories and run the installers anew. N.B. The standard install directory root is C:\Pumpkin. Projects for Rowley CrossWorks for MSP430 should work when installed to any hard drive. 3) Open the CrossWorks for MSP430 solution C:\Pumpkin\CubeSatKit\Example\MSP430\MSP430x1xx\CubeSatKit_Dev_Board\Test\Test1\RA430\Pro-lib\test1pro-lip.hzp . This projects builds the test & validation code for the CubeSat Kit Development Boards and FM430 Flight Modules. Select Build -> Clean test1pro-lib and then Build -> Rebuild test1pro-lib. 4) If you get an error like this code:then you are being affected by an error in CrossWorks for MSP430 v1.4, outlined here: http://www.pumpkininc.com/ubb/Forum19/HTML/000047.htmlLinking test1pro-lib.hzx To fix this, remove the Salvo Library (libsalvolra430it.hza) from the Project Explorer window (use the Delete key, or right-click and select Remove), close the Solution via File -> Close Solution, re-open the solution via File -> Recent Projects -> ...test1pro-lib.hzp, then add the library back by selecting the Salvo Libraries folder, right-click, Add Existing File, navigate to \Pumpkin\Salvo\Lib\RA430-v1 and add the library libsalvolra430it.hza. Once the library is in the project, right-click it, select Properties, select the Common configuration, and select File Type -> Library. The build will then succeed. Note that this problem happens on some machines and not others, but it is always fixable using the procedure above. To run the program on your CubeSat Kit Development Board, connect to your target by double-clicking on the TI MSP430 USB-Debug-Interface (MSPFET430-UIF) in the Targets window. On the bottom of the screen, "Disconnected" will change to indicate that you are connected to an MSP430F1611 or MSP430F1612. Then choose F5 (Start Debugging) and this will download code into the MSP430. Then choose F5 (Continue Execution) and the program will begin running. You will see the LED on the MSP430 daughterboard begin to blink. 5) If you have not already done so, connect a USB cable between the Dev Board and your PC. The required drivers are located at http://www.cubesatkit.com/driver/usb/win/ for Windows PCs and http://www.cubesatkit.com/driver/usb/mac/ for Macs. Install the USB drivers as per http://www.pumpkininc.com/content/doc/appnote/an-27.pdf . 6) With a USB cable connected to a host (9600,N,8,1, no handshaking), you will start to get timestamped messages from the Dev Board that indicate the uncorrected on-board temperature of the MSP430. 7) If you connect a null-modem cable (9600,N,8,1, no handshaking) between the Dev Board and a host you will get timestamped command and control information from the Dev Board as well. 8) The SD-card test program is located at C:\Pumpkin\CubeSatKit\Example\MSP430\MSP430x1xx\CubeSatKit_Dev_Board\SD\SD1\RA430\Pro-Lib\sd1pro-lib.hzp . You will likely have to fix the Salvo library as in 4) above, and also the EFFS-THIN library, located in C:\Pumpkin\CubeSatKit\Lib\RA430\csk_effs_thin-1.hza. To run the SD test program, again connect a USB cable from the Dev Board to your host, and insert a blank and formatted SD card into the Dev Board's SD card socket. ------------------ [This message has been edited by aek (edited October 19, 2007).] IP: |
All times are ET | next newest topic | next oldest topic |
![]() ![]() |
©2000-2008 Pumpkin, Inc. All Rights Reserved. Pumpkin and the Pumpkin logo, Salvo and the Salvo logo, The RTOS that runs in tiny places, CubeSat Kit and the CubeSat Kit logo are all trademarks of Pumpkin, Inc. All other trademarks are the properties of their respective owners.