430.git
11 years agomsp4th: include msp4th_puts(uint8_t *s) in ROM
Dan White [Wed, 8 May 2013 19:02:53 +0000 (14:02 -0500)]
msp4th: include msp4th_puts(uint8_t *s) in ROM

Now, it merely requires putchar/getchar from the user.

11 years agobootloader: reduce delay time for flash chip wakeup
Dan White [Wed, 8 May 2013 18:55:48 +0000 (13:55 -0500)]
bootloader: reduce delay time for flash chip wakeup

Delay is sufficient for up to a 100 MHz clock.

11 years agoMerge branch 'user-defined-allocations'
Dan White [Tue, 7 May 2013 18:01:17 +0000 (13:01 -0500)]
Merge branch 'user-defined-allocations'

11 years agomsp4th: snapshot the bootrom RCF file user-defined-allocations s3/user-defined-allocations bootrom-initial-submission
Dan White [Tue, 7 May 2013 17:59:53 +0000 (12:59 -0500)]
msp4th: snapshot the bootrom RCF file

11 years agomsp4th: update docs
Dan White [Tue, 7 May 2013 17:59:03 +0000 (12:59 -0500)]
msp4th: update docs

11 years agomsp4th: also make I/O functions configurable
Dan White [Tue, 7 May 2013 16:45:09 +0000 (11:45 -0500)]
msp4th: also make I/O functions configurable

This allows grafting in an interrupt-based uart in addition to giving
different-sized program and stack spaces.

11 years agomsp4th: vector table to specify user-custom arrays
Dan White [Mon, 6 May 2013 19:20:33 +0000 (14:20 -0500)]
msp4th: vector table to specify user-custom arrays

NOTE: the test430.c PC program does not work, but a cursory usage on the actual
NS430 seems to work fine.

11 years agomsp4th: rename indices
Dan White [Mon, 6 May 2013 17:03:48 +0000 (12:03 -0500)]
msp4th: rename indices

The names are not actually pointers, just indices into their respective arrays.
Since we are using real pointers for the stacks, rename to reduce confusion.

11 years agomsp4th: stacks now use pointers and registers, and macros
Dan White [Mon, 6 May 2013 16:56:00 +0000 (11:56 -0500)]
msp4th: stacks now use pointers and registers, and macros

11 years agoflash.py: temporarily override interrupt vector table
Dan White [Mon, 6 May 2013 05:08:44 +0000 (00:08 -0500)]
flash.py: temporarily override interrupt vector table

11 years agomsp4th: cleanup
Dan White [Mon, 6 May 2013 05:08:36 +0000 (00:08 -0500)]
msp4th: cleanup

11 years agomsp4th: flash boot loader
Dan White [Mon, 6 May 2013 04:25:54 +0000 (23:25 -0500)]
msp4th: flash boot loader

make target "bootrom" sets the correct flags and uses a tweaked ldscript for
all the right locations and such.

normal make targets, e.g. "all", assume you are building the boot rom for
testing in RAM space.

NOTE: this requires manually setting the reset vector to 0x4000 instead of the
location gcc uses.

11 years agomsp4th: flash loader testing
Dan White [Sun, 5 May 2013 05:22:38 +0000 (00:22 -0500)]
msp4th: flash loader testing

11 years agoROM code: fixup another call address
Dan White [Sun, 5 May 2013 02:21:04 +0000 (21:21 -0500)]
ROM code: fixup another call address

11 years agomsp4th: bugfix printNumber() to handle 0x8000 -> -32768
Dan White [Fri, 3 May 2013 14:43:49 +0000 (09:43 -0500)]
msp4th: bugfix printNumber() to handle 0x8000 -> -32768

11 years agomsp4th: add script to extract opcode definitions
Dan White [Thu, 2 May 2013 20:34:49 +0000 (15:34 -0500)]
msp4th: add script to extract opcode definitions

11 years agomsp4th: properly assign 32 interrupt vectors
Dan White [Thu, 2 May 2013 20:09:06 +0000 (15:09 -0500)]
msp4th: properly assign 32 interrupt vectors

11 years agomsp4th: "uniarch" gcc style cpu specs
Dan White [Thu, 2 May 2013 20:05:47 +0000 (15:05 -0500)]
msp4th: "uniarch" gcc style cpu specs

11 years agomsp4th: opcode stack comments, use hw multiplier
Dan White [Thu, 2 May 2013 20:04:34 +0000 (15:04 -0500)]
msp4th: opcode stack comments, use hw multiplier

11 years agomsp4th: add c-function calling words
Dan White [Thu, 2 May 2013 17:44:55 +0000 (12:44 -0500)]
msp4th: add c-function calling words

added word ndrop helps speedup multiple drop calls.  premature optimization,
perhaps

11 years agomsp4th: allow case-insensitive hex digits
Dan White [Thu, 2 May 2013 16:54:52 +0000 (11:54 -0500)]
msp4th: allow case-insensitive hex digits

11 years agomsp4th: speedup pop/pushMathStack
Dan White [Thu, 2 May 2013 16:53:49 +0000 (11:53 -0500)]
msp4th: speedup pop/pushMathStack

11 years agoadd note why flash is woken up early
Dan White [Wed, 1 May 2013 23:21:24 +0000 (18:21 -0500)]
add note why flash is woken up early

11 years agoboot: directly inject bootloader asm, no functions
Dan White [Tue, 30 Apr 2013 18:40:19 +0000 (13:40 -0500)]
boot: directly inject bootloader asm, no functions

11 years agoupdate asm include system to GCC syntax
Dan White [Mon, 29 Apr 2013 19:12:06 +0000 (14:12 -0500)]
update asm include system to GCC syntax

11 years agoMerge branch 'msp4th-fixup'
Dan White [Mon, 29 Apr 2013 18:47:17 +0000 (13:47 -0500)]
Merge branch 'msp4th-fixup'

11 years agoadd generated RCF file for ROM msp4th-fixup s3/msp4th-fixup
Dan White [Mon, 29 Apr 2013 18:41:45 +0000 (13:41 -0500)]
add generated RCF file for ROM

11 years agoadd RCF generator for ROM fix
Dan White [Mon, 29 Apr 2013 18:41:26 +0000 (13:41 -0500)]
add RCF generator for ROM fix

11 years agooops, wrong address, fixup
Dan White [Mon, 29 Apr 2013 18:30:27 +0000 (13:30 -0500)]
oops, wrong address, fixup

11 years agotwo bugfixes directly to dis-assembled, annotated ROM
Dan White [Thu, 25 Apr 2013 21:02:03 +0000 (16:02 -0500)]
two bugfixes directly to dis-assembled, annotated ROM

11 years agocopy to do direct boot ROM bugfixes
Dan White [Thu, 25 Apr 2013 20:20:15 +0000 (15:20 -0500)]
copy to do direct boot ROM bugfixes

11 years agouse assembly for bootloader, start cleaning up Schemm version
Dan White [Tue, 23 Apr 2013 21:12:41 +0000 (16:12 -0500)]
use assembly for bootloader, start cleaning up Schemm version

11 years agostart asm version of flash loader
Dan White [Tue, 23 Apr 2013 17:38:54 +0000 (12:38 -0500)]
start asm version of flash loader

11 years agostart flash loader code
Dan White [Sun, 21 Apr 2013 02:18:28 +0000 (21:18 -0500)]
start flash loader code

11 years agocleanup better
Dan White [Sat, 20 Apr 2013 05:40:55 +0000 (00:40 -0500)]
cleanup better

11 years agoadd SPI header
Dan White [Sat, 20 Apr 2013 05:40:07 +0000 (00:40 -0500)]
add SPI header

11 years agobetter uart namespace
Dan White [Sat, 20 Apr 2013 05:39:40 +0000 (00:39 -0500)]
better uart namespace

11 years agomsp4th: ignore comments
Dan White [Sat, 20 Apr 2013 05:38:55 +0000 (00:38 -0500)]
msp4th: ignore comments

11 years agoremove unneeded volatile specs, cleanup
Dan White [Fri, 19 Apr 2013 23:03:12 +0000 (18:03 -0500)]
remove unneeded volatile specs, cleanup

11 years agodo not track compile dependency files
Dan White [Fri, 19 Apr 2013 22:48:46 +0000 (17:48 -0500)]
do not track compile dependency files

11 years agoremove static qualifier
Dan White [Fri, 19 Apr 2013 22:22:16 +0000 (17:22 -0500)]
remove static qualifier

11 years agoFIX: correct ldscript, cleanup
Dan White [Fri, 19 Apr 2013 21:24:54 +0000 (16:24 -0500)]
FIX: correct ldscript, cleanup

11 years agoadd generated files for reference
Dan White [Sat, 13 Apr 2013 17:52:42 +0000 (12:52 -0500)]
add generated files for reference

11 years agofixup msp4th on PC testing
Dan White [Sat, 13 Apr 2013 17:51:38 +0000 (12:51 -0500)]
fixup msp4th on PC testing

11 years agoMemory dump log and checker
Dan White [Sat, 13 Apr 2013 17:47:19 +0000 (12:47 -0500)]
Memory dump log and checker

"dump-output.txt" is raw terminal output from ns430 program
"memdump.txt" is above formatted for memtest.py

use: python memtest.py main.hex memdump.txt
this reports a match

11 years agomemory testing start
Dan White [Sat, 13 Apr 2013 17:42:33 +0000 (12:42 -0500)]
memory testing start

11 years agons430: setup for ubuntu 12.04 mspgcc version
Dan White [Fri, 12 Apr 2013 22:54:16 +0000 (17:54 -0500)]
ns430: setup for ubuntu 12.04 mspgcc version

11 years agoharmonics w/ sin inputs
Dan White [Mon, 8 Apr 2013 19:03:31 +0000 (14:03 -0500)]
harmonics w/ sin inputs

11 years agosine integration start with chip 14 arb0
Dan White [Mon, 8 Apr 2013 18:04:19 +0000 (13:04 -0500)]
sine integration start with chip 14 arb0

11 years agochip 14 gm testing
Dan White [Sun, 7 Apr 2013 04:50:03 +0000 (23:50 -0500)]
chip 14 gm testing

11 years agosave chip14 tests
Dan White [Fri, 5 Apr 2013 20:04:26 +0000 (15:04 -0500)]
save chip14 tests

11 years agoplots for arb0 testing
Dan White [Fri, 5 Apr 2013 03:52:41 +0000 (22:52 -0500)]
plots for arb0 testing

11 years agoWIP reproduce arb0 setup
Dan White [Fri, 5 Apr 2013 00:06:26 +0000 (19:06 -0500)]
WIP reproduce arb0 setup

11 years agoarb0 works!!!
Dan White [Thu, 4 Apr 2013 20:41:18 +0000 (15:41 -0500)]
arb0 works!!!

11 years agoadd chip calibrations for 13, 14
Dan White [Thu, 4 Apr 2013 18:14:08 +0000 (13:14 -0500)]
add chip calibrations for 13, 14

11 years agotesting arb0 channel DC integration
Dan White [Thu, 28 Mar 2013 19:39:26 +0000 (14:39 -0500)]
testing arb0 channel DC integration

11 years agofixup
Dan White [Thu, 28 Mar 2013 17:10:52 +0000 (12:10 -0500)]
fixup

11 years agosave footprints sent to Markus
Dan White [Mon, 25 Mar 2013 18:16:38 +0000 (13:16 -0500)]
save footprints sent to Markus

11 years agoadd pdf of power switch sch
Dan White [Mon, 25 Mar 2013 18:14:30 +0000 (13:14 -0500)]
add pdf of power switch sch

11 years agobugfix
Dan White [Sat, 23 Mar 2013 04:09:59 +0000 (23:09 -0500)]
bugfix

11 years agoEWU research slide generation
Dan White [Fri, 1 Mar 2013 16:11:06 +0000 (10:11 -0600)]
EWU research slide generation

11 years agoadd temp testing script
Dan White [Tue, 12 Feb 2013 15:30:04 +0000 (09:30 -0600)]
add temp testing script

11 years agoSet new attribute on instance not class
Dan White [Wed, 28 Nov 2012 19:55:46 +0000 (13:55 -0600)]
Set new attribute on instance not class

11 years agowip
Dan White [Tue, 6 Nov 2012 20:56:25 +0000 (14:56 -0600)]
wip

11 years agowip
Dan White [Tue, 6 Nov 2012 17:21:07 +0000 (11:21 -0600)]
wip

11 years agoProperly close ports with provided interface
Dan White [Fri, 2 Nov 2012 23:41:03 +0000 (18:41 -0500)]
Properly close ports with provided interface

11 years agoAdd a .close() method to port interfaces
Dan White [Fri, 2 Nov 2012 23:39:58 +0000 (18:39 -0500)]
Add a .close() method to port interfaces

11 years agoProperly raise exceptions
Dan White [Fri, 2 Nov 2012 23:39:09 +0000 (18:39 -0500)]
Properly raise exceptions

11 years agoStore local ftdi module ref in I2C
Dan White [Fri, 2 Nov 2012 23:38:07 +0000 (18:38 -0500)]
Store local ftdi module ref in I2C

11 years agoUpdate py modules
Dan White [Fri, 2 Nov 2012 22:19:54 +0000 (17:19 -0500)]
Update py modules

11 years agoAdd power switch sch for documentation
Dan White [Fri, 2 Nov 2012 22:17:06 +0000 (17:17 -0500)]
Add power switch sch for documentation

11 years agoEnsure or warn about kernel USB autosuspend
Dan White [Mon, 29 Oct 2012 19:09:16 +0000 (14:09 -0500)]
Ensure or warn about kernel USB autosuspend

11 years agoEnable usage of ft4232 suspend pin
Dan White [Sun, 28 Oct 2012 01:37:26 +0000 (20:37 -0500)]
Enable usage of ft4232 suspend pin

Need to add an external circuit which switches off power to devboard when
SUSPEND pin is low.

11 years agoAdd and update calibration
Dan White [Sat, 27 Oct 2012 03:17:20 +0000 (22:17 -0500)]
Add and update calibration

11 years agofix filename construction
Dan White [Thu, 25 Oct 2012 23:03:32 +0000 (18:03 -0500)]
fix filename construction

11 years agoAdd baseline chip calibrations
Dan White [Mon, 22 Oct 2012 18:50:42 +0000 (13:50 -0500)]
Add baseline chip calibrations

11 years agoTo a global config instance
Dan White [Thu, 18 Oct 2012 18:04:26 +0000 (13:04 -0500)]
To a global config instance

11 years agodevboard is now a module, act accordingly
Dan White [Wed, 17 Oct 2012 21:03:53 +0000 (16:03 -0500)]
devboard is now a module, act accordingly

11 years agoBare default settings
Dan White [Wed, 17 Oct 2012 18:24:49 +0000 (13:24 -0500)]
Bare default settings

11 years agoInitialize ADC properly
Dan White [Wed, 17 Oct 2012 18:24:28 +0000 (13:24 -0500)]
Initialize ADC properly

11 years agoyaml dump likes lists instead of tuples
Dan White [Wed, 17 Oct 2012 05:01:48 +0000 (00:01 -0500)]
yaml dump likes lists instead of tuples

11 years agobugfix: save dac config
Dan White [Wed, 17 Oct 2012 05:00:17 +0000 (00:00 -0500)]
bugfix: save dac config

11 years agoCull extra parameters not used in __init__
Dan White [Wed, 17 Oct 2012 04:54:13 +0000 (23:54 -0500)]
Cull extra parameters not used in __init__

11 years agoWIP fixups to make work
Dan White [Tue, 16 Oct 2012 21:05:28 +0000 (16:05 -0500)]
WIP fixups to make work

11 years agoCleanup devboard.py, ready to test live
Dan White [Tue, 16 Oct 2012 20:32:13 +0000 (15:32 -0500)]
Cleanup devboard.py, ready to test live

11 years agoDevboard module to handle everything hardware-specific
Dan White [Tue, 16 Oct 2012 20:19:21 +0000 (15:19 -0500)]
Devboard module to handle everything hardware-specific

11 years agoChange name to _config(), add remaining
Dan White [Tue, 16 Oct 2012 20:18:33 +0000 (15:18 -0500)]
Change name to _config(), add remaining

11 years agoFixup changes
Dan White [Tue, 16 Oct 2012 05:50:36 +0000 (00:50 -0500)]
Fixup changes

11 years agonon-null
Dan White [Tue, 16 Oct 2012 05:21:18 +0000 (00:21 -0500)]
non-null

11 years agoSettings save/restore helpers UNTESTED
Dan White [Mon, 15 Oct 2012 19:49:11 +0000 (14:49 -0500)]
Settings save/restore helpers UNTESTED

11 years agoMove default setting to usbio
Dan White [Mon, 15 Oct 2012 19:47:42 +0000 (14:47 -0500)]
Move default setting to usbio

11 years agoUse custom SPI interface with libftdi
Dan White [Sun, 14 Oct 2012 03:13:45 +0000 (22:13 -0500)]
Use custom SPI interface with libftdi

11 years agoplots for presenation
Dan White [Wed, 10 Oct 2012 16:02:50 +0000 (11:02 -0500)]
plots for presenation

12 years agoupdate
Dan White [Tue, 9 Oct 2012 20:36:14 +0000 (15:36 -0500)]
update

12 years agowork on I/V curve tracing
Dan White [Sun, 7 Oct 2012 02:21:31 +0000 (21:21 -0500)]
work on I/V curve tracing

12 years agoupdate
Dan White [Mon, 24 Sep 2012 16:18:01 +0000 (11:18 -0500)]
update

12 years agoHistogram of all channels x runs
Dan White [Fri, 21 Sep 2012 18:08:22 +0000 (13:08 -0500)]
Histogram of all channels x runs

12 years agoFail on warnings
Dan White [Wed, 12 Sep 2012 16:35:38 +0000 (11:35 -0500)]
Fail on warnings

12 years agoChange devboard crystal to 12 MHz
Dan White [Tue, 11 Sep 2012 19:47:28 +0000 (14:47 -0500)]
Change devboard crystal to 12 MHz

12 years agoWorkup to allow msp4th testing on PC
Dan White [Tue, 11 Sep 2012 19:24:47 +0000 (14:24 -0500)]
Workup to allow msp4th testing on PC