Sp10-ch-v1

Sparrow10 Version 1 Code History

Source files for this project are located under:

Test data files for this project are located under:

V1-00

  1. done on 20-Feb-2010
  2. sp10-start
    1. If P15 is set GND (or Vss) then goes to sp10-setup
    2. If P15 is set Vdd then prints a message saying that the mission code is not ready
  3. sp10-setup
    1. prints the header and the ending banners

folder: V1-00

V1-01

  1. done on 21-Feb-2010
  2. sp10-setup
    1. Using the MMA7455 via the I2C protocol
    2. read from location $16
    3. write the value $05 to location $16
    4. read from location $16
    5. set for 2g operation
    6. do 10 events and display it on the screen

Note: this version does not work

folder: V1-01

V1-02

  1. done on 22-Feb-2010
  2. sp10-setup
    1. Using the MMA7455 via the SPI protocol
    2. Code is from demo code from Parallax for the device
    3. Did not deal with calibrating the device
    4. Still doing 10 events

folder: V1-02

V1-03

  1. done on 24-Feb-2010
  2. sp10-start
    1. added reference for sp10-test
  3. sp10-setup
    1. Made a setup menu
    2. menu choice to go to the test menu located in sp10-test
  4. sp10-test
    1. display a test menu
    2. Moved the MMA7455 code from sp10-setup to here, however it is not active
    3. test for LED blink and flash

folder: V1-03

V1-04

  1. done on 24-Feb-2010
  2. sp10-start - 3% full
  3. sp10-setup - 19% full
  4. sp10-test - 40% full
    1. added a slow 20 event test for the MMA7455
    2. added a fast 20 event test for the MMA7455

folder: V1-04
test-data: sparrow10-v1-04-test1.TXT

V1-05

  1. done on 25-Feb-2010
  2. sp10-start - 3% full
  3. sp10-setup - 19% full
  4. sp10-test - 49% full
    1. added code to test out serial port
      1. 9600 baud
      2. 8 bits
      3. no parity
      4. true
      5. 84 to be used in the SEROUT commands
    2. print out 10 lines to the serial port
  5. folder: V1-05
  6. test-data: sp10-v1-05-test1.TXT

V1-06

  1. done on 27-Feb-2010
  2. sp10-start - 3% full
  3. sp10-setup - 24% full
  4. sp10-test - 65% full
    1. added extra test options to display data from the MMA7455
  5. code_count - 5% full
    1. this code segment is temporary
  6. code_count16 - 5% full
    1. this code segment is temporary
  7. folder: V1-06

V1-07

  1. done on 27-Feb-2010
  2. sp10-start - 1% full
  3. sp10-setup - 27% full
  4. sp10-test - 65% full
  5. sp10-mission - 22% full
    1. do 100 events with 100 millisecond pause between events
    2. just output to the debug port
  6. code_count - 5% full
  7. code_count16 - 5% full
  8. folder: V1-07
  9. test-data: sp10-v1-07-test1.TXT
    1. two runs are in this file.

V1-08

  1. done on 28-Feb-2010
  2. sp10-start - 1% full
  3. sp10-setup - 22% full
  4. sp10-test - 60% full
    1. change the routine that deals with getting data from 8 bit registers
    2. removed code no longer needed
    3. fixed the display problem with the data coming from the MMA7455, it now displays data in the range of -128 to 127 instead of 0 to 255.
  5. sp10-mission - 18% full
    1. copied the MMA7455 routines from sp10-test to here.
  6. removed code_count and code_count16 from the project
  7. folder: V1-08
  8. test-data:
    1. raw data - sp10-v1-08-test1.TXT
    2. anaylized data - test-v1-08.xls

V1-09

  1. done on 01-Mar-2010
  2. sp10-start - 1% full
  3. sp10-setup - 22% full
  4. sp10-test - 59% full
    1. using the 8g at 8 bits setting
  5. sp10-mission - 18% full
    1. using the 8g at 8 bits
    2. turn on LED
    3. get data from the MMA7455
    4. display data on serial port
    5. turn off LED
    6. pause for a time
  6. folder: V1-09
  7. test-data:
    1. raw data - sp10-v1-09-test1.TXT
    2. anaylized data - test1-v1-09.xls

V1-10

  1. done on 01-Mar-2010
  2. sp10-start - 3% full
    1. code to delay the start of the mission
  3. sp10-setup - 24% full
  4. sp10-test - 59% full
  5. sp10-mission - 12% full
    1. save data to slot #15
  6. sp10-dump - 7% full
    1. start to write the code
  7. folder: V1-10
  8. this version is not complete

V1-11

  1. done on 03-Mar-2010
    1. changing mode to modea
    2. added modeb
  2. sp10-start - 3% full
  3. sp10-setup - 41% full
    1. menu options added
      1. number of events recorded
      2. initialize number of events
      3. display mode settings
  4. sp10-test - 59% full
  5. sp10-mission - 12% full
  6. sp10-dump - 10% full
    1. finished the code to display the data
  7. folder: V1-11
  8. test-data:
    1. raw data - sp10-v1-11-test2.TXT
    2. anaylized data - test1-v1-11.xlsx

V1-12

  1. done on 05-Mar-2010
  2. dealing with different unit numbers in the display of the main menu and the data dumps.
  3. changed the name of 2 segments
  4. sp10-start - 5% full
    1. flash the LED if modea = 0
  5. sp10-setupa - 42% full
    1. change the DEBUG to SEROUT and have it display on the Prop Plug interface
    2. rename this code segment
    3. problem with displaying the input from the Prop Plug interface.
    4. need to modify a line if the unit changes
  6. sp10-testa - 57% full
    1. change the DEBUG to SEROUT and have it display on the Prop Plug interface
    2. rename this code segment
    3. Input for the menu is from the Prop Plug interface but it doesn't get echoed until after the Enter key has been entered.
  7. sp10-mission - 12% full
    1. need to modify a line if the unit changes
  8. sp10-dump - 11% full
    1. change the DEBUG to SEROUT
  9. folder: V1-12
    1. code saved is for unit #1
  10. test-data:
    1. sp10-v1-12-unit1-test.TXT
    2. sp10-v1-12-unit2-test.TXT

V1-13

  1. done on 10-Mar-2010
  2. sp10-setupa
    1. removed the output of the menu choice entry
  3. sp10-testa
    1. removed the output of the menu choice entry
  4. sp10-dump
    1. added columns for g-force x, g-force y and g-force z. These are calculations that need to be done after the import to Excel is done.
  5. folder: V1-13

V1-14

  1. done on 11-Mar-2010
  2. changed the Prop Plug pin assignments in all code segments. It be should:
    1. P2 - to <TX (serial input)
    2. P3 - to >RX (serial output)
  3. folder: V1-14

V1-15

  1. done on 12-Mar-2010
  2. using the Scratch Pad RAM (SP RAM) to transfer information between code segments
  3. sp10-start - 6% full
    1. the code that assigns values to the SP RAM is here
    2. version number, build date and unit numbers are set here
  4. sp10-setupa - 43% full
    1. code to get the SP RAM values
  5. sp10-testa - 74% full
    1. change the MMA7455 test routines to be on one place
    2. add a serial test for the debug port
    3. display the SP RAM values
  6. sp10-mission - 12% full
  7. sp10-dump - 17% full
    1. code to get the SP RAM values
  8. folder: V1-15

V1-16

  1. done on 13-Mar-2010
  2. using data segments 8 to 15 to store mission data
    1. each data segment can hold 660 events
  3. sp10-start - 6% full
  4. sp10-setupa - 45% full
    1. it will initialize all data segment event counter
    2. it will list each data segment event counter
  5. sp10-testa - 74% full
  6. sp10-mission - 13% full
    1. support to use multiple data segments in one mission
  7. sp10-dump - 20% full
    1. it will note which data segment is being displayed, which event number from the data segment and an overall event counter.
  8. folder: V1-16

V1-17

  1. done on 20-Mar-2010
  2. sp10-mission
    1. change the pause from 400 milliseconds to 200 milliseconds
  3. folder: V1-17

V1-18

  1. done on 28-Mar-2010
    1. This version was to test 9volt battery life over the 90 minutes of the mission run time.
  2. sp10-mission
    1. copied over led_flash
    2. change the pause from 200 milliseconds to 1000 milliseconds
  3. folder: V1-18
  4. test data:
    1. sp10-u3-battery.TXT

V1-19

  1. done on 2-Apr-2010
  2. added support for mission number in data dump
    1. format of the project id is: SP10-v1.19-u1-m1
  3. added support for having a variable pause delay that can modified via the setup menu
  4. folder: V1-19

V1-20

  1. done on 3-Apr-2010
  2. Changed the format of the data dump
    1. format of the project id is: SP10-v1-20-u1-m1
  3. Modifed how mission numbers are changed
  4. New option to restart the unit in the setup menu
  5. folder: V1-20

V1-21

  1. done on 5-Apr-2010
  2. sp10-setupa
    1. disabled the menu option to clear the event counter
    2. disabled the menu option to invoke the mission code
  3. folder: V1-21