Triss
e92a7c1b94
also fix USB speed class stuff because uuurgh
2022-07-24 01:41:17 +02:00
Triss
c7ec7a1752
hardware flow control(?)
2022-07-08 04:07:38 +02:00
Triss
06b218e4f1
update for pico sdk 1.3.0
2021-11-11 17:57:38 +01:00
Triss
e546d75dbd
cmsis-dap bulk: fix hosted BMP hang
2021-10-31 16:26:23 +01:00
Triss
cbe307f1c1
remove silly message buffering that doesnt seem to work nor seems to be required in the end
2021-10-31 01:41:26 +02:00
Triss
9892383e1f
experimental CMSIS-DAP USB bulk interface
2021-10-24 16:39:52 +02:00
Triss
e81ab81edb
silly fixes
2021-10-07 01:18:47 +02:00
Triss
2e85d85de3
fix silly bugs
2021-10-05 23:23:37 +02:00
Triss
8eb1995361
oops
2021-10-05 20:08:55 +02:00
Triss
b51e47810f
stuff
2021-10-05 18:41:25 +02:00
Triss
e92afbcc06
start of ISP mode (mode2), MehFET SBW impl
2021-10-05 16:47:34 +02:00
Triss
9fbeb421dd
CMSIS-DAP UART: add non-USBCDC transport stuff
2021-09-21 00:22:02 +02:00
Triss
1b35f7f63c
support magic reset-to-bootloader command issued from picotool
2021-08-26 01:21:39 +02:00
Triss
7010cd8f85
new subclass,protocol IDs for vendor itf
2021-08-18 00:15:34 +02:00
Triss
6c970432fe
rebrand (we have finally found a non-temporary name)
2021-08-17 23:42:57 +02:00
Triss
c21a9ec431
clean up switch to bootloader so that it doesn't cause unexpected USB disconnects
2021-08-08 18:38:44 +02:00
Triss
3143c2d065
SWO support for CMSIS-DAP on the pico (untested as i dont have SWO-capable hardware afaik)
2021-08-08 18:10:44 +02:00
xenia
1e0b016c0a
make "set mode 0" mean reset to bootloader
2021-08-08 16:45:53 +02:00
Triss
071a67b39c
clean up a bit
2021-08-02 01:05:07 +02:00
Triss
19c317f305
hell yeah it works now!
2021-08-02 00:03:30 +02:00
Triss
678709eb1f
ugh, still not working. im seeing activity using my dmm so idk what exactly is wrong
2021-08-01 23:09:00 +02:00
Triss
93cc1dd13c
fixes so that it runs ,but it doesn't seem to work with my test target (msp432 devboard)
2021-08-01 05:22:33 +02:00
Triss
15d73015e0
mode 3 (jtag etc pinout scan): firmware side of things
2021-08-01 04:18:29 +02:00
Triss
0627724e23
implement a few extra usb commands
2021-07-24 02:36:05 +02:00
Triss
d6f7bab1b2
proper line coding & baudrate setting thru usb-cdc interface
2021-07-21 19:59:59 +02:00
Triss
eefe8c0cd3
add missing header file, set usb name back to something with 'CMSIS-DAP' because thats apparently required
2021-07-21 03:55:58 +02:00
Triss
66de0a0bc5
fix compilation when USE_USBCDC_FOR_STDIO is disabled
2021-07-21 02:09:18 +02:00
Triss
35a427e8a0
overclocking so SUMP mode can sample up to 50 MHz
2021-07-19 03:34:48 +02:00
Triss
d289799393
dynamic memory allocation so the SUMP mode can use all available memory w/o limiting other modes
2021-07-19 03:17:03 +02:00
Triss
82ff925001
SUMP logic analyzer mode, stolen from piocprobe-sump (mode 4)
2021-07-18 22:03:58 +02:00
Triss
b5bd526476
ok it works now. shows up in sysfs, but spidev doesnt bind to it :/
2021-07-17 02:30:32 +02:00
Triss
9e0bd0e42e
oops, forgot this
2021-07-17 02:01:57 +02:00
Triss
444d805f0b
glue code part of the spi kernel module, actual xfers is for tomorrow
2021-07-16 03:43:04 +02:00
Triss
41d352af3d
my half-asleep brain just made me remember about these tiny things
2021-07-15 04:47:33 +02:00
Triss
8b4183fcdf
more SPI rework stuff
2021-07-15 04:18:36 +02:00
Triss
7e4bea1a37
modify spi protocol a bit for kernel driver work
2021-07-15 04:01:42 +02:00
Triss
595c768b88
make vnd cfg interface index configurable (as it shouldve been)
2021-07-14 03:12:37 +02:00
Triss
16963bd39b
i2c module stuff, firmware now correctly handles error conditions
2021-07-14 03:04:40 +02:00
Triss
2e235770d3
better vnd interface probing
2021-07-13 03:41:38 +02:00
Triss
eaab9e05f8
i2c kernel module (very untested and rough around the edges)
2021-07-12 03:24:13 +02:00
Triss
f9eb86b60e
add basics of the kernel driver :0
2021-07-12 01:43:35 +02:00
Triss
0f4566d0e7
spi stuff
2021-07-04 16:09:45 +02:00
Triss
5c17820a52
add vendor itf-based settings & commands for I2C and temp sensor stuff
...
TODOs are:
* add one for SPI too (TODO: look at linux kernel for required features)
* document all these commands somewhere
* implement linux kernel driver(s)
* maaaybeeee fix the I2C-Tiny-USB driver? idk
* also grep for minor TODOs in src
2021-07-04 02:22:00 +02:00
Triss
779c5e98f4
add interfaces to default mode, all works except I2C, also tempsense active/addr conf has to be readded thru new usb vnd itf
2021-07-03 02:19:05 +02:00
Triss
200eee8074
refactor & cleanup some stuff. tomorrow will be adding all the preexisting interfaces, most likely
2021-07-01 03:12:51 +02:00
Triss
b515acabc5
holy shit runtime reconfiguration of the USB device works (... uglily)
2021-06-30 23:40:32 +02:00
Triss
0716dbba1a
started on new usb itf, it compiles and it lsusbs
2021-06-30 19:32:22 +02:00
Triss
2bac8cd99e
im an airhead who should test her refactors
2021-06-29 02:09:41 +02:00
Triss
2905ff2116
clang formatting stuff
2021-06-29 01:03:02 +02:00
Triss
b3984cfca0
move stuff around wrt. USB-CDC baudrate changes
2021-06-28 22:29:03 +02:00