anelok:anelok.git
3 years agohw/NOTES: overview of board design drafts puppet
Werner Almesberger [Fri, 30 May 2014 13:30:06 +0000 (10:30 -0300)]
hw/NOTES: overview of board design drafts

3 years agome/STACKING.PUPPET: mechanical stacking for the "puppet" design
Werner Almesberger [Wed, 21 May 2014 13:32:46 +0000 (10:32 -0300)]
me/STACKING.PUPPET: mechanical stacking for the "puppet" design

3 years agohw/: move CARD_SW from MCU to RF
Werner Almesberger [Sun, 18 May 2014 04:06:55 +0000 (01:06 -0300)]
hw/: move CARD_SW from MCU to RF

Should be much closer.

3 years agohw/NOTES: mechanical parameters
Werner Almesberger [Wed, 14 May 2014 03:21:31 +0000 (00:21 -0300)]
hw/NOTES: mechanical parameters

3 years agome/case.fpd: rough outline of the new case (in progress)
Werner Almesberger [Wed, 14 May 2014 03:20:58 +0000 (00:20 -0300)]
me/case.fpd: rough outline of the new case (in progress)

3 years agohw/anelok.kicad_pcb: started new layout (in progress)
Werner Almesberger [Wed, 14 May 2014 03:15:17 +0000 (00:15 -0300)]
hw/anelok.kicad_pcb: started new layout (in progress)

3 years agohw/anelok.cmp: change FETs from SOT-323 to SOT-523
Werner Almesberger [Tue, 13 May 2014 14:08:05 +0000 (11:08 -0300)]
hw/anelok.cmp: change FETs from SOT-323 to SOT-523

3 years agohw/anelok.cmp: footprint associations
Werner Almesberger [Tue, 13 May 2014 13:46:36 +0000 (10:46 -0300)]
hw/anelok.cmp: footprint associations

Also merged some parts that had different footprints for the same
characteristics.

3 years agohw/: order sheets in anelok.sch according to appearance; re-annotate everything
Werner Almesberger [Tue, 13 May 2014 13:29:28 +0000 (10:29 -0300)]
hw/: order sheets in anelok.sch according to appearance; re-annotate everything

3 years agohw/: tentative replacement of KL2x in 48-QFN with 32-QFN
Werner Almesberger [Tue, 13 May 2014 07:45:39 +0000 (04:45 -0300)]
hw/: tentative replacement of KL2x in 48-QFN with 32-QFN

Several low-speed signals move to the RF SoC.

3 years agofw/: fix minor issues detected by ERC
Werner Almesberger [Tue, 13 May 2014 06:54:28 +0000 (03:54 -0300)]
fw/: fix minor issues detected by ERC

3 years agohw/user.sch: rename to disp.sch ("Display")
Werner Almesberger [Tue, 13 May 2014 06:51:09 +0000 (03:51 -0300)]
hw/user.sch: rename to disp.sch ("Display")

3 years agohw/: move capacitive sensor and battery holder to sub-board
Werner Almesberger [Tue, 13 May 2014 06:48:45 +0000 (03:48 -0300)]
hw/: move capacitive sensor and battery holder to sub-board

3 years agohw/anelok.pro (modules): remove switches; change battery to holder; add pads-array
Werner Almesberger [Tue, 13 May 2014 06:28:19 +0000 (03:28 -0300)]
hw/anelok.pro (modules): remove switches; change battery to holder; add pads-array

3 years agohw/anelok.pro: remove no longer needed device_sot.lib
Werner Almesberger [Tue, 13 May 2014 06:16:00 +0000 (03:16 -0300)]
hw/anelok.pro: remove no longer needed device_sot.lib

3 years agohw/: rearrange test points (TP12 to 3V3; TP3 on VBUS; TP5 on DISP_VDD)
Werner Almesberger [Tue, 13 May 2014 06:11:38 +0000 (03:11 -0300)]
hw/: rearrange test points (TP12 to 3V3; TP3 on VBUS; TP5 on DISP_VDD)

3 years agohw/power.sch: make CON4 an LP2032SM; show If of D2; small visual improvements
Werner Almesberger [Tue, 13 May 2014 05:51:11 +0000 (02:51 -0300)]
hw/power.sch: make CON4 an LP2032SM; show If of D2; small visual improvements

3 years agohw/power.sch: add diode to prevent battery -> VUSB drainage
Werner Almesberger [Mon, 12 May 2014 21:41:14 +0000 (18:41 -0300)]
hw/power.sch: add diode to prevent battery -> VUSB drainage

3 years agoTODO: conducted experiment showing that current can flow out of VREGIN
Werner Almesberger [Mon, 12 May 2014 21:03:48 +0000 (18:03 -0300)]
TODO: conducted experiment showing that current can flow out of VREGIN

We therefore need a diode there.

3 years agoBOOKSHELF: add n-FET in SOT-323, add SOT-523 FETs, add SOT-563 FET pairs
Werner Almesberger [Mon, 12 May 2014 19:51:11 +0000 (16:51 -0300)]
BOOKSHELF: add n-FET in SOT-323, add SOT-523 FETs, add SOT-563 FET pairs

The FET pairs is what we want in the end, but the single FETs is what
I have at the moment.

3 years agodoc/fets.fig: equivalent FET circuit topologies (for single/dual FETs)
Werner Almesberger [Mon, 12 May 2014 15:12:39 +0000 (12:12 -0300)]
doc/fets.fig: equivalent FET circuit topologies (for single/dual FETs)

3 years agohw/: KiCAD's internal reshuffling of things
Werner Almesberger [Mon, 12 May 2014 09:37:07 +0000 (06:37 -0300)]
hw/: KiCAD's internal reshuffling of things

(Should not cause any real changes in the schematics, but let's err on
the safe side and commit it anyway.)

3 years agohw/user.sch: add "POWERED" flag to DISP_VDD
Werner Almesberger [Mon, 12 May 2014 09:24:58 +0000 (06:24 -0300)]
hw/user.sch: add "POWERED" flag to DISP_VDD

3 years agohw/memcard.sch (CON3, R3): document possible configurations for memory card holder
Werner Almesberger [Mon, 12 May 2014 09:21:08 +0000 (06:21 -0300)]
hw/memcard.sch (CON3, R3): document possible configurations for memory card holder

3 years agohw/power.sch (U3): add options for AAT1217-3.3, AAT1217-1.2, and TLV61220
Werner Almesberger [Mon, 12 May 2014 08:56:37 +0000 (05:56 -0300)]
hw/power.sch (U3): add options for AAT1217-3.3, AAT1217-1.2, and TLV61220

3 years agohw/power.sch: add TVS at battery
Werner Almesberger [Sun, 11 May 2014 19:25:29 +0000 (16:25 -0300)]
hw/power.sch: add TVS at battery

3 years agohw/anelok.sch (U1): swap DISP_SCLK (PTD6) and CARD_DAT2 (PTD5)
Werner Almesberger [Sun, 11 May 2014 19:22:37 +0000 (16:22 -0300)]
hw/anelok.sch (U1): swap DISP_SCLK (PTD6) and CARD_DAT2 (PTD5)

It's PTD5 and not PTD6 that connects to SPI1_SCK.

3 years agohw/: add FET pair to switch OLED power
Werner Almesberger [Sun, 11 May 2014 19:17:06 +0000 (16:17 -0300)]
hw/: add FET pair to switch OLED power

3 years agohw/anelok.sch (TP4 .. TP8): remove all TPs for "extensions"
Werner Almesberger [Sun, 11 May 2014 19:15:47 +0000 (16:15 -0300)]
hw/anelok.sch (TP4 .. TP8): remove all TPs for "extensions"

3 years agohw/power.sch (Q1): use p-FET, not n-FET
Werner Almesberger [Sun, 11 May 2014 18:58:04 +0000 (15:58 -0300)]
hw/power.sch (Q1): use p-FET, not n-FET

3 years agohw/: add USB_nSENSE signal to detect presence of VBUS
Werner Almesberger [Sun, 11 May 2014 18:11:04 +0000 (15:11 -0300)]
hw/: add USB_nSENSE signal to detect presence of VBUS

3 years agoTODO: move or remove obsolete items
Werner Almesberger [Sun, 11 May 2014 12:02:03 +0000 (09:02 -0300)]
TODO: move or remove obsolete items

Wheel-related problems are kept for now, since we first have to confirm
use of the slider before we can definitely get rid of the wheel.

3 years agohw/user.sch: add 0R resistors to capacitive sensor, as placeholders for beads
Werner Almesberger [Sat, 10 May 2014 19:46:16 +0000 (16:46 -0300)]
hw/user.sch: add 0R resistors to capacitive sensor, as placeholders for beads

3 years agoBOOKSHELF, doc/comp/xtal.txt: add crystal selection and data sheets
Werner Almesberger [Sat, 10 May 2014 18:48:12 +0000 (15:48 -0300)]
BOOKSHELF, doc/comp/xtal.txt: add crystal selection and data sheets

3 years agofw/: add n-FET to drive memcard p-FET Q2, to ensure we can control Q2 even if Vsys...
Werner Almesberger [Sat, 10 May 2014 16:05:04 +0000 (13:05 -0300)]
fw/: add n-FET to drive memcard p-FET Q2, to ensure we can control Q2 even if Vsys is low

3 years agohw/anelok.sch: more RF_DD from PTC0 to PTA19, location of former RF_IRQ
Werner Almesberger [Sat, 10 May 2014 15:38:31 +0000 (12:38 -0300)]
hw/anelok.sch: more RF_DD from PTC0 to PTA19, location of former RF_IRQ

This makes the design compatible with KL25, since RF_DD is used as
interrupt source port C pins are not interrupt-capable on KL25.

3 years agohw/: replace wheel with capacitive sensor
Werner Almesberger [Fri, 9 May 2014 20:52:14 +0000 (17:52 -0300)]
hw/: replace wheel with capacitive sensor

3 years agohw/anelok.sch: make memcard sub-sheet symbol match others in size and location
Werner Almesberger [Fri, 9 May 2014 20:43:58 +0000 (17:43 -0300)]
hw/anelok.sch: make memcard sub-sheet symbol match others in size and location

3 years agohw/: resolve a few minor ERC complaints
Werner Almesberger [Fri, 9 May 2014 20:41:14 +0000 (17:41 -0300)]
hw/: resolve a few minor ERC complaints

3 years agohw/: replace AT86RF232 with CC2543 (circuit from Y-Box)
Werner Almesberger [Fri, 9 May 2014 20:33:31 +0000 (17:33 -0300)]
hw/: replace AT86RF232 with CC2543 (circuit from Y-Box)

3 years agohw/anelok.sch (R10, R11): add 33 Ohm series resistors to USB D+/D-
Werner Almesberger [Fri, 9 May 2014 16:03:54 +0000 (13:03 -0300)]
hw/anelok.sch (R10, R11): add 33 Ohm series resistors to USB D+/D-

Recommended by Kinetis L Quick Reference.

3 years agohw/ (Q1): remove dodgy reverse current protection; merge VBAT, VSYS; add USB cut-off
Werner Almesberger [Fri, 9 May 2014 15:59:21 +0000 (12:59 -0300)]
hw/ (Q1): remove dodgy reverse current protection; merge VBAT, VSYS; add USB cut-off

3 years agohw/power.sch (R9, SW2): remove "current throttle"
Werner Almesberger [Fri, 9 May 2014 15:26:02 +0000 (12:26 -0300)]
hw/power.sch (R9, SW2): remove "current throttle"

3 years agohw/anelok.sch (U1): switch from MKL25Z128VFT4 to MKL26Z128VFT4
Werner Almesberger [Fri, 9 May 2014 15:13:35 +0000 (12:13 -0300)]
hw/anelok.sch (U1): switch from MKL25Z128VFT4 to MKL26Z128VFT4

As far as Anelok is concerned, they're functionally equivalent. The
KL26 is just a little bit newer.

3 years agohw/: copy to hw-brd0/
Werner Almesberger [Fri, 9 May 2014 14:39:33 +0000 (11:39 -0300)]
hw/: copy to hw-brd0/

Since the next version will be very different from the first version, we
keep the old one in parallel, for reference.

3 years agoBOOKSHELF (AN3863, touch): "Designing Touch Sensing Electrodes"
Werner Almesberger [Fri, 9 May 2014 14:30:42 +0000 (11:30 -0300)]
BOOKSHELF (AN3863, touch): "Designing Touch Sensing Electrodes"

3 years agodoc/evol-hw.fig: show transition from KL25 to KL26
Werner Almesberger [Sun, 27 Apr 2014 05:01:17 +0000 (02:01 -0300)]
doc/evol-hw.fig: show transition from KL25 to KL26

3 years agodoc/evol-hw.fig: add durability to slider benefits
Werner Almesberger [Sat, 26 Apr 2014 15:31:01 +0000 (12:31 -0300)]
doc/evol-hw.fig: add durability to slider benefits

3 years agodoc/evol-hw.fig: s/nRF51882/nRF51822/
Werner Almesberger [Wed, 23 Apr 2014 09:39:18 +0000 (06:39 -0300)]
doc/evol-hw.fig: s/nRF51882/nRF51822/

3 years agodoc/evol-hw.fig: Anelok hardware design evolution (and status)
Werner Almesberger [Wed, 23 Apr 2014 09:07:40 +0000 (06:07 -0300)]
doc/evol-hw.fig: Anelok hardware design evolution (and status)

3 years agoAUTHORS: regenerated
Werner Almesberger [Tue, 22 Apr 2014 22:18:06 +0000 (19:18 -0300)]
AUTHORS: regenerated

3 years agoINSTALL: reduce indentation; add shell prompts; slight reformatting and rewording
Werner Almesberger [Tue, 22 Apr 2014 22:17:04 +0000 (19:17 -0300)]
INSTALL: reduce indentation; add shell prompts; slight reformatting and rewording

3 years agoINSTALL: clean up and streamline instructions
Werner Almesberger [Tue, 22 Apr 2014 22:07:09 +0000 (19:07 -0300)]
INSTALL: clean up and streamline instructions

- use a short "generic" directory
- use make -C wherever possible
- fix some terminology
- add build instructions of ybox
- add installation of fped binary

3 years agoBOOKSHELF (AN4023 aka stm32sfu): update URL
Werner Almesberger [Tue, 22 Apr 2014 21:57:39 +0000 (18:57 -0300)]
BOOKSHELF (AN4023 aka stm32sfu): update URL

Direct access no longer works for this file, though the others are okay.

3 years agoBOOKSHELF (LTST-C190KRKT aka led): update URL (again !)
Werner Almesberger [Tue, 22 Apr 2014 21:51:47 +0000 (18:51 -0300)]
BOOKSHELF (LTST-C190KRKT aka led): update URL (again !)

3 years agoINSTALL: change point 4 from editing Makefiles to changing PATH or adding symlinks
Werner Almesberger [Tue, 22 Apr 2014 21:23:25 +0000 (18:23 -0300)]
INSTALL: change point 4 from editing Makefiles to changing PATH or adding symlinks

3 years agoINSTALL: add anelok/ybox to list of repos we need
Werner Almesberger [Tue, 22 Apr 2014 21:22:33 +0000 (18:22 -0300)]
INSTALL: add anelok/ybox to list of repos we need

3 years agofw/usb/kinetis-dev.c (usb_end_device): disable the pull-up
Werner Almesberger [Fri, 28 Mar 2014 23:11:37 +0000 (20:11 -0300)]
fw/usb/kinetis-dev.c (usb_end_device): disable the pull-up

This signals to the host that we've disconnected.

3 years agofw/: make clock.c track SIM_SOPT2_PLLFLLSEL_MASK
Werner Almesberger [Fri, 28 Mar 2014 17:31:24 +0000 (14:31 -0300)]
fw/: make clock.c track SIM_SOPT2_PLLFLLSEL_MASK

3 years agofw/: enable external clock before calling clock.c functions, not in them
Werner Almesberger [Fri, 28 Mar 2014 14:58:42 +0000 (11:58 -0300)]
fw/: enable external clock before calling clock.c functions, not in them

3 years agofw/Makefile: add klflash
Werner Almesberger [Wed, 26 Mar 2014 03:12:38 +0000 (00:12 -0300)]
fw/Makefile: add klflash

3 years agoTODO: check if VOUT33 (VSYS/VBAT) -> VREGIN (VUSB) current path exists
Werner Almesberger [Tue, 25 Mar 2014 17:41:58 +0000 (14:41 -0300)]
TODO: check if VOUT33 (VSYS/VBAT) -> VREGIN (VUSB) current path exists

3 years agoTODO: fix VSYS/VBAT (they're really the same) and add FET to cut battery if on USB...
Werner Almesberger [Tue, 25 Mar 2014 17:34:33 +0000 (14:34 -0300)]
TODO: fix VSYS/VBAT (they're really the same) and add FET to cut battery if on USB power

3 years agofw/misc.h (udelay): new delay function; also clean up MDELAY_* constants
Werner Almesberger [Mon, 24 Mar 2014 23:01:24 +0000 (20:01 -0300)]
fw/misc.h (udelay): new delay function; also clean up MDELAY_* constants

Note: this is an estimate - didn't measure the actual delay udelay produces.

3 years agolibswd/ben.c: add kl_dump_flash and use for dumping all 128 kB of Flash
Werner Almesberger [Sun, 23 Mar 2014 13:12:24 +0000 (10:12 -0300)]
libswd/ben.c: add kl_dump_flash and use for dumping all 128 kB of Flash

3 years agofw/ (usb_enumerated): track enumeration
Werner Almesberger [Sat, 22 Mar 2014 21:58:11 +0000 (18:58 -0300)]
fw/ (usb_enumerated): track enumeration

3 years agofw/usb-board.h (usb_end_device, usb_end_host): add prototypes
Werner Almesberger [Sat, 22 Mar 2014 10:50:55 +0000 (07:50 -0300)]
fw/usb-board.h (usb_end_device, usb_end_host): add prototypes

3 years agofw/usb/kinetis-dev.c (ep_rx): move callback to before sending the status packet
Werner Almesberger [Sat, 22 Mar 2014 03:48:47 +0000 (00:48 -0300)]
fw/usb/kinetis-dev.c (ep_rx): move callback to before sending the status packet

3 years agofw/usb/kinetis-dev.c (ep_rx): send IN of status phase with size 0, not 8
Werner Almesberger [Sat, 22 Mar 2014 02:52:15 +0000 (23:52 -0300)]
fw/usb/kinetis-dev.c (ep_rx): send IN of status phase with size 0, not 8

3 years agofw/main.c (dfu_mode): only update console on button press
Werner Almesberger [Sat, 22 Mar 2014 02:46:51 +0000 (23:46 -0300)]
fw/main.c (dfu_mode): only update console on button press

This way we don't risk timeouts due to excessive delays within USB transfers.

3 years agofw/: make Anelok run DFU (at least for now, to debug the stack)
Werner Almesberger [Sat, 22 Mar 2014 01:24:11 +0000 (22:24 -0300)]
fw/: make Anelok run DFU (at least for now, to debug the stack)

3 years agofw/usb/usb/kinetis-dev.c (submit_ep_buffer): split into tx/rx part; correct size...
Werner Almesberger [Fri, 14 Mar 2014 22:48:52 +0000 (19:48 -0300)]
fw/usb/usb/kinetis-dev.c (submit_ep_buffer): split into tx/rx part; correct size count on rx

3 years agodoc/spi/spi.tex: emphasize that master must strictly follow nREQ - nSEL sequence
Werner Almesberger [Fri, 14 Mar 2014 22:40:23 +0000 (19:40 -0300)]
doc/spi/spi.tex: emphasize that master must strictly follow nREQ - nSEL sequence

3 years agofw/Makefile (flash, frdm): make Ben-based libswd default; target "frdm" for old process
Werner Almesberger [Fri, 14 Mar 2014 14:59:02 +0000 (11:59 -0300)]
fw/Makefile (flash, frdm): make Ben-based libswd default; target "frdm" for old process

3 years agodoc/spi/: rename {master,slave}.fig to {master,slave}-init.fig
Werner Almesberger [Fri, 7 Mar 2014 12:12:10 +0000 (09:12 -0300)]
doc/spi/: rename {master,slave}.fig to {master,slave}-init.fig

3 years agodoc/spi/master.fig, slave.fig: clarify that time of nSEL rising doesn't matter
Werner Almesberger [Fri, 7 Mar 2014 11:53:06 +0000 (08:53 -0300)]
doc/spi/fig, slave.fig: clarify that time of nSEL rising doesn't matter

3 years agodoc/spi/: Anelok inter-SoC protocol description (WIP)
Werner Almesberger [Sat, 1 Mar 2014 00:22:50 +0000 (21:22 -0300)]
doc/spi/: Anelok inter-SoC protocol description (WIP)

3 years agolibswd/ccdbg.c (ccdbg_flash_block): split blocks according to RAM size
Werner Almesberger [Tue, 25 Feb 2014 15:16:31 +0000 (12:16 -0300)]
libswd/ccdbg.c (ccdbg_flash_block): split blocks according to RAM size

3 years agolibswd/ben.c: new option -c for CC2543 flash dump/write
Werner Almesberger [Mon, 24 Feb 2014 23:25:57 +0000 (20:25 -0300)]
libswd/ben.c: new option -c for CC2543 flash dump/write

3 years agolibswd/ccdbg.h (ccdbg_flash_block): add prototype
Werner Almesberger [Mon, 24 Feb 2014 23:25:15 +0000 (20:25 -0300)]
libswd/ccdbg.h (ccdbg_flash_block): add prototype

3 years agokibswd/ccdbg.c (ccdbg_flash_block): enable DMA and timers in debug mode
Werner Almesberger [Thu, 20 Feb 2014 21:10:43 +0000 (18:10 -0300)]
kibswd/ccdbg.c (ccdbg_flash_block): enable DMA and timers in debug mode

Else we couldn't get a clock output for the master MCU ...

3 years agolibswd/: (ccdbg) add partial support for CC2543 flashing (completely untested)
Werner Almesberger [Thu, 20 Feb 2014 09:34:50 +0000 (06:34 -0300)]
libswd/: (ccdbg) add partial support for CC2543 flashing (completely untested)

3 years agolibswd/ccdbg.c (ccdbg_open): return 0 if chip has unknown ID
Werner Almesberger [Wed, 19 Feb 2014 03:14:54 +0000 (00:14 -0300)]
libswd/ccdbg.c (ccdbg_open): return 0 if chip has unknown ID

3 years agolibswd/ben.c: pulse KL26 reset on swd -r
Werner Almesberger [Wed, 19 Feb 2014 03:12:58 +0000 (00:12 -0300)]
libswd/ben.c: pulse KL26 reset on swd -r

3 years agolibswd/: (ccdbg) check printf arguments; fix __VA_ARGS__ use in ccdbg_report
Werner Almesberger [Mon, 17 Feb 2014 18:24:20 +0000 (15:24 -0300)]
libswd/: (ccdbg) check printf arguments; fix __VA_ARGS__ use in ccdbg_report

3 years agolibswd/ben.c: new option -r (run) to power and reset the Y-Box
Werner Almesberger [Mon, 17 Feb 2014 03:45:23 +0000 (00:45 -0300)]
libswd/ben.c: new option -r (run) to power and reset the Y-Box

3 years agofw/board.h: move to fw/board/ to allow code reuse
Werner Almesberger [Mon, 17 Feb 2014 03:37:55 +0000 (00:37 -0300)]
fw/board.h: move to fw/board/ to allow code reuse

If we keep it in anelok/fw/, .c files accessed through vpath will search in
anelok/fw/ first, finding Anelok's board.h. With board/, we simply don't
include that directory in the search path.

3 years agolibswd/: in ccdbg, abstract fprintf to platform function
Werner Almesberger [Sun, 16 Feb 2014 23:42:56 +0000 (20:42 -0300)]
libswd/: in ccdbg, abstract fprintf to platform function

3 years agofw/usb/: don't multiplex host and device functions
Werner Almesberger [Sun, 16 Feb 2014 23:09:24 +0000 (20:09 -0300)]
fw/usb/: don't multiplex host and device functions

... so that we can build for one only. E.g., Y-Box is only device, never host.

3 years agofw/usb/kinetis-common.h (DEBUG): don't set unconditionally
Werner Almesberger [Sun, 16 Feb 2014 23:03:58 +0000 (20:03 -0300)]
fw/usb/kinetis-common.h (DEBUG): don't set unconditionally

E.g., the Y-Box doesn't even have a console.

3 years agofw/Makefile: fix title comment (this is Anelok, not Antorcha)
Werner Almesberger [Fri, 14 Feb 2014 03:36:53 +0000 (00:36 -0300)]
fw/Makefile: fix title comment (this is Anelok, not Antorcha)

Antorcha is the project from which the Makefile originated ...

3 years agolibswd/TODO: to do list
Werner Almesberger [Fri, 14 Feb 2014 03:30:42 +0000 (00:30 -0300)]
libswd/TODO: to do list

3 years agolibswd/: improve AP and SoC identification
Werner Almesberger [Fri, 14 Feb 2014 03:17:40 +0000 (00:17 -0300)]
libswd/: improve AP and SoC identification

3 years agolibswd/: add flashing progress bar; trim diagnostics; minor code cleanup
Werner Almesberger [Fri, 14 Feb 2014 02:13:14 +0000 (23:13 -0300)]
libswd/: add flashing progress bar; trim diagnostics; minor code cleanup

3 years agolibswd/libswd.c: enable SWD overrun detection and clear sticky SWD error flags
Werner Almesberger [Fri, 14 Feb 2014 01:31:17 +0000 (22:31 -0300)]
libswd/libswd.c: enable SWD overrun detection and clear sticky SWD error flags

3 years agolibswd/: add Flash programming for KL2x (unreliable and ugly; WIP)
Werner Almesberger [Fri, 14 Feb 2014 01:08:18 +0000 (22:08 -0300)]
libswd/: add Flash programming for KL2x (unreliable and ugly; WIP)

We seem to end up with bad values in FCCOBx every once in a while,
which in turn produce access errors. May be SWD overrun.

3 years agolibswd/: add debugging protocol of CCxxxx chips; implement Y-Box LED blinking demo
Werner Almesberger [Wed, 12 Feb 2014 10:20:19 +0000 (07:20 -0300)]
libswd/: add debugging protocol of CCxxxx chips; implement Y-Box LED blinking demo

3 years agolibswd/ben.c: blink the LED of the Y-Box
Werner Almesberger [Wed, 12 Feb 2014 07:03:19 +0000 (04:03 -0300)]
libswd/ben.c: blink the LED of the Y-Box

3 years agolibswd/libswd.c: add libswd_read/libswd_write target access functions
Werner Almesberger [Wed, 12 Feb 2014 07:02:22 +0000 (04:02 -0300)]
libswd/libswd.c: add libswd_read/libswd_write target access functions

3 years agolibswd/libswd.c: release external reset only after asserting internal reset; further...
Werner Almesberger [Mon, 10 Feb 2014 05:13:02 +0000 (02:13 -0300)]
libswd/libswd.c: release external reset only after asserting internal reset; further reduce debug output