OSSC v1.xx series beta firmware
NewHome › Forums › OSSC, OSSC Pro and DExx-vd isl › OSSC – Discussion and support › OSSC v1.xx series beta firmware
Tagged: OSSC 1.6 mod
- This topic has 326 replies, 68 voices, and was last updated October 18, 2024 at 6:42 PM by thiago_1964.
-
AuthorPosts
-
February 12, 2023 at 7:55 PM #56532
I’ve been recently working on a cleanup of the OSSC firmware. The primary target is to get rid of the hacks needed to work around various issues of the video frontend chip. A minor hardware modification is prerequisite for this as it enables mostly bypassing sync processing of the chip. A second goal is to port some infrastructure from OSSC Pro project which enables implementing many existing features in a more robust way and adding some others.
The new firmware series will start from v1.xx and only works on boards which have had the modification applied (see below). The end result may not be that different for those who have been using “easy” sources, but many of the issues related to sync/mode detection with more exotic consoles, home computers or arcade boards should be now fixed / fixable. I have an early version of the firmware available here for those who have USB Blaster and SD card image of latest version (see link at the end).
The HW modification simply requires removing SMD resistor R35 and adding a wire between TVP7002 pin 25 (last on the side) and FPGA-end pad of the removed resistor. Red LED won’t work after the modification. but equivalent indicator is now encoded into the green LED. Future board revisions will have the modification built-in and also restore functionality of red LED.
Below is a list of the options added/removed from the beta firmware. (-) means the feature is removed but only temporarily.
– Sampling -> Allow TVP HPLL2x
– Compatibility -> AV3 interlacefix
– Compatibility -> Panasonic hack
+ Settings -> Phase hotkey
+ Custom scanlines -> H interval
+ Custom scanlines -> V interval
– Scanlines -> Sl. alt interval
+ Audio options -> Mono mode
+ Output options -> HDMI HDR flag
+ Post-proc -> Shadow mask
(-) Post-proc -> DIY lat. testAny testing help is appreciated to push this towards a proper release. Feedback on what works better or worse than before should be posted in this thread.
UPDATE: SD card image for version 1.08 is now available here.
FAQ:
Q: Which board revisions can be upgraded with the mod?
A: Versions v1.7 and earlier, including early boards with DVI connectorQ: Should the firmware be installed before or after the mod, and is it possible use v0.xx series on a modified board?
A: The order of update/mod does not matter. It is possible to downgrade and use v0.xx firmware on a modified boardQ: Should the TVP7002 pin be lifted?
A: It’s not necessary to lift the pinQ: Are v0.xx profiles preserved after firmware upgrade?
A: No. At the moment the online tool also supports only v0.xx seriesQ: Is it possible to upgrade unofficial OSSC boards?
A: Possibly, but at your own risk. A recommendation is to check if U10 flash chip on PCB bottom side is S25FL116K0XMFI041 or IS25LP016D-JBLE. If not, there is reasonable chance that upgrade bricks the board after which it needs to be flashed with JTAG programmer (potentially requiring a firmware modified by the manufacturer).February 13, 2023 at 10:31 AM #56537Thanks Marqs, I’ll be getting a couple of OSSCs modded for this firmware shortly and will be enthusiastically testing my retro computers and (less enthusiastically) my PAL Jaguar 🙂
February 14, 2023 at 2:05 PM #56544Thank you, I will try it next month with retro PC computers.
February 14, 2023 at 2:28 PM #56547Marqs, you‘re way too fast for me 🙂
My USB Blaster is still in transit from CN to DE…. Hardwaremod seems to be very doable.February 21, 2023 at 1:23 PM #56587What exactly is USB Blaster? I have Bus Blaster v3, is that okay? http://dangerousprototypes.com/docs/index.php?title=Bus_Blaster_v3_design_overview&oldid=18611 …and then I have several UARTSBee from Seeed Studio (v4 and v5: https://wiki.seeedstudio.com/UartSBee_v5/ )
Where is more instructions for developers how to upload a new firmware or create SD build from your firmware ourselves? Thanks.
February 22, 2023 at 11:02 AM #56588+1
I’d also like to know which is the easyest way to bring the jic-File on the Cyclone5
I’d rather not install the whole ModelSim/Quartus IDE package but only the “Quartus II Programmer”
Quartus Programmer 13.0.1 build 232will this be sufficient? Or do we need the newer version
Version 22.1 Standard- This reply was modified 1 year, 9 months ago by uchristo.
February 22, 2023 at 11:31 AM #56590It’s a cyclone 4 in the OSSC Classic. Just the programmer software should be fine.
There are instructions on how to JTAG update on the wiki here – https://junkerhq.net/xrgb/index.php?title=Updating_OSSC_via_JTAG
February 23, 2023 at 12:25 AM #56598@cyberluke: USB Blaster is a propiertary JTAG programmer / protocol so I doubt Bus Blaster would work as direct replacement. It should be possible to program Cyclone FPGAs using standard SVF format files and non-propiertary programmers and tools, but most likely that would require more time setting up than what’s worth it. SD image will be released when there is more confidence that it doesn’t soft-brick boards (recoverable by USB Blaster).
February 23, 2023 at 12:56 AM #56599Ok, so testing for PC is a no-go for me until there is an SD card.
February 24, 2023 at 12:27 PM #56604USB Blaster has arrived today….. I’ll be able to solder the modification this evening, hopefully. Stay tuned.
February 24, 2023 at 9:06 PM #56607Bridge soldered, Firmware installed. It works, somehow. Is this one compiled without audio?
My former working profiles didn‘t work anymore on my 55“ Samsung Nu8009. Will do more resting on sunday/monday
February 24, 2023 at 9:09 PM #56608Testing, not resting 🙂
February 25, 2023 at 7:32 AM #56610February 25, 2023 at 10:24 AM #56612The firmware has audio, but there was initially a related issue which was fixed shortly after. I keep updating the same .jic file as issues are found and fixed, just redownload and try programming again.
Regarding serial log, I compiled a debug version which prints information via JTAG-UART. Use ‘nios2-terminal’ to open up a console after programming the .jic file.
February 27, 2023 at 9:45 AM #56651It’s working…. I’ll hook up my problematic source this evening
nios2-terminal: Warning: The JTAG cable you are using is not supported for Nios
nios2-terminal: II systems. You may experience intermittent JTAG communication
nios2-terminal: failures with this cable. Please use a USB Blaster revision B
nios2-terminal: cable or another supported cable. Please refer to the file
nios2-terminal: errata.txt included in the Nios II development kit documents
nios2-terminal: directory for more information.nios2-terminal: (Use the IDE stop button or Ctrl-C to terminate)
Sync LPF value set to 0x0
PCM1862 found
RC data read (54 bytes)
SetInputMode(00,00)
Input mode is RGB24
Output mode is RGB24
SetupAFE()
Reg[61] = 00
Reg[62] = 18
Reg[63] = 10
Reg[64] = 0C
Reg[65] = F0
Reg[66] = 00
Reg[67] = 3F
HDMITX_SetAVIInfoFrame: VIC=2, ColorMode=0, Aspect-Ratio=4:3, ITU709=No, ITC=No, pixelrep=0
SetAVIInfo():
CTS: 27000
### DIY VIDEO DIGITIZER / SCANCONVERTER INIT OK ### -
AuthorPosts
- You must be logged in to reply to this topic.