Commit graph

198 commits

Author SHA1 Message Date
stephan
0a6e7363db sologse firmware: use PIN for input, SPI fixes
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda/arm/avr@3008 bc5caf13-1734-44f8-af43-603852e9ee25
2014-06-05 16:23:03 +00:00
rasch
10b87dab7a sologse: Bug fixes.
sologse.c: Fixed multiple bugs in the state machine. Most notably missing state changes and a bug where a newline would always reset the state machine.
  sologse_fpga.py: Stop transmission if an error occurs while sending.


git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda/arm/avr@3007 bc5caf13-1734-44f8-af43-603852e9ee25
2014-06-05 13:16:11 +00:00
rasch
34754ed2cb sologse: Removed unnecessary 'static' keywords to avoid compiler warnings.
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda/arm/avr@2991 bc5caf13-1734-44f8-af43-603852e9ee25
2014-06-03 14:35:21 +00:00
rasch
b674d55fe3 sologse: Bugfix: 1HZ_clk not blinking on startup.
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda/arm/avr@2990 bc5caf13-1734-44f8-af43-603852e9ee25
2014-06-03 14:32:31 +00:00
rasch
0233041ab6 sologse: Script for sending binary files via fpga.
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda/arm/avr@2987 bc5caf13-1734-44f8-af43-603852e9ee25
2014-06-03 14:14:40 +00:00
rasch
9bd03dc93d sologse: 1HZ_clk can be turned off, spi reverses bit-order before sending
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda/arm/avr@2986 bc5caf13-1734-44f8-af43-603852e9ee25
2014-06-03 11:33:13 +00:00
rasch
0600c3e7fb sologse: New features.
* Onboard clock.
  * Reworked command syntax.
  * Communication with SPI/FPGA is now possible.
  * Time and power can be logged contiously.
  * Probably more...


git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda/arm/avr@2902 bc5caf13-1734-44f8-af43-603852e9ee25
2014-05-19 16:20:55 +00:00
rasch
ca76a7049b sologse: Modularity improvements and working 32bit clock. Also some syntax changes for commands.
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda/arm/avr@2897 bc5caf13-1734-44f8-af43-603852e9ee25
2014-05-17 20:57:12 +00:00
rasch
e9f87ab105 sologse: New features for ADC and 1HZ_CLK.
* ADC now also checks current.
  * ADC values can be printed.
  * 1HZ_CLK can be forced to use new cycle length immediately.


git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda/arm/avr@2856 bc5caf13-1734-44f8-af43-603852e9ee25
2014-05-13 16:16:11 +00:00
rasch
e073fd2f65 sologse: Fixed problem where interrupts would ignore variables because of missing volatile keywords.
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda/arm/avr@2848 bc5caf13-1734-44f8-af43-603852e9ee25
2014-05-11 16:38:50 +00:00
rasch
757dd345f5 sologse: Fixes for ADC and 1HZ_CLK
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda/arm/avr@2847 bc5caf13-1734-44f8-af43-603852e9ee25
2014-05-11 15:54:39 +00:00
rasch
e69acba563 sologse: Corrected timing for 1HZ_CLOCK pulse width change.
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda/arm/avr@2835 bc5caf13-1734-44f8-af43-603852e9ee25
2014-05-06 11:37:27 +00:00
rasch
f3f9f027d9 sologse: Abstracted IO-layer, added SPI/FPGA interface, added state machine for IO handling.
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda/arm/avr@2768 bc5caf13-1734-44f8-af43-603852e9ee25
2014-04-22 12:18:51 +00:00
florians
af16f1bda7 lcd_routines: Added: WriteCharWait
WriteString
	      Init without Cursor in LCD


git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda/arm/avr@2748 bc5caf13-1734-44f8-af43-603852e9ee25
2014-04-10 12:22:51 +00:00
florians
ad98bf1e5f LCD:
Added: Hello World
	       PrintInt
	       Code to call LCD_Init
	       SerialNo and Version
	       Code to call SerialNo and Version


git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda/arm/avr@2747 bc5caf13-1734-44f8-af43-603852e9ee25
2014-04-10 12:19:18 +00:00
florians
a522cd9ba0 Added SerialNo, VersionNo and function to print; Added function to call LCD_Init
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda/arm/avr@2746 bc5caf13-1734-44f8-af43-603852e9ee25
2014-04-10 08:57:58 +00:00
florians
8ef4ae77ba Fix LCD-Init; added delays
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda/arm/avr@2742 bc5caf13-1734-44f8-af43-603852e9ee25
2014-04-09 19:59:17 +00:00
rasch
33f984efe5 sologse: Changed 1Hz clock mode to PWM. Started nonblocking USART interface (not functional yet).
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda/arm/avr@2615 bc5caf13-1734-44f8-af43-603852e9ee25
2014-03-05 01:38:37 +00:00
stephan
d58334f3c9 sologse: use svn Id as greeting message
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda/arm/avr@2596 bc5caf13-1734-44f8-af43-603852e9ee25
2014-02-27 12:33:14 +00:00
stephan
45efc3cf15 sologse: define lfuse value
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda/arm/avr@2595 bc5caf13-1734-44f8-af43-603852e9ee25
2014-02-27 12:28:55 +00:00
rasch
730c630a01 sologse: 1HZ-timer added
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda/arm/avr@2573 bc5caf13-1734-44f8-af43-603852e9ee25
2014-02-24 11:45:39 +00:00
karnjit
bbf5aba318 lcd: SetPix
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda/arm/avr@2566 bc5caf13-1734-44f8-af43-603852e9ee25
2014-02-21 14:30:19 +00:00
stephan
762e6fc662 lcd: debug: turn control lines to output
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda/arm/avr@2507 bc5caf13-1734-44f8-af43-603852e9ee25
2014-02-05 17:31:53 +00:00
karnjit
f4dedb7851 lcd: lcd_routines refactored
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda/arm/avr@2506 bc5caf13-1734-44f8-af43-603852e9ee25
2014-02-05 15:04:38 +00:00
rasch
dc4ffc1d08 sologse: Add 1Hz timer.
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda/arm/avr@2505 bc5caf13-1734-44f8-af43-603852e9ee25
2014-02-05 11:40:27 +00:00
rasch
33d001b9ea sologse initial working commit.
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda/arm/avr@2504 bc5caf13-1734-44f8-af43-603852e9ee25
2014-02-03 11:27:10 +00:00
stephan
c1f04fe90d avr: CPU spec for solo GSE
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda/arm/avr@2501 bc5caf13-1734-44f8-af43-603852e9ee25
2014-01-29 14:03:21 +00:00
stephan
9b45ae67cf sirena avr: read command returns 0xff :-(
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda/arm/avr@2411 bc5caf13-1734-44f8-af43-603852e9ee25
2013-12-16 15:38:42 +00:00
stephan
e1b136d7d6 sirena display: compile fixes
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda/arm/avr@2400 bc5caf13-1734-44f8-af43-603852e9ee25
2013-12-13 14:08:45 +00:00
karnjit
5e96459267 sirena display: uart debugger
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda/arm/avr@2399 bc5caf13-1734-44f8-af43-603852e9ee25
2013-12-13 13:43:14 +00:00
stephan
dad1036679 sirena avr: burn infrastructure
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda/arm/avr@2322 bc5caf13-1734-44f8-af43-603852e9ee25
2013-11-18 13:49:14 +00:00
karnjit
82e96b6dbf sirena avr: merge spi_slave with Martins LCD code
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda/arm/avr@2321 bc5caf13-1734-44f8-af43-603852e9ee25
2013-11-18 12:49:11 +00:00
kruse
811bd3eec1 Added LCD driver for ATMega32
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda/arm/avr@2237 bc5caf13-1734-44f8-af43-603852e9ee25
2013-10-17 14:43:30 +00:00
stephan
0c43a9889b add clean target
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda/arm/avr@1206 bc5caf13-1734-44f8-af43-603852e9ee25
2012-08-02 09:58:50 +00:00
stephan
5b364c478c all warnings fixed
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda/arm/avr@1101 bc5caf13-1734-44f8-af43-603852e9ee25
2012-05-29 15:50:33 +00:00
stephan
bc93af0194 Lauri's ECR controller
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda/arm/avr@1100 bc5caf13-1734-44f8-af43-603852e9ee25
2012-05-29 15:21:41 +00:00
stephan
9764729009 stepper: fix initial pulse width
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda/arm/avr@673 bc5caf13-1734-44f8-af43-603852e9ee25
2011-10-13 15:14:36 +00:00
stephan
7c651198a6 avr spi_slave: do not abort 0xff
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda/arm/avr@672 bc5caf13-1734-44f8-af43-603852e9ee25
2011-10-13 14:35:15 +00:00
stephan
36116263b5 Stepper: fix wgm
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda/arm/avr@671 bc5caf13-1734-44f8-af43-603852e9ee25
2011-10-13 14:34:35 +00:00
stephan
e5abc164c4 StepperControl: fix Rx return bytes
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda/arm/avr@669 bc5caf13-1734-44f8-af43-603852e9ee25
2011-10-13 12:33:40 +00:00
stephan
33e7ce6818 invert MSB idle bit
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda/arm/avr@668 bc5caf13-1734-44f8-af43-603852e9ee25
2011-10-13 10:58:03 +00:00
stephan
82027e7dc0 StepperControl fix MCU
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda/arm/avr@666 bc5caf13-1734-44f8-af43-603852e9ee25
2011-10-13 09:23:20 +00:00
stephan
3ac35ec85d avr: linker and burn make targets
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda/arm/avr@655 bc5caf13-1734-44f8-af43-603852e9ee25
2011-10-06 15:12:24 +00:00
stephan
6e7675b7ac Steppercontrol with 3-byte commands
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda/arm/avr@653 bc5caf13-1734-44f8-af43-603852e9ee25
2011-09-30 13:34:30 +00:00
stephan
6137694225 avr spi_slave: sync implementation
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda/arm/avr@644 bc5caf13-1734-44f8-af43-603852e9ee25
2011-09-27 07:35:21 +00:00
stephan
f3f698bf7e avr: reduce irq disable time in spi_slave_Tx
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda/arm/avr@613 bc5caf13-1734-44f8-af43-603852e9ee25
2011-09-12 09:14:47 +00:00
stephan
4d83181f0a avr/spislave: this could run
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda/arm/avr@585 bc5caf13-1734-44f8-af43-603852e9ee25
2011-08-18 06:44:43 +00:00
stephan
e06759c35f avr spi isr
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda/arm/avr@579 bc5caf13-1734-44f8-af43-603852e9ee25
2011-08-17 10:37:38 +00:00