Dan White [Fri, 10 May 2013 21:30:42 +0000 (16:30 -0500)]
bootcode: update to latest version
Dan White [Fri, 10 May 2013 21:28:46 +0000 (16:28 -0500)]
msp4th: */ now returns a single 16b result
Also, cleanup unnecessary casts.
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.
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.
Dan White [Thu, 9 May 2013 20:34:35 +0000 (15:34 -0500)]
Show how to add a word to execute at bootup.
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.
Dan White [Thu, 9 May 2013 02:50:22 +0000 (21:50 -0500)]
bootcode: update to full-featured msp4th
Dan White [Thu, 9 May 2013 02:49:07 +0000 (21:49 -0500)]
msp4th: add many new functions, rename a few
Dan White [Thu, 9 May 2013 00:36:53 +0000 (19:36 -0500)]
msp4th: add nested loop counters, loop increments/direction, byteswap
Dan White [Wed, 8 May 2013 23:25:03 +0000 (18:25 -0500)]
msp4th: rename opcodes
Dan White [Wed, 8 May 2013 21:21:16 +0000 (16:21 -0500)]
msp4th: no special (redundant) str_t type, cleanup
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.
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.
Dan White [Tue, 7 May 2013 18:01:17 +0000 (13:01 -0500)]
Merge branch 'user-defined-allocations'
Dan White [Tue, 7 May 2013 17:59:53 +0000 (12:59 -0500)]
msp4th: snapshot the bootrom RCF file
Dan White [Tue, 7 May 2013 17:59:03 +0000 (12:59 -0500)]
msp4th: update docs
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.
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.
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.
Dan White [Mon, 6 May 2013 16:56:00 +0000 (11:56 -0500)]
msp4th: stacks now use pointers and registers, and macros
Dan White [Mon, 6 May 2013 05:08:44 +0000 (00:08 -0500)]
flash.py: temporarily override interrupt vector table
Dan White [Mon, 6 May 2013 05:08:36 +0000 (00:08 -0500)]
msp4th: cleanup
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.
Dan White [Sun, 5 May 2013 05:22:38 +0000 (00:22 -0500)]
msp4th: flash loader testing
Dan White [Sun, 5 May 2013 02:21:04 +0000 (21:21 -0500)]
ROM code: fixup another call address
Dan White [Fri, 3 May 2013 14:43:49 +0000 (09:43 -0500)]
msp4th: bugfix printNumber() to handle 0x8000 -> -32768
Dan White [Thu, 2 May 2013 20:34:49 +0000 (15:34 -0500)]
msp4th: add script to extract opcode definitions
Dan White [Thu, 2 May 2013 20:09:06 +0000 (15:09 -0500)]
msp4th: properly assign 32 interrupt vectors
Dan White [Thu, 2 May 2013 20:05:47 +0000 (15:05 -0500)]
msp4th: "uniarch" gcc style cpu specs
Dan White [Thu, 2 May 2013 20:04:34 +0000 (15:04 -0500)]
msp4th: opcode stack comments, use hw multiplier
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
Dan White [Thu, 2 May 2013 16:54:52 +0000 (11:54 -0500)]
msp4th: allow case-insensitive hex digits
Dan White [Thu, 2 May 2013 16:53:49 +0000 (11:53 -0500)]
msp4th: speedup pop/pushMathStack
Dan White [Wed, 1 May 2013 23:21:24 +0000 (18:21 -0500)]
add note why flash is woken up early
Dan White [Tue, 30 Apr 2013 18:40:19 +0000 (13:40 -0500)]
boot: directly inject bootloader asm, no functions
Dan White [Mon, 29 Apr 2013 19:12:06 +0000 (14:12 -0500)]
update asm include system to GCC syntax
Dan White [Mon, 29 Apr 2013 18:47:17 +0000 (13:47 -0500)]
Merge branch 'msp4th-fixup'
Dan White [Mon, 29 Apr 2013 18:41:45 +0000 (13:41 -0500)]
add generated RCF file for ROM
Dan White [Mon, 29 Apr 2013 18:41:26 +0000 (13:41 -0500)]
add RCF generator for ROM fix
Dan White [Mon, 29 Apr 2013 18:30:27 +0000 (13:30 -0500)]
oops, wrong address, fixup
Dan White [Thu, 25 Apr 2013 21:02:03 +0000 (16:02 -0500)]
two bugfixes directly to dis-assembled, annotated ROM
Dan White [Thu, 25 Apr 2013 20:20:15 +0000 (15:20 -0500)]
copy to do direct boot ROM bugfixes
Dan White [Tue, 23 Apr 2013 21:12:41 +0000 (16:12 -0500)]
use assembly for bootloader, start cleaning up Schemm version
Dan White [Tue, 23 Apr 2013 17:38:54 +0000 (12:38 -0500)]
start asm version of flash loader
Dan White [Sun, 21 Apr 2013 02:18:28 +0000 (21:18 -0500)]
start flash loader code
Dan White [Sat, 20 Apr 2013 05:40:55 +0000 (00:40 -0500)]
cleanup better
Dan White [Sat, 20 Apr 2013 05:40:07 +0000 (00:40 -0500)]
add SPI header
Dan White [Sat, 20 Apr 2013 05:39:40 +0000 (00:39 -0500)]
better uart namespace
Dan White [Sat, 20 Apr 2013 05:38:55 +0000 (00:38 -0500)]
msp4th: ignore comments
Dan White [Fri, 19 Apr 2013 23:03:12 +0000 (18:03 -0500)]
remove unneeded volatile specs, cleanup
Dan White [Fri, 19 Apr 2013 22:48:46 +0000 (17:48 -0500)]
do not track compile dependency files
Dan White [Fri, 19 Apr 2013 22:22:16 +0000 (17:22 -0500)]
remove static qualifier
Dan White [Fri, 19 Apr 2013 21:24:54 +0000 (16:24 -0500)]
FIX: correct ldscript, cleanup
Dan White [Sat, 13 Apr 2013 17:52:42 +0000 (12:52 -0500)]
add generated files for reference
Dan White [Sat, 13 Apr 2013 17:51:38 +0000 (12:51 -0500)]
fixup msp4th on PC testing
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
Dan White [Sat, 13 Apr 2013 17:42:33 +0000 (12:42 -0500)]
memory testing start
Dan White [Fri, 12 Apr 2013 22:54:16 +0000 (17:54 -0500)]
ns430: setup for ubuntu 12.04 mspgcc version
Dan White [Mon, 8 Apr 2013 19:03:31 +0000 (14:03 -0500)]
harmonics w/ sin inputs
Dan White [Mon, 8 Apr 2013 18:04:19 +0000 (13:04 -0500)]
sine integration start with chip 14 arb0
Dan White [Sun, 7 Apr 2013 04:50:03 +0000 (23:50 -0500)]
chip 14 gm testing
Dan White [Fri, 5 Apr 2013 20:04:26 +0000 (15:04 -0500)]
save chip14 tests
Dan White [Fri, 5 Apr 2013 03:52:41 +0000 (22:52 -0500)]
plots for arb0 testing
Dan White [Fri, 5 Apr 2013 00:06:26 +0000 (19:06 -0500)]
WIP reproduce arb0 setup
Dan White [Thu, 4 Apr 2013 20:41:18 +0000 (15:41 -0500)]
arb0 works!!!
Dan White [Thu, 4 Apr 2013 18:14:08 +0000 (13:14 -0500)]
add chip calibrations for 13, 14
Dan White [Thu, 28 Mar 2013 19:39:26 +0000 (14:39 -0500)]
testing arb0 channel DC integration
Dan White [Thu, 28 Mar 2013 17:10:52 +0000 (12:10 -0500)]
fixup
Dan White [Mon, 25 Mar 2013 18:16:38 +0000 (13:16 -0500)]
save footprints sent to Markus
Dan White [Mon, 25 Mar 2013 18:14:30 +0000 (13:14 -0500)]
add pdf of power switch sch
Dan White [Sat, 23 Mar 2013 04:09:59 +0000 (23:09 -0500)]
bugfix
Dan White [Fri, 1 Mar 2013 16:11:06 +0000 (10:11 -0600)]
EWU research slide generation
Dan White [Tue, 12 Feb 2013 15:30:04 +0000 (09:30 -0600)]
add temp testing script
Dan White [Wed, 28 Nov 2012 19:55:46 +0000 (13:55 -0600)]
Set new attribute on instance not class
Dan White [Tue, 6 Nov 2012 20:56:25 +0000 (14:56 -0600)]
wip
Dan White [Tue, 6 Nov 2012 17:21:07 +0000 (11:21 -0600)]
wip
Dan White [Fri, 2 Nov 2012 23:41:03 +0000 (18:41 -0500)]
Properly close ports with provided interface
Dan White [Fri, 2 Nov 2012 23:39:58 +0000 (18:39 -0500)]
Add a .close() method to port interfaces
Dan White [Fri, 2 Nov 2012 23:39:09 +0000 (18:39 -0500)]
Properly raise exceptions
Dan White [Fri, 2 Nov 2012 23:38:07 +0000 (18:38 -0500)]
Store local ftdi module ref in I2C
Dan White [Fri, 2 Nov 2012 22:19:54 +0000 (17:19 -0500)]
Update py modules
Dan White [Fri, 2 Nov 2012 22:17:06 +0000 (17:17 -0500)]
Add power switch sch for documentation
Dan White [Mon, 29 Oct 2012 19:09:16 +0000 (14:09 -0500)]
Ensure or warn about kernel USB autosuspend
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.
Dan White [Sat, 27 Oct 2012 03:17:20 +0000 (22:17 -0500)]
Add and update calibration
Dan White [Thu, 25 Oct 2012 23:03:32 +0000 (18:03 -0500)]
fix filename construction
Dan White [Mon, 22 Oct 2012 18:50:42 +0000 (13:50 -0500)]
Add baseline chip calibrations
Dan White [Thu, 18 Oct 2012 18:04:26 +0000 (13:04 -0500)]
To a global config instance
Dan White [Wed, 17 Oct 2012 21:03:53 +0000 (16:03 -0500)]
devboard is now a module, act accordingly
Dan White [Wed, 17 Oct 2012 18:24:49 +0000 (13:24 -0500)]
Bare default settings
Dan White [Wed, 17 Oct 2012 18:24:28 +0000 (13:24 -0500)]
Initialize ADC properly
Dan White [Wed, 17 Oct 2012 05:01:48 +0000 (00:01 -0500)]
yaml dump likes lists instead of tuples
Dan White [Wed, 17 Oct 2012 05:00:17 +0000 (00:00 -0500)]
bugfix: save dac config
Dan White [Wed, 17 Oct 2012 04:54:13 +0000 (23:54 -0500)]
Cull extra parameters not used in __init__
Dan White [Tue, 16 Oct 2012 21:05:28 +0000 (16:05 -0500)]
WIP fixups to make work
Dan White [Tue, 16 Oct 2012 20:32:13 +0000 (15:32 -0500)]
Cleanup devboard.py, ready to test live
Dan White [Tue, 16 Oct 2012 20:19:21 +0000 (15:19 -0500)]
Devboard module to handle everything hardware-specific
Dan White [Tue, 16 Oct 2012 20:18:33 +0000 (15:18 -0500)]
Change name to _config(), add remaining
Dan White [Tue, 16 Oct 2012 05:50:36 +0000 (00:50 -0500)]
Fixup changes
Dan White [Tue, 16 Oct 2012 05:21:18 +0000 (00:21 -0500)]
non-null