ElectronAsh

@AshEvans81

Electronics and retro computer tinkerer.

যোগদান করেছেন অক্টোবর ২০১১

টুইট

আপনি @AshEvans81-কে ব্লক করেছেন

আপনি কি এই টুইটগুলি দেখতে চাওয়ার বিষয়ে নিশ্চিত? টুইটগুলি দেখা হলে @AshEvans81 অবরোধ মুক্ত হবে না।

  1. ১৩ ঘন্টা আগে

    I think that's enough SH2 stuff for tonight. I'm off to watch III : The Search For "Spork". I watched the first two movies over the past two nights. Still classics. At least the SH2 chips are booting. ;) Apart from my screw-up with the PCB, I'm surprised they work.

    এই থ্রেডটি দেখান
    পূর্বাবস্থায়
  2. ১৩ ঘন্টা আগে

    I didn't think the modern SDRAM chip on the DE1 would work. The clock speed is probably too low for starters (24 MHz atm). I have another SDRAM chip on its way, which should in theory be compatible with the SH2s (similar to what is in the 32x), and will solder onto the new board

    এই থ্রেডটি দেখান
    পূর্বাবস্থায়
  3. ১৩ ঘন্টা আগে

    When the boot code passes the SDRAM checks (and a few others), the Master SH2 writes "M_OK" into those comms regs, then the Slave SH2 writes "S_OK" into some of the other comms regs. Then, IIRC, the Slave CPU zeros the "M_OK". The Master CPU code then continues.

    এই থ্রেডটি দেখান
    পূর্বাবস্থায়
  4. ১৩ ঘন্টা আগে

    More endianess issues. I still keep forgetting that the SH2 is little endian, which is why it wasn't booting properly for the past half hour. Now it's at least writing to the "COMMS" regs to say that there's an SDRAM ERROR, which was expected.

    এই থ্রেডটি দেখান
    পূর্বাবস্থায়
  5. ১৬ ঘন্টা আগে

    ...So, instead of outputting say 0x06000000 onto the bus (the start of SDRAM), it's doing the proper address multiplexing for the SDRAM. (if that makes sense?) The SHCS3_N is connected directly to the SDRAM's CS_N pin, so that's what gets asserted within those memory ranges.

    এই থ্রেডটি দেখান
    পূর্বাবস্থায়
  6. ১৬ ঘন্টা আগে

    No SDRAM on the board yet. Oh, OK, so it IS trying to access SDRAM now. I just didn't see my "SDRAM_CS" signal get asserted, which makes sense, since the real SH2 connects directly to the SDRAM chip on the 32x.

    এই থ্রেডটি দেখান
    পূর্বাবস্থায়
  7. ১৬ ঘন্টা আগে

    The SH2 chips are each reading their respective BIOS ROM from the FPGA, then the Master SH2 is jumping to it's PC address of 0x140, which matches MAME. (and matches what each SH2 grabbed from their ROMs after reset.)

    এই থ্রেডটি দেখান
    পূর্বাবস্থায়
  8. ১৬ ঘন্টা আগে

    Ahh, that's better. Always having problems with my big endian. lol Also, like on the 68000, the 32x doesn't use the LSB bit of the SH2 address bus, since it's set to "16-bit wide" mode. I added "SH_ADDR" to make it more obvious which address is actually being accessed.

    এই থ্রেডটি দেখান
    পূর্বাবস্থায়
  9. ১৭ ঘন্টা আগে

    Normally, the "BACK" signals are routed through the smaller custom ASIC on the 32x (IC5), which is responsible for switching the cart address between the SH2(s) and the Mega Drive side. It likely has some logic in IC5 for halting the SH2s when the Mega Drive wants cart access.

    এই থ্রেডটি দেখান
    পূর্বাবস্থায়
  10. ১৭ ঘন্টা আগে

    Ooooh. I hooked up the BACKM_N signal to BACKS_N, because the Master SH2 wasn't actually telling the Slave CPU it was allowed access.

    এই থ্রেডটি দেখান
    পূর্বাবস্থায়
  11. ১৮ ঘন্টা আগে

    There are no "BIOS" ROMs hooked up yet (in the FPGA), so the Master SH2 just reads the first two locations, fails to find the Program Counter, then just allows the Slave CPU to access the bus (BACKM_N goes Low). "BACKM_N", meaning Bus ACKnowledge Master. (_N meaning Active-Low).

    এই থ্রেডটি দেখান
    পূর্বাবস্থায়
  12. ১৮ ঘন্টা আগে

    Interesting. Now that I've added the signal names, you can see where the Slave SH2 is requesting bus access (BREQS_N Low) immediately after /Reset goes High.

    এই থ্রেডটি দেখান
    পূর্বাবস্থায়
  13. ১৮ ঘন্টা আগে

    I think the SH2 chips are starting to live. ;)

    এই থ্রেডটি দেখান
    পূর্বাবস্থায়
  14. ১৮ ঘন্টা আগে

    Clearly I'm not very good at using the 3D / CAD stuff any more either, otherwise I would have spotted this giant PS/2 port in the way... Not a huge deal, as the board seems to fit quite well anyway. Or, I could just Dremel off the corner of the PCB, as there are no traces there

    এই থ্রেডটি দেখান
    পূর্বাবস্থায়
  15. ১৯ ঘন্টা আগে

    Right. No more short to the +5V rail. When I checked the schematic against the Hitachi SH2 datasheet, all the other signals seemed fine as well, so fingers crossed. I won't bother hooking up the lifted pins to VCC or VSS yet, as they are all tied internally anyway.

    এই থ্রেডটি দেখান
    পূর্বাবস্থায়
  16. ১৯ ঘন্টা আগে

    ...Which is definitely preferrable to the "I'll just scratch up the PCB with the tweezers for no good reason, while trying to cut the track, because I'm too lazy to find a scapel." method.

    এই থ্রেডটি দেখান
    পূর্বাবস্থায়
  17. ১৯ ঘন্টা আগে

    The good ol' "Kynar hook" method of lifting pins. :p

    এই থ্রেডটি দেখান
    পূর্বাবস্থায়
  18. ২০ ঘন্টা আগে

    I couldn't really have messed this up much more, could I? lol Pin 14 was also labelled as VCC when it's a VSS pin. sigh

    এই থ্রেডটি দেখান
    পূর্বাবস্থায়
  19. ২০ ঘন্টা আগে

    I don't feel too bad about though, as I'd much rather find out WHY there was a short circuit, as I just went over my (rushed) soldering again with the camera, and it looks OK. There are no slithers of ground pour between the chip pads either, so it wasn't a solder bridge, AFAIK.

    এই থ্রেডটি দেখান
    পূর্বাবস্থায়
  20. ২০ ঘন্টা আগে

    OK, so it turns out that I screwed up the VSS / VCC pins on the original library part. :( I even connected one of the pins to +5V when it should have been to Ground, probably when I rotated the chips to match the 32x schematics more closely.

    এই থ্রেডটি দেখান
    পূর্বাবস্থায়

লোড হতে বেশ কিছুক্ষণ সময় নিচ্ছে।

টুইটার তার ক্ষমতার বাইরে চলে গেছে বা কোনো সাময়িক সমস্যার সম্মুখীন হয়েছে আবার চেষ্টা করুন বা আরও তথ্যের জন্য টুইটারের স্থিতি দেখুন।

    আপনিও পছন্দ করতে পারেন

    ·