Commit Graph

121 Commits

Author SHA1 Message Date
Mateusz Faderewski
ab5b02251f small cleanup in usb.c 2024-07-03 19:54:27 +02:00
Mateusz Faderewski
2bb47720e2 use simple save extension 2024-07-03 18:36:17 +02:00
Mateusz Faderewski
b915a7b4e3 server improvements 2024-07-02 23:06:42 +02:00
Mateusz Faderewski
3f639855d5 make isv nicer 2024-07-02 21:48:08 +02:00
Mateusz Faderewski
98f37af879 port listing 2024-07-02 20:53:09 +02:00
Mateusz Faderewski
999dd244c7 detection 2024-07-01 21:51:36 +02:00
Mateusz Faderewski
688c0242c1 go back 2024-07-01 12:23:56 +02:00
Mateusz Faderewski
6b33de40f5 test 2024-07-01 11:46:17 +02:00
Mateusz Faderewski
db9e9fa515 serial refactor 2024-06-30 21:44:32 +02:00
Mateusz Faderewski
6d460e83bd reset improvement 2024-06-30 17:43:28 +02:00
Mateusz Faderewski
f669f730da small cleanup 2024-06-30 12:15:45 +02:00
Mateusz Faderewski
21db23b22b made libftdi backend more robust 2024-06-30 11:53:50 +02:00
Mateusz Faderewski
f3837287b0 fix server on windows 2024-06-28 17:58:05 +02:00
Mateusz Faderewski
d0c058336b help change 2024-06-28 13:57:02 +02:00
Mateusz Faderewski
880b1ed66d server rewrite 2024-06-28 13:40:37 +02:00
Mateusz Faderewski
de12251d25 maybe 2024-06-27 21:56:40 +02:00
Mateusz Faderewski
725ac386e5 testing 2024-06-27 21:18:06 +02:00
Mateusz Faderewski
346c65fc9c libftdi support 2024-06-27 21:03:02 +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
6bbfee44e7 [SC64][SW] Added inverted own address SDRAM tests 2024-05-20 16:23:41 +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
92838da349 [SC64][SW] Added SD card FatFs tests, rearranged SDRAM tests 2024-05-12 02:45:56 +02:00
Mateusz Faderewski
a884d69308 [SC64][SW] sc64deployer: use chunked write/read for memory access 2024-05-08 21:31:29 +02:00
Mateusz Faderewski
7bc4e6d180 [SC64][SW] sc64deployer: added SDRAM tests 2024-05-08 20:24:08 +02:00
Mateusz Faderewski
a0bd0ddd98 [SC64][SW] Bootloader: rearranged tests and added/changed SDRAM patterns 2024-05-07 00:42:07 +02:00
Mateusz Faderewski
b89ca68cb4 [SC64][SW] Bootloader: added PI tests and improved SDRAM test reliability 2024-05-05 21:01:46 +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
e93cecfae3 [SC64][FW][SW] Fixed unreliable CIC boot 2024-04-11 01:34:36 +02:00
Mateusz Faderewski
cff730cafc [SC64][SW] Minor formatting and spelling fixes 2024-04-10 21:32:17 +02:00
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