Commit Graph

208 Commits

Author SHA1 Message Date
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
31ea6e6016 fw irq improvements (force high state for one clock when de-asserting irq) 2024-05-22 00:10:33 +02:00
Mateusz Faderewski
7a19097a40 keep legacy method of interrupt clear 2024-05-20 17:28:34 +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
80c06f3e53 [SC64][DOCS] Added FTDI driver installation requirement in the build guide 2024-05-16 21:07:38 +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
b8632a305b [SC64][HW] Added back notes column to the interactive BOM file 2024-05-06 00:15:08 +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
0f3eaa6d17 [SC64][DOCS] Updated readme 2024-05-05 16:15:26 +02:00
Mateusz Faderewski
5854b4ec0d [SC64][WEB] Add BOM directly on the website 2024-05-05 16:03:06 +02:00
Mateusz Faderewski
9599db8307 [SC64][FW] Set timing constraints for SDRAM pins 2024-05-05 07:08:44 +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
0e868b5ad5 [SC64][FW] Added placeholder test point outputs in the FPGA project 2024-05-03 17:55:40 +02:00
Mateusz Faderewski
8a49e954ce [SC64][BUILD] Fixed BOM source path in builder script 2024-05-03 17:53:34 +02:00
Mateusz Faderewski
3b13d21e63 [SC64][FW] CIC: use output enable register in PIO 2024-05-03 17:51:20 +02:00
Mateusz Faderewski
4eaa0b3353 [SC64][FW] Flash: fixed partial page write + handle data mask during write
Flash memory module had an issue when ending address was not page (256 bytes) aligned.

Now it's possible to write single bytes to the Flash instead of being forced to do 16 bit aligned writes.
2024-05-03 17:49:44 +02:00
Mateusz Faderewski
64c3b69454 [SC64][DOCS][WEB] Updated readme and website 2024-04-30 19:20:02 +02:00
Mateusz Faderewski
83bcfd3065 [SC64][HW] Updated license and author info on the PCB 2024-04-17 17:37:52 +02:00
Mateusz Faderewski
61bd3c62d8 [SC64][HW] Updated PCB date and revision 2024-04-17 17:04:36 +02:00
Mateusz Faderewski
2846938c5f [SC64][HW] Added README.md for shell design files 2024-04-17 16:51:42 +02:00
Mateusz Faderewski
0050688255 [SC64][HW] Organize and rename shell design files 2024-04-17 16:47:56 +02:00
Mateusz Faderewski
03daabeae8
[SC64][HW] Add shell models for injection molding and expand screw hole size in the PCB (#69)
Co-authored-by: Mena <emdazer@gmail.com>
2024-04-17 16:34:10 +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
0150060f1e [SC64][DOCS] Updated readme 2024-04-10 21:48:00 +02:00
Mateusz Faderewski
42b10e85f1 [SC64][DOCS] Updated readme 2024-04-10 21:45:42 +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
5b880fc052 [SC64][BUILD] Replaced website publish action 2024-03-04 15:29:10 +01:00
Mateusz Faderewski
a12641bf39 [SC64][BUILD] Bumped GitHub Actions dependencies 2024-03-04 12:55:47 +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
7a83fb3eae [SC64][FW] Updated Lattice Diamond license.dat file 2024-03-01 22:15:30 +01:00
Mateusz Faderewski
66f71c2040 [SC64][WEB] Updated website content (64DD section) 2024-01-29 14:30:49 +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