Commit Graph

58 Commits

Author SHA1 Message Date
Mateusz Faderewski
18041e2547 [SC64] v2.20.2 release 2024-11-18 22:58:35 +01:00
Mateusz Faderewski
0538a28f9e [SC64][SW] Fixed regression in the SD card module introduced in the latest refactor 2024-11-18 22:57:14 +01:00
Mateusz Faderewski
1ade3ade8e [SC64] v2.20.1 release 2024-11-16 15:20:12 +01:00
Mateusz Faderewski
6eef811cd6 [SC64][SW] Fix SD deinit error when the card is not locked + SD module refactor 2024-11-16 13:47:20 +01:00
Mateusz Faderewski
ed63eb3e8c [SC64] v2.20.0 release 2024-09-29 21:14:55 +02:00
Mateusz Faderewski
db4f16754f [SC64][SW] Release SD lock on init error 2024-09-29 21:14:32 +02:00
Mateusz Faderewski
74e20cb8cc
[SC64][SW] Added access to the SD card via USB interface (#90) 2024-09-29 20:58:52 +02:00
Mateusz Faderewski
04cecb1955 [SC64] v2.19.0 release 2024-08-17 18:23:57 +02:00
Mateusz Faderewski
92fb4a85df
[SC64][FW][SW] New framework for SC64 IRQ handling (#68) 2024-08-16 13:52:01 +02:00
Mateusz Faderewski
71cef2cd6c [SC64][SW] Change error type starting ID to avoid reusing old error code IDs 2024-07-21 12:17:44 +02:00
Mateusz Faderewski
1b71b4a333
[SC64][FW] Verilator tests + many bugfixes in the FPGA code (#75) 2024-07-21 11:15:08 +02:00
Mateusz Faderewski
5e33e516a2
[SC64][SW] Implement new libftdi backend in the sc64deployer (#72) 2024-07-21 10:48:20 +02:00
Mateusz Faderewski
acc3e588d8 [SC64][SW] Fixed RTC raw time offset calculation 2024-06-15 00:33:43 +02:00
Mateusz Faderewski
a571fe16f5 [SC64][SW] Added support for 400 leap years for the RTC 2024-06-14 21:47:10 +02:00
Mateusz Faderewski
903efe5353 [SC64][SW] Add missing cleanup during SD card initialization 2024-06-14 21:46:02 +02:00
Mateusz Faderewski
e4af127e55 [SC64][FW][SW] Added option to set and read century when updating RTC datetime 2024-06-06 23:00:38 +02:00
Mateusz Faderewski
9843a79a86 [SC64][SW] controller: fixed stuck LED state when error was cleared 2024-05-20 16:18:14 +02:00
Mateusz Faderewski
554305290e [SC64][SW] controller: corrected SD card init procedure 2024-05-14 19:39:00 +02:00
Mateusz Faderewski
e6751c262d [SC64][SW] bootloader/controller: added more meaningful errors in the SD card module
Also added manual CRC16 check in the software for data blocks smaller than 512 bytes
2024-05-14 01:36:34 +02:00
Mateusz Faderewski
cf19dc6151 [SC64][SW] Update: allow firmware update from the Flash memory 2024-05-05 01:53:19 +02:00
Mateusz Faderewski
cff730cafc [SC64][SW] Minor formatting and spelling fixes 2024-04-10 21:32:17 +02:00
Mateusz Faderewski
95b78f3cd9 [SC64] v2.18.1 release 2024-01-29 14:26:22 +01:00
Mateusz Faderewski
421d0438f3
[SC64][FW][SW] Controller rewrite to remove task subsystem + minor bug fixes (#64)
This PR completely removes `task.c / task.h` from `sw/controller` STM32
code.
Additionally, these changes were implemented:
- Updated IPL3
- Added new diagnostic data (voltage and temperature) readout commands
for USB and N64
- Fixed some issues with FlashRAM save type
- Joybus timings were relaxed to accommodate communication with
unsynchronized master controller (like _Datel Game Killer_, thanks
@RWeick)
- N64 embedded test program now waits for release of button press to
proceed
- Fixed issue where, in rare circumstances, I2C peripheral in STM32
would get locked-up on power-up
- LED blinking behavior on SD card access was changed
- LED blink duration on save writeback has been extended
- Minor fixes through the entire of hardware abstraction layer for STM32
code
- Primer now correctly detects issues with I2C bus during first time
programming
- `primer.py` script gives more meaningful error messages
- Fixed bug where RTC time was always written on N64FlashcartMenu boot
- sc64deployer now displays "Diagnostic data" instead of "MCU stack
usage"
2024-01-29 14:23:18 +01:00
Mateusz Faderewski
f7eb6a73b4 [SC64][SW] Removed _oscillator running after time set_ check in the RTC, lowered I2C clock speed 2024-01-12 03:12:56 +01:00
Mateusz Faderewski
13fc38fe73 [SC64][SW] Implement correct behavior for FlashRAM writes 2024-01-10 22:38:04 +01:00
Mateusz Faderewski
6c1446c9df [SC64] v2.18.0 release 2023-12-14 20:52:34 +01:00
Mateusz Faderewski
ff27e35ae8
[SC64][FW][SW] Moved CIC emulation from MCU to FPGA (#56) 2023-12-14 19:26:54 +01:00
Mateusz Faderewski
473f3b883b [SC64] v2.17.0 release 2023-09-15 21:01:01 +02:00
Mateusz Faderewski
bee41d1d04 [SC64][SW] Changed menu loading procedure, updated boot procedure, 64DD fixes 2023-09-15 20:51:57 +02:00
Mateusz Faderewski
b3a9d5ff63 [SC64] v2.16.0 release 2023-06-30 01:11:25 +02:00
Mateusz Faderewski
c4f6a0d555
[SC64][FW][SW] SD card byte swap on reads support (#39)
And other bug fixes related to DMA write mask
2023-06-30 01:09:02 +02:00
Mateusz Faderewski
8c7f97b433 [SC64] v2.15.1 release 2023-04-23 13:09:45 +02:00
Mateusz Faderewski
0dbec80183
[SC64][SW] USB debug improvements (#38)
- N64 -> PC heartbeat datatype support
 - PC -> N64 debug write timeout implementation (1 second)
 - PC -> N64 text datatype bug fix (added null byte at the end)
 - 64DD disk insertion by default
2023-04-23 13:07:47 +02:00
Mateusz Faderewski
248feb94e8 [SC64] v2.15.0 release 2023-04-04 20:29:31 +02:00
Mateusz Faderewski
7afb0ef05c
[SC64][SW] Server performance increase / USB save writeback / bootloader fixes (#37) 2023-04-04 20:25:58 +02:00
Mateusz Faderewski
066f3b0485 [SC64] v2.14.0 release 2023-03-12 00:27:49 +01:00
Mateusz Faderewski
1e19b648fb
[SC64][FW][SW] New loader application rewritten in Rust language (#34) (#36) 2023-03-12 00:23:43 +01:00
Mateusz Faderewski
98fa69e4d7 [SC64][SW] (#30) Remove usage of CMD23 in SD card sector read/write 2023-02-21 01:02:40 +01:00
Mateusz Faderewski
409ba28359 [SC64][SW] Changed firmware version reporting 2023-02-20 18:17:09 +01:00
Mateusz Faderewski
b30315e14e [SC64][SW] Improved direct boot process 2023-02-19 15:50:57 +01:00
Mateusz Faderewski
fc85cafd55 [SC64][SW] Fixed CIC region detection delay 2023-02-15 12:23:58 +01:00
Mateusz Faderewski
740114c62f [SC64][SW] Added API versioning 2023-02-14 23:51:00 +01:00
Mateusz Faderewski
46f7b8b794 [SC64][SW] Fixed ROM shadow offset address translation 2023-02-14 20:44:43 +01:00
Mateusz Faderewski
741e83444e [SC64][SW] Added LED I/O blinking persistent setting 2023-02-10 21:38:49 +01:00
Mateusz Faderewski
ce957faaa9 [SC64][SW] Added firmware update overwrite safeguard 2023-02-10 11:45:15 +01:00
Mateusz Faderewski
5d4f3be619 [SC64][SW] Added option for setting CIC parameters through sc64.py script 2023-02-06 20:48:44 +01:00
Mateusz Faderewski
285d5d6a6f [SC64][SW] Added controller stack usage diagnostics 2023-01-30 06:15:08 +01:00
Mateusz Faderewski
6def5b0efc [SC64][SW] Reduced update file size 2023-01-23 00:47:05 +01:00
Mateusz Faderewski
5b85b0f661
[SC64][SW] Added board bring-up via UART header (#20)
* [SC64][SW] Added board bring-up via UART header

* [SC64][SW] Made I2C in primer stable

* [SC64][SW] LCMXO2 primer fixes

* [SC64][SW] SC64 primer PC software

* [SC64][SW] Added primer.py to release package

* [SC64][SW] Fixed FPGA refresh

* [SC64][SW] Changed release package contents
2023-01-21 04:08:15 +01:00
Mateusz Faderewski
677e0a7172 [SC64][DOCS][SW] SD card and flash related improvements 2023-01-06 23:47:00 +01:00