Commit graph

10340 commits

Author SHA1 Message Date
bunnie
3522e0ad56 Merge branch 'master' of github.com:betrusted-io/xous-core 2021-04-23 18:02:48 +08:00
bunnie
b8be041663 fix renode emulation -- need to figure out why TRNG server location changed 2021-04-23 18:02:03 +08:00
bunnie
c385f4bdd5 fix hosted mode boot vs RTC alarm clear 2021-04-23 17:59:12 +08:00
bunnie
4022462144 fix RTC wakeup alarm code 2021-04-23 17:51:12 +08:00
bunnie
6e8bc612f1 update emulation files 2021-04-23 17:09:46 +08:00
Sean Cross
428ccd2e0f emulation: memlcd: add PRESCALER register
This register is not wired to anything.

Signed-off-by: Sean Cross <sean@xobs.io>
2021-04-23 17:04:59 +08:00
bunnie
061284ec5f debugging BOOST mode glitch issue
Here's an arcane bug for you:

When powering down, the Spartan 7 3.3V I/O drivers will
output a roughly 800us wide glitch as 3.3V falls below around
1.7V, if the 0.95V core voltage comes down first (which it does
because we have an active discharge on 0.95V, but not on 3.3V).

In this case, it's just wide and high enough to cause the
BOOST mode line to engage, which takes the BOOST output
and ties it to VBUS, which is just enough for the system to
think you're powering it back on again. Which is not what
you want when powering down.

The ultimate fix was to put a heftier pull-down on the BOOST
line so that it can't trip the BOOST output into the VBUS.
Another option could be more active discharge FETs, but that
would require a full board spin and we are already at certification,
so we'll stick with the stronger pull-down on BOOST. It seems to
be a robust fix in the worst corner cases we can find.

The downside is that when powering an external USB device,
you are burning an extra 30mW of power overcoming the pull-down,
but typically, any external USB devices plugged into Precursor
will burn far in excess of that, so the delta should be negligible.
2021-04-23 15:33:14 +08:00
bunnie
8192c68a63 update emulation files 2021-04-23 14:17:21 +08:00
Sean Cross
4ce311d166 emulation: trng_server: physically reorder the enum
Signed-off-by: Sean Cross <sean@xobs.io>
2021-04-23 14:15:11 +08:00
Sean Cross
d1b6ad0eb7 emulation: xous-release: silence unimplemented blocks
Signed-off-by: Sean Cross <sean@xobs.io>
2021-04-23 13:58:40 +08:00
Sean Cross
b19dadd1c6 emulation: trng_server: fix trng register addresses
This swaps the STATUS and DATA registers, which were incorrectly
created.

Signed-off-by: Sean Cross <sean@xobs.io>
2021-04-23 13:58:01 +08:00
Sean Cross
560cd696ab emulation: keyboard: implement keyboard driver
This implements a keyboard driver based on the current understanding of
the keyboard server.

Signed-off-by: Sean Cross <sean@xobs.io>
2021-04-23 13:57:33 +08:00
Sean Cross
9d9473645b emulation: update betrusted platform file
This updates the memory addresses and attaches the keyboard interrupt.

Signed-off-by: Sean Cross <sean@xobs.io>
2021-04-23 13:56:48 +08:00
bunnie
07c20f6285 update to latest SVD 2021-04-23 01:49:31 +08:00
bunnie
f97b61a788 add the killbounce command 2021-04-23 01:49:03 +08:00
bunnie
2e6247838c add suspend resume test configuration 2021-04-22 18:09:17 +08:00
bunnie
084b66a927 update SVD references to latest SoC design (ticktimer/susres) 2021-04-22 18:08:43 +08:00
bunnie
52a9116edb add various sleep/ship/kill/coldboot commands 2021-04-22 18:08:19 +08:00
bunnie
076ee3588e add blank screen for ship mode 2021-04-22 18:07:41 +08:00
bunnie
ca63091f98 add ship mode command 2021-04-22 18:07:27 +08:00
bunnie
65eab7d60f clean up the buildpush script to reflect bundled CSR 2021-04-22 17:42:43 +08:00
bunnie
a635f7f427 Merge branch 'master' of github.com:betrusted-io/xous-core 2021-04-21 00:04:24 +08:00
bunnie
8916f3e6a3 bump to latest soc.svd 2021-04-21 00:02:10 +08:00
bunnie
e5343bceb9 retrofit system to use the new device-based CSR image 2021-04-20 19:27:29 +08:00
bunnie
9be9d80c17 add a utility to generate the csr image for writing into FLASH 2021-04-20 17:01:39 +08:00
bunnie
1f84796e34
Update flash.md 2021-04-20 16:59:34 +08:00
bunnie
b907a90b64
Update flash.md 2021-04-20 16:16:33 +08:00
bunnie
aaf5ec30c3
Update flash.md 2021-04-20 16:15:36 +08:00
bunnie
7124c9dbef
Update flash.md 2021-04-20 16:15:02 +08:00
bunnie
c0f11d4808 add ability to override the soc.svd 2021-04-20 03:41:16 +08:00
bunnie
b15d02f5e8 add options for pushing the trng images 2021-04-20 03:30:19 +08:00
bunnie
ec2a87e306 make TRNG testing variants easier to configure 2021-04-20 03:21:53 +08:00
bunnie
9f9575fdd8 refine trng-tester configuration 2021-04-19 04:54:32 +08:00
bunnie
995ebdccc5 update trng tester 2021-04-19 03:47:42 +08:00
bunnie
b85650f5a6 minor tweaks to SSID scan and FCC infra
-fix help string in FCC
-try resetting SSID scan state machine after sleep cycle & timeout
2021-04-18 13:38:42 +08:00
bunnie
83292bfda2
Update startup.md 2021-04-17 15:03:18 +08:00
bunnie
c15d38f2cd
Update startup.md 2021-04-17 02:00:40 +08:00
bunnie
53f3ca20f0 add SSID scanning 2021-04-16 23:58:30 +08:00
bunnie
b2c0608b0b initial cut at SSID scanning 2021-04-16 23:07:31 +08:00
bunnie
bda82246cf fix typos 2021-04-16 23:07:16 +08:00
bunnie
459026983c minor formatting issue 2021-04-16 23:06:49 +08:00
bunnie
22d676cc59 add reporting of sleep current 2021-04-16 19:58:05 +08:00
bunnie
8dc5bf434b hosted mode vibration debug message 2021-04-16 19:30:56 +08:00
bunnie
809f0445e1 add vibe command 2021-04-16 19:27:48 +08:00
bunnie
fc4ae9851f revert braille-specific debug config 2021-04-16 18:57:34 +08:00
bunnie
0ef50b178f basic chording is working 2021-04-16 18:01:48 +08:00
bunnie
d807098ed1 more mods for the braille branch 2021-04-16 05:34:08 +08:00
bunnie
1841233d2c add "slow mode" for braille debugging 2021-04-16 04:21:21 +08:00
bunnie
ac40075140 add keyboard input via UART 2021-04-16 04:11:25 +08:00
bunnie
1378203427 clean up warning 2021-04-16 01:13:56 +08:00