Commit Graph

87 Commits

Author SHA1 Message Date
Mateusz Faderewski
f6b94aec97 [SC64][FW][SW] Added CIC diagnostic, changed software timeout timer to hardware (derived from PIF clock) 2024-04-10 12:56:05 +02:00
Mateusz Faderewski
c156b72bee [SC64][SW] Added very basic SDRAM test in the primer before flashing bootloader 2024-03-17 02:04:05 +01:00
Mateusz Faderewski
f27f644a7e [SC64][SW] Fixed SC64 reset procedure in the deployer 2024-03-14 20:07:07 +01:00
Mateusz Faderewski
01bef4060e [SC64][SW] Updated deployer dependencies 2024-03-04 12:47:24 +01:00
Mateusz Faderewski
b4b3659458 [SC64][SW] Fix buffered receive bug in sc64deployer server 2024-03-04 00:54:51 +01: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
bf13434f40 [SC64][SW] Added command to reset SC64 state in deployer 2023-12-14 20:33:21 +01:00
Mateusz Faderewski
3f3f1e3b86 [SC64][SW] Added option to set custom CIC seed in deployer 2023-12-14 20:28:21 +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
6eb89688ab [SC64][SW] Added ability to send debug commands at startup in deployer 2023-09-04 20:57:20 +02:00
Mateusz Faderewski
129bb4b800 [SC64][SW] SDRAM test use cached memory address 2023-08-26 14:18:22 +02:00
Mateusz Faderewski
e170abdcd3 [SC64][DOCS] Updated documentation 2023-08-26 13:37:48 +02:00
Mateusz Faderewski
b68d4a4be0 [SC64] Fixed building when commit message contained certain characters 2023-08-25 17:38:04 +02:00
Mateusz Faderewski
664092036f
[SC64][SW] Disable writeback prior to jumping to menu code, … (#44)
…added SDRAM tests, SC64 reference implementation rewrite
2023-08-25 17:13:42 +02:00
Mateusz Faderewski
a4a52fd15a
[SC64][SW] Added support for Only 64DD IPL mode in deployer. (#43)
And added ability to pipe commands in debug mode.
2023-08-25 17:10:22 +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
f8cb1b20bd
[SC64][SW] Simplify sc64.py arguments / add save autodetection (#33) 2023-02-24 23:47:40 +01:00
Mateusz Faderewski
5b2ee0b6a1
[SC64][SW] (#28) Added building native executable for sc64.py script (#29) 2023-02-24 23:27:34 +01:00
Mateusz Faderewski
fc42292af0 [SC64][DOCS][SW] Adjusted documentation / merged dd64.py into sc64.py 2023-02-21 20:45:51 +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
c2dc401393 [SC64][SW] Added SD sector read test 2023-02-20 19:19:03 +01:00
Mateusz Faderewski
409ba28359 [SC64][SW] Changed firmware version reporting 2023-02-20 18:17:09 +01:00
Mateusz Faderewski
700c7745ad [SC64][SW] Removed debug print 2023-02-19 15:55:40 +01:00
Mateusz Faderewski
b30315e14e [SC64][SW] Improved direct boot process 2023-02-19 15:50:57 +01:00
Mateusz Faderewski
8a8bf665f9 [SC64][SW] Adjusted primer.py script 2023-02-17 12:03:26 +01:00
Mateusz Faderewski
ed6d01a066 [SC64][SW] Changed update file name / improved manufacturing guidelines 2023-02-17 11:26:50 +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
72f6160cf1 [SC64][SW] Fixed firmware update error reporting 2023-02-12 21:21:02 +01:00
Mateusz Faderewski
741e83444e [SC64][SW] Added LED I/O blinking persistent setting 2023-02-10 21:38:49 +01:00
Mateusz Faderewski
9fbff668c7 [SC64][SW] Added ED style save type autodetection 2023-02-10 20:24:01 +01:00
Mateusz Faderewski
ce957faaa9 [SC64][SW] Added firmware update overwrite safeguard 2023-02-10 11:45:15 +01:00
Mateusz Faderewski
fd7f12f1a8 [SC64][SW] GDB socket fixes 2023-02-08 16:50:33 +01:00
Mateusz Faderewski
39dccd5e00 [SC64][SW] Fixed setting CIC parameters, added GDB socket support in sc64.py 2023-02-08 16:34:38 +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
1531278379 [SC64][SW] Added RTC test, code cleanup 2023-02-06 19:46:57 +01:00