Hans

Members
  • Content count

    23
  • Joined

  • Last visited

Everything posted by Hans

  1. Hi, I am trying to use the Papilio loader and an Intronix Logicport logic analyzer using Windows 7 at the same time. Trouble is that both the Papilio Pro and the logic analyzer use the FTDI serial chip, and the loader program mistakenly tries to talk to the logic analyzer instead of the FPGA board (and fails). The logic analyzer software does not have the same trouble, it detects its device and works. Is there any known workaround to make the Papilio loader talk to a specific USB device instead of using the vendor and device ID? Thanks, Hans
  2. Thank you for the explanation! With these instructions, I was able to run my logic analyzer and the Papilio Pro board at the same time, which really improves my productivity.
  3. It seems that the current papilio-prog source has code to select a particular device by description (-d), but that does not work for me on Windows (the FT_OpenEx call never succeeds when I specify a device description sting). On Linux it does work, so it seems to be an issue of the FTDI library that is distributed with the code for Windows, but I'm not a Windows programming expert. Any further pointers would be appreciated.
  4. Hans

    New Game: Pengo on Papilio Pro

    Thanks for the confirmation. I was trying to find out how the PS2 interfacing would be implemented and could not make sense of that. Your updated instructions work much better, and I'm going to move that to my joystick wiring now.
  5. Hans

    New Game: Pengo on Papilio Pro

    Thanks, Alex - I'll look into changing the top level to suit myself.
  6. Hans

    New Game: Pengo on Papilio Pro

    Hi, I have successfully built the Pengo hardware bitstream, installed the game in my Papilio Pro with the Arcade MegaWing and wired up a joystick and button according to the MegaWing user manual. The game demo runs fine, including sound, but no input is detected - Neither from the four buttons on the MegaWing nor from the Joystick (although the latter could be just due to the fact that I can't insert coins or start the game). Is there anything special I need to do to get the credit and start game inputs to work? Any hints would be appreciated. Thanks! Hans
  7. Hans

    NoteOff Issues

    I uploaded the RetroCade sketch to the papilio pro board with my Mac laptop, and that took the same time as on the Mac mini (60 seconds). For good measure, I tried the same on a Windows 8 PC using the same papilio pro board, and there the upload took something like 16 seconds. What time would I have to expect? -Hans
  8. Hans

    ZPU question

    This is not quite specific to the RetroCade Synth and if there is a better place to ask, please let me know. Is it possible to just set tozpuino_number_io_select_bits to, say, 5, in order to have more Wishbone I/O slots, or does such a change require other reconfiguration? In the RetroCade Synth hardware, most of the slots are already occupied and I would like to experiment with adding a few more SIDs or YMs. Thanks, Hans
  9. Hans

    Hardware description?

    Hi Jack, sorry to bother, but is the hardware description for the current RetroCade Synth bitstream available on github? I'd like to try out a few things, but the master branch of git://github.com/GadgetFactory/ZPUino-HDL.git does not seem to contain the right ISE project. Or does it? Any pointer would be greatly appreciated! Thanks, Hans
  10. Hans

    Hardware description?

    Jack, I helped myself with an edited version of the .prj file in the ZPUino-HDL/zpu/hdl/zpuino/boards/papilio-pro/S6LX9 directory, but I'm not sure if that'd be the right one. If you could commit and push yours, I'd appreciate it. Thanks! Hans
  11. Hans

    Hardware description?

    Jack, thanks for the extra info. There is still a missing file, though: aspirin 661_% makemkdir -p xst/projnav.tmp/xst -intstyle ise -ifn papilio_pro.xst -ofn papilio_pro.syrERROR:Xst:438 - Can not open file : papilio_pro.prj I will try using the IDE for uploading the changed files, but I hope to be able to work without it in the future. Is there any description on how papllio-prog must be used on the command line (i.e. how to load bitstreams and compiled sketches)? Thanks, Hans
  12. As a starter, I have changed the hardware so that the YM and SID are routed to separate audio outputs in addition to be fed to the mixer. As soon as I've figured out how to combine the changed bitstream and the sketch binary, I'll make that version available. Jack, do you have plans for the mixer already or can I look at it? I have never implemented a Wishbone peripheral before and this seems like a simple enough device for learning.
  13. Hans

    Hardware description?

    I'm sorry to have to require so much hand holding, but I think I'm almost there: Pending confirmation about the directory confusion (above), I can rebuild the hardware using ISE and I can also build the sketch using the Arduino IDE. The Bitstream ends up in a .bit file, and as far as I understood, the bitstream includes a boot loader that can load ZPU code from Flash. How exactly do I need to combine the .bit file and the (supposedly) .bin file that the Arduino IDE generates, and how do I program these into the board using papilio-prog? -Hans
  14. Hans

    Hardware description?

    Jack, thanks for the help! I'll happily avoid ISE, and the make based flow seems to work fine. I could not rebuild the bitstream in the directory zpu/hdl/zpuino/boards/papilio-pro/S6LX9/variants/retrocade though: aspirin 631_% pwd/home/hans/papilio/ZPUino-HDL/zpu/hdl/zpuino/boards/papilio-pro/S6LX9/variants/retrocadeaspirin 632_% makemkdir -p xst/projnav.tmp/xst -intstyle ise -ifn papilio_pro.xst -ofn papilio_pro.syrERROR:Xst:427 - Entry File papilio_pro.xst not found make: *** [papilio_pro.ngc] Error 1 In the directory zpu/hdl/zpuino/boards/papilio-pro/S6LX9, the build succeeds, and the two papilio_pro_top.vhd in these directories are identical, but I wonder if I'm on the right track there. Can you confirm? Thanks!Hans
  15. Hi, I have been experimenting with the MIDI implementation on the RetroCade Synth, and I have some questions: CC 86 (SID Volume) is documented to have a range of 0-15, but it seems to be 0-127, is that right? The SID waveform parameters (2-5) seem to be mutually exclusive. Would it not be better to have them as one parameter instead? Are the two "Pulse Width" parameters actually one 14 bit parameter? Any pointers or thoughts would be appreciated. Thanks! Hans
  16. Hans

    Audio noise issues

    Jack, I tried powering the board both through a high-quality powered USB hub and through a direct USB port on the machine. With both, the noise was clearly audible. When I used an external power supply, there was no issue. In a performance situation, there'd be no issue with using a separate power supply, but for development, the approach won't work. I'll try powering from an extra laptop tomorrow, just for another data point. I kind of suspect a ground connection issue, but I'm not much of an electronics buff. -Hans
  17. Hans

    Audio noise issues

    Hi, when I power the RetroCade Synth through a USB port that is connected to my main Audio machine, I have audible audio interference (high-pitched hissing, noise). This is independent of the USB port that I use, either directly on the machine or on a hub. When I power the synth through an external power supply, that noise is not present. I wonder if there is a way to get rid of this? Is this because the ground plane of the USB, by the way of the USB cable powering the board, is shared with the audio ground plane of the output jacks? I would like to keep the board connected to my computer so that I can reconfigure it and experiment with sketch changes, but the noise makes it kind of impractical. Any help would be appreciated! Thanks, Hans
  18. Hans

    What a huge amount of fun this is.

    Alvie, the CPU I have been toying around with is a MC6809 clone (http://members.optushome.com.au/jekent/system09/). J1 (http://www.excamera.com/sphinx/fpga-j1.html) is tailored more directly towards supporting Forth. Writing a Forth for the ZPU should not be very hard, and it would be kind of a nice thing as ZPU supports Wishbone (System09 does not, and J1 does not seem to support it either). The Forth (called MaisForth) that I've been using on System09 is not very generic. It is cross compiled with WinForth and I mostly used it in a black box fashion - I just ported it from the original mc6809 based hardware (the "MaisKastje") to System09. It assumes quite a lot about the CPU though, so I don't think that porting it to the 32 bit ZPU would make a lot of sense. At this point, I'll probably stick to GCC based development for RetroCade Synth hacking, but I'd like to play with J1 a bit, too. Cheers, Hans
  19. Hans

    What a huge amount of fun this is.

    bithead, please let us know when you're sharing your Forth core on github. I have been toying around with a Forth running on John Kent's System09 in a Spartan3 for a while (https://github.com/hanshuebner/rekonstrukt), and I like the idea of having an interactive system to play with very much. Thanks! Hans
  20. Hans

    Rebuilding Arduino IDE

    Jack, thanks for the corrected pointer to the IDE. I could build it with no changes on Linux, and with just a little fix I could then build the sketch on Linux. I've sent you a pull request for the minor issue that I have. Thanks again for your support! -Hans
  21. Hi, how can I rebuild the Arduino IDE for the papilio board? I have tried cloning git://github.com/GadgetFactory/Papuino.git and building that, but that just yields a standard Arduino build, the Papuino based hardware is not available in the Tools/Board menu. Any help would be greatly appreciated. Thanks, Hans
  22. Hans

    NoteOff Issues

    Thanks, Jack! In fact, with the new firmware and the MOD player disabled, the sound is predictable and clean - now the weakness of my demo score is in full effect, with the glitches having made it somewhat bearable If I understand correctly, the LCD and flash interface operate in programmed I/O mode, which would be a good explanation for the problems that these cause. Going forward, one would probably either want a separate CPU (or special purpose hardware) for each timing critical task, or have a multi tasking kernel with interrupts that allows lengthy I/O to run in the background. Any thoughts or plans regarding that? Thanks again! I hope I'll be able to myself up a proper Windows box soon so that I can join in the fun of hardware synthesis myself. The Mac is just not a viable platform for RetroCade development, as it seems. Cheers, Hans
  23. Hans

    NoteOff Issues

    Lee, I have some issues with the MIDI input handling, resulting in what sounds like CC messages being dropped. Can you share your findings? Thanks, Hans