]>
Pileus Git - ~andy/csm213a-hw/log
summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Andy Spencer [Sat, 15 Mar 2014 22:22:37 +0000 (22:22 +0000)]
Fix whitespace error
Andy Spencer [Sat, 15 Mar 2014 22:21:15 +0000 (22:21 +0000)]
Fix newlines
Andy Spencer [Sat, 15 Mar 2014 22:17:50 +0000 (22:17 +0000)]
Fix rising/falling edge capture
Andy Spencer [Sat, 15 Mar 2014 21:58:11 +0000 (21:58 +0000)]
Add heuristics for time printing
Andy Spencer [Sat, 15 Mar 2014 21:55:50 +0000 (21:55 +0000)]
Fix event scheduling bug
Andy Spencer [Sat, 15 Mar 2014 18:10:27 +0000 (18:10 +0000)]
Add readme and cleanup formatting cleanup
Andy Spencer [Sat, 15 Mar 2014 11:41:25 +0000 (11:41 +0000)]
Make control script more configurable
Andy Spencer [Sat, 15 Mar 2014 10:32:20 +0000 (10:32 +0000)]
Add Android app from Yue
Andy Spencer [Sat, 15 Mar 2014 09:31:40 +0000 (09:31 +0000)]
Split start and period set functions
Andy Spencer [Sat, 15 Mar 2014 08:48:46 +0000 (08:48 +0000)]
Use relay flag insead of Device ID
Andy Spencer [Sat, 15 Mar 2014 08:10:36 +0000 (08:10 +0000)]
Fix bug in event generation
Andy Spencer [Sat, 15 Mar 2014 07:19:22 +0000 (07:19 +0000)]
Make slave mode configurable
Andy Spencer [Sat, 15 Mar 2014 06:39:41 +0000 (06:39 +0000)]
Debug relayed initialization
Andy Spencer [Sat, 15 Mar 2014 06:13:28 +0000 (06:13 +0000)]
Add serial transmit call
In event really mode, the mbed needs to queue up relayed event messages
until the time sync messages goes out, otherwise the timer will trigger
at the wrong time.
Andy Spencer [Sat, 15 Mar 2014 03:57:56 +0000 (03:57 +0000)]
Start working on serial relay
Andy Spencer [Sat, 15 Mar 2014 03:28:04 +0000 (03:28 +0000)]
Refactor main into separate files
Andy Spencer [Fri, 14 Mar 2014 05:52:06 +0000 (05:52 +0000)]
Bring in utilities to tester
Andy Spencer [Fri, 14 Mar 2014 05:51:49 +0000 (05:51 +0000)]
Factor out message parser
Andy Spencer [Fri, 14 Mar 2014 03:17:45 +0000 (03:17 +0000)]
Import testing code and update makefiles
This supports building and install both the primary build (mbed.bin) and
the secondary testing build (tester.bin).
Andy Spencer [Fri, 14 Mar 2014 02:30:53 +0000 (02:30 +0000)]
Cleanup comments and move test.cpp
Andy Spencer [Thu, 13 Mar 2014 07:41:34 +0000 (07:41 +0000)]
Start logging data
Andy Spencer [Thu, 13 Mar 2014 06:31:11 +0000 (06:31 +0000)]
Save a working version of TPM
Andy Spencer [Wed, 12 Mar 2014 17:54:08 +0000 (17:54 +0000)]
Debug TPM settings
- Disable prescaler
- Check FLL/PLL select in SOPT2
- Optimize CLOCK/NSEC conversion
- Set oscillator to high gain operation
- Add debug code for TPM/PIT counters
Andy Spencer [Thu, 13 Mar 2014 03:47:40 +0000 (03:47 +0000)]
Misc debugging
Add debug event messages
Change devices to 1 and 2
Fix bug in time transmit
Fix return code warning
Andy Spencer [Wed, 12 Mar 2014 17:26:50 +0000 (17:26 +0000)]
Perform no-delay time synchronization
Andy Spencer [Tue, 11 Mar 2014 07:13:22 +0000 (07:13 +0000)]
Update message definitions
Andy Spencer [Tue, 11 Mar 2014 05:45:55 +0000 (05:45 +0000)]
Work on event output message
Andy Spencer [Tue, 11 Mar 2014 04:29:33 +0000 (04:29 +0000)]
Ignore tags file
Andy Spencer [Tue, 11 Mar 2014 04:00:55 +0000 (04:00 +0000)]
Debug PWM output
Andy Spencer [Tue, 11 Mar 2014 03:04:45 +0000 (03:04 +0000)]
Fix input events
Andy Spencer [Mon, 10 Mar 2014 22:14:37 +0000 (22:14 +0000)]
Fix bug in irq code
Andy Spencer [Mon, 10 Mar 2014 20:23:15 +0000 (20:23 +0000)]
Cleanup and test messages and events
Add new message definitions to control and makefile
Debug stuff without actually testing using an external device or scope
Andy Spencer [Mon, 10 Mar 2014 13:21:02 +0000 (13:21 +0000)]
Add output event and more messages
Andy Spencer [Mon, 10 Mar 2014 09:14:40 +0000 (09:14 +0000)]
Improve time sync accuracy
This code is kind of messy, but it is more accurate.
Noise between time syncs seems to be around 50 nanoseconds. Noise on
external event readings seems to be around 500 nanoseconds. External
events were tested by manually inserting pins.
The mbeds seems to be consistency apart on external events, so some of
the noise could be caused by differing thresholds on the wires. Rising
edge mode on mbed seems to be ahead, and in falling edge the other is
ahead.
A large portion of the measurement errors was caused by not properly
learning pending DMA requests before enabling the DMA channels. The
pending requests seem to need to be disabled in the DMAMUX as well as
the DMA controller, and on the pins as well. It's not clearly what the
idea reset method is.
Andy Spencer [Mon, 10 Mar 2014 02:24:16 +0000 (02:24 +0000)]
Update testing code
Andy Spencer [Mon, 10 Mar 2014 00:59:02 +0000 (00:59 +0000)]
Work on second mbed
Add control program file:
- Can be used to send a time initialization message to the mbed
Add install program:
- Install programs on both mbeds and initialize the time on one
Add IRQ driven serial interface:
- Since we don't have spare DMA controllers available for this
homework we need to transmit serial data some other way.
- The IRQ code allows us to queue up large messages to be transmitted
asynchronous to main background loop. It should also help with
receiving data at a high rate.
Add task table to main:
- This lets us schedule tasks at fixed intervals.
Fix various bugs:
- Timer dma code reset avoid config errors cause by periodical request
while the DMA controller has nothing to transmit.
Andy Spencer [Sun, 9 Mar 2014 06:57:59 +0000 (06:57 +0000)]
Move testing code out of main
Andy Spencer [Sun, 9 Mar 2014 06:41:37 +0000 (06:41 +0000)]
Add dma timestamper
Andy Spencer [Sun, 9 Mar 2014 03:47:39 +0000 (03:47 +0000)]
Get DMA timestamp working
Andy Spencer [Sun, 9 Mar 2014 00:26:06 +0000 (00:26 +0000)]
Add dma and more tests
Andy Spencer [Mon, 3 Mar 2014 21:34:03 +0000 (21:34 +0000)]
Add UART 1/2 testing
Andy Spencer [Mon, 3 Mar 2014 17:54:44 +0000 (17:54 +0000)]
Start work on interfaces
Andy Spencer [Sat, 1 Mar 2014 19:20:46 +0000 (19:20 +0000)]
Add initial hw2 folder
Andy Spencer [Mon, 17 Feb 2014 03:37:21 +0000 (03:37 +0000)]
GTK+ 3 support
Andy Spencer [Fri, 14 Feb 2014 09:29:36 +0000 (09:29 +0000)]
Add screenshots
Andy Spencer [Fri, 14 Feb 2014 09:29:16 +0000 (09:29 +0000)]
Add sine wave generator
Andy Spencer [Fri, 14 Feb 2014 08:47:31 +0000 (08:47 +0000)]
Add plot selector
Andy Spencer [Fri, 14 Feb 2014 08:07:48 +0000 (08:07 +0000)]
Convert logger to use threads
Andy Spencer [Fri, 14 Feb 2014 07:12:40 +0000 (07:12 +0000)]
Split Xively streams and debug upload
Andy Spencer [Thu, 13 Feb 2014 00:29:21 +0000 (00:29 +0000)]
Finish up
Andy Spencer [Wed, 12 Feb 2014 21:38:19 +0000 (21:38 +0000)]
Debugging..
Andy Spencer [Wed, 12 Feb 2014 20:22:53 +0000 (20:22 +0000)]
Update from Yue, and add rate column
Andy Spencer [Wed, 12 Feb 2014 20:09:44 +0000 (20:09 +0000)]
Add report
Andy Spencer [Wed, 12 Feb 2014 05:45:48 +0000 (05:45 +0000)]
Move timer to main
Andy Spencer [Tue, 11 Feb 2014 01:09:24 +0000 (01:09 +0000)]
Add A2D signaling
Andy Spencer [Tue, 11 Feb 2014 01:07:27 +0000 (01:07 +0000)]
Add initial plotting
Andy Spencer [Mon, 10 Feb 2014 02:21:35 +0000 (02:21 +0000)]
Use serial.isWaiting() function
Also remove old debugging code
Andy Spencer [Mon, 10 Feb 2014 01:59:35 +0000 (01:59 +0000)]
Fix typo
Andy Spencer [Mon, 10 Feb 2014 01:38:27 +0000 (01:38 +0000)]
Switch to #pramga pack() for portability
Andy Spencer [Mon, 10 Feb 2014 01:26:10 +0000 (01:26 +0000)]
More bug fixes..
Andy Spencer [Mon, 10 Feb 2014 00:56:26 +0000 (00:56 +0000)]
Get things running
Andy Spencer [Mon, 10 Feb 2014 00:54:51 +0000 (00:54 +0000)]
Get things running
Andy Spencer [Sun, 9 Feb 2014 20:24:48 +0000 (20:24 +0000)]
Fix whitespace error
Andy Spencer [Sun, 9 Feb 2014 20:24:39 +0000 (20:24 +0000)]
Add debug LED
Andy Spencer [Sun, 9 Feb 2014 10:11:58 +0000 (10:11 +0000)]
Update main file add DMA code
Andy Spencer [Sun, 9 Feb 2014 05:54:00 +0000 (05:54 +0000)]
Pull changes from Yue
Andy Spencer [Tue, 4 Feb 2014 06:54:03 +0000 (06:54 +0000)]
Support Python 2.7 and GTK+2
Andy Spencer [Tue, 4 Feb 2014 06:27:09 +0000 (06:27 +0000)]
Switch to 921600 baud rate
Andy Spencer [Tue, 4 Feb 2014 00:52:37 +0000 (00:52 +0000)]
Work on writing settings to devices
Andy Spencer [Tue, 4 Feb 2014 00:35:05 +0000 (00:35 +0000)]
Save control options
Andy Spencer [Mon, 3 Feb 2014 23:49:00 +0000 (23:49 +0000)]
Fix mag and update rate limit
Andy Spencer [Mon, 3 Feb 2014 21:55:49 +0000 (21:55 +0000)]
Update from Yue
Andy Spencer [Mon, 3 Feb 2014 08:02:52 +0000 (08:02 +0000)]
Flush pending input data from device
Andy Spencer [Mon, 3 Feb 2014 08:01:32 +0000 (08:01 +0000)]
Add flush button
Andy Spencer [Mon, 3 Feb 2014 07:55:44 +0000 (07:55 +0000)]
Add Xively upload
- Also update some settings
- Also disconnect on exit
Andy Spencer [Mon, 3 Feb 2014 06:38:04 +0000 (06:38 +0000)]
Update settings
Andy Spencer [Mon, 3 Feb 2014 04:17:38 +0000 (04:17 +0000)]
Add test code and xively exmaple
Andy Spencer [Mon, 3 Feb 2014 01:55:14 +0000 (01:55 +0000)]
Switch to Python 3 and Gtk 3
Andy Spencer [Mon, 3 Feb 2014 00:36:29 +0000 (00:36 +0000)]
Rename xively to logger
Andy Spencer [Sun, 2 Feb 2014 09:13:01 +0000 (09:13 +0000)]
Set fixed size labels
Andy Spencer [Sun, 2 Feb 2014 09:09:45 +0000 (09:09 +0000)]
Add device name
Andy Spencer [Sun, 2 Feb 2014 09:02:43 +0000 (09:02 +0000)]
Add serial interface
Andy Spencer [Sun, 2 Feb 2014 00:54:53 +0000 (00:54 +0000)]
Rename serial to device and clean up
Andy Spencer [Sun, 2 Feb 2014 00:35:37 +0000 (00:35 +0000)]
Add settings
Andy Spencer [Sat, 1 Feb 2014 22:50:58 +0000 (22:50 +0000)]
Add template UI
Andy Spencer [Sat, 1 Feb 2014 05:17:08 +0000 (05:17 +0000)]
Fix warning
Andy Spencer [Sat, 1 Feb 2014 05:14:27 +0000 (05:14 +0000)]
Add sensors code from Yue
Andy Spencer [Sat, 1 Feb 2014 05:11:09 +0000 (05:11 +0000)]
Update makefiles
Andy Spencer [Fri, 31 Jan 2014 05:27:13 +0000 (05:27 +0000)]
Add initial hw1 stuff