430.git
10 years agoadd 3-panel plot of iout-gm-gm
Dan White [Thu, 13 Feb 2014 10:24:24 +0000 (04:24 -0600)]
add 3-panel plot of iout-gm-gm

10 years agoupdate digi current plot
Dan White [Mon, 10 Feb 2014 07:36:18 +0000 (01:36 -0600)]
update digi current plot

10 years agocalibration stats plots
Dan White [Mon, 10 Feb 2014 07:23:29 +0000 (01:23 -0600)]
calibration stats plots

10 years agocalibration stats
Dan White [Mon, 10 Feb 2014 06:56:38 +0000 (00:56 -0600)]
calibration stats

10 years agoraw offset calibration example runs
Dan White [Mon, 10 Feb 2014 06:17:39 +0000 (00:17 -0600)]
raw offset calibration example runs

10 years agoWIP figure making
Dan White [Mon, 10 Feb 2014 00:31:25 +0000 (18:31 -0600)]
WIP figure making

10 years agocleanup harmonic-phase plot
Dan White [Sun, 9 Feb 2014 22:13:59 +0000 (16:13 -0600)]
cleanup harmonic-phase plot

10 years agoadd harmonic vs phase correlations
Dan White [Sun, 9 Feb 2014 21:50:53 +0000 (15:50 -0600)]
add harmonic vs phase correlations

10 years agorename py file to match output
Dan White [Sun, 9 Feb 2014 19:04:20 +0000 (13:04 -0600)]
rename py file to match output

10 years agoprettify iout-gm figure
Dan White [Sun, 9 Feb 2014 18:59:21 +0000 (12:59 -0600)]
prettify iout-gm figure

10 years agouse plain title block for diss versions
Dan White [Mon, 3 Feb 2014 02:19:28 +0000 (20:19 -0600)]
use plain title block for diss versions

10 years agoupdate waeda pointers, change sch title blocks
Dan White [Sun, 2 Feb 2014 23:28:41 +0000 (17:28 -0600)]
update waeda pointers, change sch title blocks

10 years agoWIP: diss figure
Dan White [Fri, 6 Dec 2013 07:32:37 +0000 (01:32 -0600)]
WIP: diss figure

11 years agosham
Dan White [Fri, 9 Aug 2013 20:22:31 +0000 (15:22 -0500)]
sham

11 years agosham
Dan White [Mon, 29 Jul 2013 22:17:40 +0000 (17:17 -0500)]
sham

11 years agosham
Dan White [Mon, 29 Jul 2013 22:07:40 +0000 (17:07 -0500)]
sham

11 years agosham
Dan White [Mon, 29 Jul 2013 22:07:13 +0000 (17:07 -0500)]
sham

11 years agosham
Dan White [Mon, 29 Jul 2013 22:05:44 +0000 (17:05 -0500)]
sham

11 years agosham
Dan White [Mon, 29 Jul 2013 21:52:50 +0000 (16:52 -0500)]
sham

11 years agosham
Dan White [Mon, 29 Jul 2013 21:49:21 +0000 (16:49 -0500)]
sham

11 years agosham
Dan White [Mon, 29 Jul 2013 21:44:03 +0000 (16:44 -0500)]
sham

11 years agosham
Dan White [Mon, 29 Jul 2013 21:36:07 +0000 (16:36 -0500)]
sham

11 years agosham
Dan White [Mon, 29 Jul 2013 21:32:36 +0000 (16:32 -0500)]
sham

11 years agotest
Dan White [Mon, 29 Jul 2013 21:27:20 +0000 (16:27 -0500)]
test

11 years agoadd zip of msp4th
Dan White [Fri, 26 Jul 2013 22:16:35 +0000 (17:16 -0500)]
add zip of msp4th

11 years agomsp4th: fix comments
Dan White [Wed, 22 May 2013 21:57:32 +0000 (16:57 -0500)]
msp4th: fix comments

11 years agomsp4th: cosimulation output prints source line numbers
Dan White [Tue, 21 May 2013 20:25:47 +0000 (15:25 -0500)]
msp4th: cosimulation output prints source line numbers

11 years agomsp4th: PC dirMemory needs fixing, do not test
Dan White [Tue, 21 May 2013 20:25:25 +0000 (15:25 -0500)]
msp4th: PC dirMemory needs fixing, do not test

11 years agomsp4th.c: bugfix uart_puts()
Dan White [Tue, 21 May 2013 20:24:12 +0000 (15:24 -0500)]
msp4th.c: bugfix uart_puts()

11 years agomsp4th: disassembler user code
Dan White [Sat, 18 May 2013 03:51:23 +0000 (22:51 -0500)]
msp4th: disassembler user code

11 years agobootcode: update to current
Dan White [Sat, 18 May 2013 03:42:27 +0000 (22:42 -0500)]
bootcode: update to current

11 years agomsp4th: static functions save space
Dan White [Fri, 17 May 2013 20:36:44 +0000 (15:36 -0500)]
msp4th: static functions save space

- rename execN -> execVM
- re-order
- cleanup spacing, indent

11 years agomsp4th: factor out n drop stack funcs
Dan White [Fri, 17 May 2013 19:52:34 +0000 (14:52 -0500)]
msp4th: factor out n drop stack funcs

11 years agomsp4th: better asm annotations (no obj code changes)
Dan White [Fri, 17 May 2013 19:45:05 +0000 (14:45 -0500)]
msp4th: better asm annotations (no obj code changes)

11 years agomsp4th: more opcode co-simulation tests, none should FAIL
Dan White [Thu, 16 May 2013 19:19:22 +0000 (14:19 -0500)]
msp4th: more opcode co-simulation tests, none should FAIL

11 years agomsp4th: fix comments
Dan White [Thu, 16 May 2013 19:18:18 +0000 (14:18 -0500)]
msp4th: fix comments

11 years agomsp4th: rename 2* 2/, numFunc only checks first char
Dan White [Thu, 16 May 2013 18:29:34 +0000 (13:29 -0500)]
msp4th: rename 2* 2/, numFunc only checks first char

11 years agotesting helpers
Dan White [Thu, 16 May 2013 06:56:11 +0000 (01:56 -0500)]
testing helpers

11 years agomsp4th: bugfix do-loop, gcc optimizes too much
Dan White [Thu, 16 May 2013 06:49:46 +0000 (01:49 -0500)]
msp4th: bugfix do-loop, gcc optimizes too much

11 years agoco-simulation framework start
Dan White [Thu, 16 May 2013 00:26:45 +0000 (19:26 -0500)]
co-simulation framework start

11 years agomsp4th: proper cr/nl handling
Dan White [Tue, 14 May 2013 19:27:47 +0000 (14:27 -0500)]
msp4th: proper cr/nl handling

11 years agomsp4th: PC testing wrapper + make target
Dan White [Tue, 14 May 2013 19:24:49 +0000 (14:24 -0500)]
msp4th: PC testing wrapper + make target

11 years agomsp4th: macro to suppress pointer size cast warnings
Dan White [Tue, 14 May 2013 18:16:32 +0000 (13:16 -0500)]
msp4th: macro to suppress pointer size cast warnings

11 years agomsp4th: pc4th make target
Dan White [Tue, 14 May 2013 18:13:58 +0000 (13:13 -0500)]
msp4th: pc4th make target

11 years agobootcode: regen current version
Dan White [Tue, 14 May 2013 16:33:01 +0000 (11:33 -0500)]
bootcode: regen current version

11 years agomsp4th: bugfix o2w, save some bytes
Dan White [Tue, 14 May 2013 16:32:41 +0000 (11:32 -0500)]
msp4th: bugfix o2w, save some bytes

11 years agomsp4th: remove macro
Dan White [Tue, 14 May 2013 04:18:27 +0000 (23:18 -0500)]
msp4th: remove macro

11 years agomsp4th: shrink code size to fit, remove ^D exit
Dan White [Tue, 14 May 2013 04:02:27 +0000 (23:02 -0500)]
msp4th: shrink code size to fit, remove ^D exit

11 years agoword to lookup opcode of next word
Dan White [Mon, 13 May 2013 20:10:36 +0000 (15:10 -0500)]
word to lookup opcode of next word

11 years agomsp4th: o2p opcode to prog index, #defines
Dan White [Mon, 13 May 2013 20:08:24 +0000 (15:08 -0500)]
msp4th: o2p opcode to prog index, #defines

11 years agomsp4th: o2w prints opcode name string
Dan White [Mon, 13 May 2013 19:07:23 +0000 (14:07 -0500)]
msp4th: o2w prints opcode name string

11 years agomsp4th: overFunc is simple enough
Dan White [Mon, 13 May 2013 17:04:19 +0000 (12:04 -0500)]
msp4th: overFunc is simple enough

11 years agomsp4th: make luFunc() easier to read
Dan White [Mon, 13 May 2013 16:58:43 +0000 (11:58 -0500)]
msp4th: make luFunc() easier to read

11 years agomsp4th: rewrite lookupToken()
Dan White [Mon, 13 May 2013 16:48:55 +0000 (11:48 -0500)]
msp4th: rewrite lookupToken()

Faster execution and saves 68 bytes FTW!

11 years agomsp4th: move schemm stuff to subdir
Dan White [Sun, 12 May 2013 02:59:02 +0000 (21:59 -0500)]
msp4th: move schemm stuff to subdir

11 years agomsp4th: style cleanup
Dan White [Sun, 12 May 2013 02:24:23 +0000 (21:24 -0500)]
msp4th: style cleanup

11 years agoadd notes file
Dan White [Sat, 11 May 2013 05:52:05 +0000 (00:52 -0500)]
add notes file

11 years agomsp4th: cleanup, documentation, fix live re-init
Dan White [Sat, 11 May 2013 05:49:30 +0000 (00:49 -0500)]
msp4th: cleanup, documentation, fix live re-init

11 years agomsp4th: cleanup PC version
Dan White [Sat, 11 May 2013 02:25:52 +0000 (21:25 -0500)]
msp4th: cleanup PC version

11 years agomsp4th: no need to keep pointer to config
Dan White [Sat, 11 May 2013 02:17:25 +0000 (21:17 -0500)]
msp4th: no need to keep pointer to config

11 years agomsp4th: shorten names
Dan White [Sat, 11 May 2013 01:48:44 +0000 (20:48 -0500)]
msp4th: shorten names

11 years agomsp4th: remove unnecessary cast
Dan White [Sat, 11 May 2013 00:52:08 +0000 (19:52 -0500)]
msp4th: remove unnecessary cast

11 years agomsp4th: speedup stack manipulation to *11*
Dan White [Fri, 10 May 2013 23:31:36 +0000 (18:31 -0500)]
msp4th: speedup stack manipulation to *11*

11 years agomsp4th: keep stack start in mem to avoid double-dereference
Dan White [Fri, 10 May 2013 23:30:13 +0000 (18:30 -0500)]
msp4th: keep stack start in mem to avoid double-dereference

11 years agomsp4th: ensure string arrays start as zero-length
Dan White [Fri, 10 May 2013 22:53:05 +0000 (17:53 -0500)]
msp4th: ensure string arrays start as zero-length

11 years agobootcode: interrupts are already disabled out of reset
Dan White [Fri, 10 May 2013 22:48:51 +0000 (17:48 -0500)]
bootcode: interrupts are already disabled out of reset

11 years agobootcode: update to latest version
Dan White [Fri, 10 May 2013 21:30:42 +0000 (16:30 -0500)]
bootcode: update to latest version

11 years agomsp4th: */ now returns a single 16b result
Dan White [Fri, 10 May 2013 21:28:46 +0000 (16:28 -0500)]
msp4th: */ now returns a single 16b result

Also, cleanup unnecessary casts.

11 years agomsp4th: rename exit -> bye, /% replaces / and mod
Dan White [Fri, 10 May 2013 21:27:04 +0000 (16:27 -0500)]
msp4th: rename exit -> bye, /% replaces / and mod

This saves enough space to fit in 4kB ROM.

11 years agomsp4th: config is passed as a struct
Dan White [Fri, 10 May 2013 21:21:33 +0000 (16:21 -0500)]
msp4th: config is passed as a struct

No hard-coded locations for passing config pointers.  This cleans up the linker
script.

11 years agoShow how to add a word to execute at bootup.
Dan White [Thu, 9 May 2013 20:34:35 +0000 (15:34 -0500)]
Show how to add a word to execute at bootup.

11 years agomsp4th: add 'echo' word, cleanup user-defined namespace
Dan White [Thu, 9 May 2013 20:17:33 +0000 (15:17 -0500)]
msp4th: add 'echo' word, cleanup user-defined namespace

Also allow testing of absolute address peek/poke on PC.

11 years agobootcode: update to full-featured msp4th rcf-ini-submit
Dan White [Thu, 9 May 2013 02:50:22 +0000 (21:50 -0500)]
bootcode: update to full-featured msp4th

11 years agomsp4th: add many new functions, rename a few
Dan White [Thu, 9 May 2013 02:49:07 +0000 (21:49 -0500)]
msp4th: add many new functions, rename a few

11 years agomsp4th: add nested loop counters, loop increments/direction, byteswap
Dan White [Thu, 9 May 2013 00:36:53 +0000 (19:36 -0500)]
msp4th: add nested loop counters, loop increments/direction, byteswap

11 years agomsp4th: rename opcodes
Dan White [Wed, 8 May 2013 23:25:03 +0000 (18:25 -0500)]
msp4th: rename opcodes

11 years agomsp4th: no special (redundant) str_t type, cleanup
Dan White [Wed, 8 May 2013 21:21:16 +0000 (16:21 -0500)]
msp4th: no special (redundant) str_t type, cleanup

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