Commit Graph

115 Commits

Author SHA1 Message Date
Mateusz Faderewski
2b396064ec Merge branch 'main' into new-irq 2024-06-15 00:43:09 +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
0d9e23b787 Merge branch 'main' into new-irq 2024-06-07 00:16:23 +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
10454f4cb6 another small cleanup 2024-05-28 01:10:28 +02:00
Mateusz Faderewski
a6a223a127 small message change 2024-05-27 22:59:36 +02:00
Mateusz Faderewski
759df3b0f3 interrupts disable macro 2024-05-27 22:52:33 +02:00
Mateusz Faderewski
392ad5bece another cleanup 2024-05-27 20:04:07 +02:00
Mateusz Faderewski
5cba981f82 set status register on reset 2024-05-25 00:31:09 +02:00
Mateusz Faderewski
ad88fefae5 small cleanup 2024-05-24 23:25:13 +02:00
Mateusz Faderewski
7d8614e456 handle irq in the bootloader 2024-05-22 00:17:24 +02:00
Mateusz Faderewski
e163ae814f Merge branch 'main' into new-irq 2024-05-20 17:05:39 +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
dea9441784 Merge branch 'main' into new-irq 2024-04-11 02:35:24 +02:00
Mateusz Faderewski
e93cecfae3 [SC64][FW][SW] Fixed unreliable CIC boot 2024-04-11 01:34:36 +02:00
Mateusz Faderewski
feb3adeb50 initial irq overhaul 2024-04-10 22:01:38 +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
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