R
81b5955a5c
Perturb USB de-config to better match vendor behavior
...
This was one of many changes along the path of discovering that `wfi`
seems to just break USBD.
This change is probably not necessary, but it feels more elegant.
2026-07-07 00:06:50 +01:00
R
03496cb28e
Fix incorrect computation of USB descriptor sizes
2026-07-07 00:06:48 +01:00
R
2d8a534f14
Correct the README wrt supported chips
...
Closes #1
2024-08-18 22:07:45 +01:00
R
3c2255311c
Add another note on another optimization
2024-04-23 16:58:39 +01:00
R
dd03d6c88b
short intro
2024-04-23 16:48:16 +01:00
R
fd50671b23
remove gdbinit files
2024-04-23 16:38:04 +01:00
R
e6282ce9a5
more docs for examples
2024-04-23 16:37:23 +01:00
R
c99c3cceab
add more files to gitignore
2024-04-23 16:24:22 +01:00
R
a8d630293b
rename examples
2024-04-23 16:23:41 +01:00
R
e581daec90
another gotcha
2024-04-23 16:17:41 +01:00
R
a9a4dcfbfd
wtf^2
2024-04-23 16:16:33 +01:00
R
b50972368b
wtf? this is documented to work
2024-04-23 16:16:00 +01:00
R
e8e3237e9d
maybe fix link
2024-04-23 16:13:55 +01:00
R
02c30ff61a
yet more comments
2024-04-23 16:12:54 +01:00
R
d5ae69f21a
use new family id in examples
2024-04-21 14:12:44 +01:00
R
01b147cbb2
define AUTO_BOOT_BITMAP_NUM_HWORDS constant
2024-04-21 05:53:46 +01:00
R
7affb1b209
first pass at comments
2024-04-21 05:51:35 +01:00
R
ef659206e2
fix booting ram, commit to new size
2024-04-14 18:29:09 +01:00
R
b490e6917d
xxx try to fix ram boot bug
...
ram boot doesn't seem to work if there's no flash application for some reason
2024-04-14 18:10:59 +01:00
R
c2665c139d
reboot into ram wip
2024-04-14 17:36:13 +01:00
R
397857a2a7
more shaving code size
2024-04-14 17:18:47 +01:00
R
878e2229e5
yet more code shaving
2024-04-14 17:10:38 +01:00
R
2acf794123
more code squeezing
2024-04-14 16:46:19 +01:00
R
cfe827c1ce
more blocks
2024-04-14 16:23:11 +01:00
R
73a91a4d90
micro-optimizations to shave off code size
2024-04-14 16:21:35 +01:00
R
181da94dbc
impl auto reboot again for small files
2024-04-14 16:05:53 +01:00
R
dd1b721486
ram download and bounds check; dunno how to do reboot
2024-04-14 15:34:26 +01:00
R
389e387aa1
fix bug prematurely sending STALL when write in progress
2024-04-14 15:21:01 +01:00
R
5b69ac973f
we inherently cannot implement this auto reboot properly
2024-04-14 14:36:11 +01:00
R
0a7f3f9d41
fix bug overflowing buffer when synthesizing data
2024-04-14 14:02:31 +01:00
R
63e32289d9
no stack needed anymore
2024-04-14 08:02:52 +01:00
R
b1e2e79d5d
cswtag into stash
2024-04-14 07:55:58 +01:00
R
673d6b6eab
all the usb regs too
2024-04-14 07:54:20 +01:00
R
688dc3c871
everything now in lds
2024-04-14 07:42:09 +01:00
R
b38aab0040
works, not ramless
2024-04-14 07:36:37 +01:00
R
ecef620913
xxx wtf this works
2024-04-14 07:26:46 +01:00
R
543baf7090
xxx this mostly works
2024-04-14 07:10:28 +01:00
R
79237091f5
wip ep1 out --> gp
2024-04-14 06:27:45 +01:00
R
4fc4d0c2ee
wip test opt with gp relaxation
2024-04-14 06:13:29 +01:00
R
50672d80b9
more code space opt -> fold read/write handlers
2024-04-14 05:26:45 +01:00
R
3c01843d1e
refactor common scsi hardcoded answers
2024-04-14 05:15:23 +01:00
R
078281f6f2
clean up and simplify sector synth logic
2024-04-14 04:54:03 +01:00
R
dd89b2c67d
didn't save this change earlier
2024-04-14 04:27:00 +01:00
R
25cc8c1a5a
send csw -> subroutine
...
saves a lot of code space
2024-04-14 04:26:11 +01:00
R
8feb1d2ea8
micro-optimizations in startup assembly code
2024-04-14 04:08:13 +01:00
R
394046a4b1
not super well tested suspend
2024-04-14 03:52:08 +01:00
R
3d657b6704
yet more unsupported command error fixing
2024-04-14 03:25:00 +01:00
R
409819787e
fix error handling clear stall
2024-04-14 03:10:23 +01:00
R
90bf2331c8
read format capacity
...
windows worked once before it stopped working
2024-04-14 02:43:06 +01:00
R
ef0e1551c1
xxxxxxx start/stop unit, huge mess because out of registers
2024-04-14 01:44:20 +01:00
R
4b408dc065
put in html stub
2024-04-14 01:00:40 +01:00
R
4e1d1ea4a3
more reliable but still wtf
2024-04-13 23:56:36 +01:00
R
a609c3ddfb
xxx this still doesn't work
2024-04-13 22:55:22 +01:00
R
51b64d291a
xxx wip
2024-04-13 22:20:40 +01:00
R
3bbc82bd4d
flash programming appears okay
2024-04-13 21:54:35 +01:00
R
0c142bb60c
reboot on complete file
2024-04-13 21:33:56 +01:00
R
a7775ce431
can detect UF2 blocks
2024-04-13 20:19:20 +01:00
R
6e8174726b
without this magic macos gets sad
2024-04-13 19:18:09 +01:00
R
2098719b0a
fix some bugs
2024-04-13 19:14:10 +01:00
R
9aafc39d35
accept dummy writes
2024-04-13 19:07:54 +01:00
R
3975e92993
fix overalignment, real info file
2024-04-13 18:48:47 +01:00
R
d4a2837b6c
can generate files when reading
2024-04-13 18:36:03 +01:00
R
509193ebe6
synthesize fat root dir
2024-04-13 18:27:52 +01:00
R
ec709c9e11
fill in mode sense; works on linux/mac to see drive now
2024-04-13 17:20:09 +01:00
R
5f825e56e7
block read okay (at least on linux)
2024-04-13 17:05:32 +01:00
R
b1cb106e79
implement inquiry
2024-04-13 15:54:35 +01:00
R
26771af5e8
linux no longer throws a pile of errors
2024-04-13 15:40:37 +01:00
R
4796646775
xxx dtog
2024-04-13 14:51:34 +01:00
R
ac6c649282
unicode string descs saves a lot of code
2024-04-13 14:38:34 +01:00
R
43b30a673b
cleanups, define constants
2024-04-13 14:31:48 +01:00
R
64704d2db2
wip usb msc
...
gets a cbw
somehow irqs fire even if set to stall?
2024-04-13 05:46:51 +01:00
R
6968d6b449
dedup code
2024-04-13 04:47:15 +01:00
R
8fcfb086c0
strings
2024-04-13 04:34:50 +01:00
R
cc2b834e2d
did this fix flakiness on linux?
2024-04-13 03:38:16 +01:00
R
1b280cc72a
blah blah
2024-04-13 03:31:41 +01:00
R
70b7c505a0
refactor unreadable old state manip
2024-04-13 03:25:57 +01:00
R
4e1b0fd3b3
xxx
2024-04-13 03:06:28 +01:00
R
c02a5ed484
add additional device requests
2024-04-13 02:41:52 +01:00
R
2cfaa6fdb3
enumerates okay on linux
2024-04-13 02:11:20 +01:00
R
8f986b45f1
still doesn't work most of the time but occasionally can get descriptor
2024-04-13 02:01:50 +01:00
R
ede5875016
linux *sometimes* reads device desc
2024-04-13 01:49:49 +01:00
R
8a66c040ca
USB can get past set address
2024-04-12 23:53:30 +01:00
R
5f9fc4959c
finally working double-tap trigger code
2024-04-12 20:01:02 +01:00
R
31b95e7318
Forgot to set up stack pointer
2024-04-12 18:19:02 +01:00
R
388fbaec91
Strip down linker script
2024-04-12 18:16:22 +01:00
R
7e0ba7151b
Copy minimal example to make bootloader
2024-04-12 18:07:43 +01:00
R
b2667a535a
Replace demo program with blinky
2024-04-12 18:05:08 +01:00
R
40082ed533
Minimal executable, cleaned up from vendor code
...
- Removed extraneous and/or oversized(?) align from linker script
- Handle init_array properly
- Remove legacy init code paths (.ctors, .init)
- Don't do nonstandard interrupt mode handling by default
2024-04-12 17:50:23 +01:00
R
2f3d484844
Initial commit
2024-04-12 15:27:35 +01:00