Jump to content

Hawkeye

Administrators
  • Posts

    3,630
  • Joined

  • Last visited

  • Days Won

    36

Posts posted by Hawkeye

  1. Please forgive my unstructured initial problem report. I´ve got 2 issues:

    1) some, but not all characters are replaced by alphabetically close characters (TKs MBSeq Build) - i wanted to fix this with a char replacement hook, but then this happened:

    2) builds from my toolchain behave differently than TKs builds - my display stays dark after a power cycle

    Thanks and sorry for double posting.

  2. Hola,

    I tried to connect the abovementioned Futaba VFDs (datasheet) to the Core32... when running the current MBSeqV4 app, some characters are scrambled, it appears that always a few of the characters are replaced by different ones "close to" the original when examining the character table... an example photo is shown in

    The cabling is fine, i built another, shorter cable with the exact same problems.

    Trying to hack things, I then installed the Windows-based dev toolchain, which works fine (respect on the code documentation, svn structure and nice build system!). When I build an MBSeqV4 or the tutorial #20 (lcd test) and I power-cycle the Core, the display stays dark (the mbseq app runs though, it can be queried via mios studio).

    When I don´t power-cycle after flashing tutorial #20 from a TK-built SeqV4, the display stays on and shows increased garbage - it creates "animated" strange looking special characters...

    There seems to be a difference between my build and TKs build... when I build apps, things are getting much worse... :-( - are the any defines/environment variables which i am missing (i set clcd as lcd environment variable and the rest of the environment variables from the toolchain documentation).

    Edit: I suspect some timing issues... could it be that my toolchain (gcc 4.4 based) produces differently optimized code than TKs variant which is faster or slower leading to different behaviour on the vfd? I saw some loop-based sleep code and maybe that got optimized away?

    Thx for help!

    Peter

  3. I just tested with disconnected D0-D3 (hoping for a forced 4-bit mode), but that increased the display garbage (seems like it still uses 8-bit mode).

    Grounding D0-D3, while D4-D7 are connected blanks the screen.

    Connecting all 8 data wires looks partially good:

    ca 50% of characters are ok, ca 50% are "shifted" by a few ASCII digits. E.g. an "e" becomes a "d", a "C" becomes an "A".

    Any suggestions how to fix that?

    Has anyone read the thread with the partially replaced characters lately? - I searched for two hours today and cannot find it, although i know it is there - this makes me nervous :-)

    Thx!

    Would be willing to adapt an app_lcd driver, but I just don´t know yet how to start... any pointers are welcome...

  4. random mental output:

    * Do the 6581s now work in core 4/sid 7+8?

    * I don´t know how the 6581s behave, but have you jumpered the audio in headers, so that the sid audio in pin is grounded - on the 8580 i get some static noise or 50hz hum if left open, but not as extreme as you mentioned.

    * Are your cores installed in the correct order - 0 right ... 3 left?

    * Have you uploaded the same (newest version) of mb6582.hex to each core in mios studio, setting the midi jumper on the baseboard and the address in mios studio so that the right core receives midi data?

  5. Couldn´t help and work a little bit ahead of time (the vfd mbseq photo tutorial currently lags behind a step :)) - the vfds look awesome, really really cool, something my cam is not able to capture. currently i do not have the core32 flashed with mbseqv4, so i hope the character problems are gone after the boot loader is finished... i read about these problems a time ago here in the forum, some characters were displayed as double characters... well, we will see how this can be fixed :)

    thanks for the encouragement, TK, i am so glad i bought them ;-)

    edit: unfortunately, after uploading mbseqv4 in mios studio, the problem did not go away... any hints are welcome :)

    btw. the display should be in motorola mode by default - it looks like some characters are shifted, e.g. "Notd" instead of "Note" and "Ahn. 0" instead of "Chn. 0".And I am sure I read about this not so long before, but can´t find it... :-(

    post-7895-038017600 1289696985_thumb.jpg

  6. Michael, nice idea... what are your thoughts about "stuck" keys and general lifespan for a 256+ button matrix?

    Bilderbuchi, i guess the place may be needed for other switches, at least if Michael is going for a really tiny BLM.

    I am still pondering on the latex membrane idea, cheap transparent rubber feet for the buttons... and bicolor SMD LEDs next to those really nice tactile switches.

    Greets,

    Peter

  7. Step 8: Connecting The Power Supply and Powering On for the First Time :)

    Parts Used:

    Core32 Module (from step 5)

    MBSeq PSU (from step 2)

    1541 power socket (from step 1)

    1541 serial data cable (used as power cable)

    5-pin PCB Interconnector plug, jack and cable (e.g. from Reichelt)

    2-pin SIL housing and headers (power connector to J2 of the Core32 PCB) (e.g. from Mouser)

    A few centimeters of slightly-thicker-than-ribbon-wire wire

    A multimeter

    Your favorite soldering equpiment

    Description:

    * Unscrew the lower MIDI connector backplane and solder all components, so that they won´t fall off (photo 1).

    * Now plug in the MBSeq PSU from step 2, flick the power switch and measure the header pins with your multimeter switched to AC voltage measurement. You should be able to determine two GND pins, two +5V pins, one +12V and one -12V pin.

    * Solder the connections between the power socket and the power switch as depicted in photo 2. Attach to one +5V pin and one GND pin.

    * Add a 5-pin PCB interconnector header as visible in photo 3.

    * Now solder the connections from the power switch to two pins of the 5-pin PCB interconnector. Once again, use your multimeter to measure which of the pins is +5V and which is GND, when powered on. Plug in the interconnector plug and connect to J2 of the Core32. You can use a two-pin PCB-interconnector for that or SIL headers and cases.

    * If you want to test, you can temporarily crimp a LED in a 2-PIN SIL housing and flick the switch. If the LED flashes three times and then stays on, the Core is alive and you did well - have a cold beverage to celebrate :-).

    Note:

    Using the slightly-thicker-than-ribbon-wire wire for the power rails is probably pure insanity and may not be necessary...

    post-7895-046298900 1289624055_thumb.jpg

    post-7895-001219400 1289624064_thumb.jpg

    post-7895-074761300 1290904405_thumb.jpg

  8. Step 7: Core Case Works: Prepare for Core32 and the AOUT_NG Module

    Parts Used:

    10x20cm Vector board (any electronics store or Reichelt)

    Core32 Module (from step 5)

    4x IIC MIDI PCB (AVI Showtech)

    1x AOUT_NG PCB (AVI Showtech)

    12pcs M3 Nylon washer (same as in step 6)

    6pcs M3 20mm hex standoffs (any mechanical/electronics store or Reichelt)

    6pcs M3 8mm hex standoffs (any mechanical/electronics store or Reichelt)

    4pcs M3 5mm hex standoffs (from step 6)

    12pcs M3 12mm screws (from step 6)

    4 pcs M3 8mm screws (any electronics store or Reichelt)

    8 pcs M3 nut (from step 6)

    Dremel tool with cutting wheel

    Bench drill or hand drill with 2mm, 3mm and 4mm drills

    Mechanical pencil (0.5mm)

    Description:

    * Using the dremel, create a vector board with size 100mm x 175mm

    * Place the core and two MIDI modules on the vector board as shown in photo 1. Mark the six standoff zones depicted as crosses in photo 2.

    * Turn over the 1541 bottom case and lay the prepared vector board on top, aligning it as shown in photo 3. Note: Take your time aligning... make sure, that the vector board, as well as the modules will fit in the case from the other side as depicted in the following pictures.

    * Mark the six drill spots with a mechanical pencil, make sure not to move the vector board while marking :-).

    * Drill the case, first with a 2mm, then with a 3mm drill (photo 4). In the most unlikely event that something does not fit, you can use 4mm drills to create more movement room for the screws.

    * Drill the vector board, first with a 2mm, then with a 3mm drill.

    * Hold your breath and install, inserting a 12mm screw from the back, adding a nylon washer, adding the Core32 module, adding 20mm standoffs. The two right standoffs require two nylon washers to compensate for the thickness of the Core32 PCB. Attach the upper vector board with 12mm screws from the top and 8mm hex standoffs. See photo 5. Fits neatly :-).

    * Mark additional drilling holes and the cutout zone for cable gateway on the vector board as shown in photo 6.

    * Take off the upper vector board, drill at the marked positions with a 2mm and then a 3mm drill and cut the cable gateway area with the dremel tool. Test-install the AOUT_NG PCB by putting in 12mm M3 screws from the back and adding 5mm spacers, add the PCB and fasten with M3 nuts.

    If you are as eager as myself to fire up that core, follow the next steps, where we will cut the preparations and concentrate on just that :-).

    post-7895-086174200 1289606012_thumb.jpg

    post-7895-003004800 1289606021_thumb.jpg

    post-7895-069286000 1289606029_thumb.jpg

    post-7895-029569100 1289606041_thumb.jpg

    post-7895-005246800 1289606047_thumb.jpg

    post-7895-041996100 1289606068_thumb.jpg

  9. Step 6: Core Case Works: Preparing for the MIDI Socket Backplanes

    Parts used:

    1541-II case (from step 1)

    1541 Power Switch (from step 1)

    1541 Power Jack (from step 1)

    10x15cm Vector board (Any electronics store or Reichelt)

    10x PCB-mounted MIDI jack (e.g. AVI Showtech, can use the MIDI jacks that were part of the Core32 module package and the MIDI IIC module packages)

    6pcs M3 nylon washer (any mechanical store or Mouser)

    6pcs M3 nut (any mechanical store or Reichelt)

    6pcs M3x12mm screw (any mechanical store or Reichelt)

    6pcs 5mm M3 hex standoff (any electronics store or Reichelt)

    6pcs 30mm M3 hex standoff (any electronics store or Reichelt)

    Bench drill or hand drill with 2mm, 3mm and 4mm drills

    Dremel tool with cutting wheel

    (Mechanical) fret saw or hot wire cutting tool

    Sanding Paper (K180 class) attached to a flat thin surface

    Mechanical pencil (0.5mm)

    Description:

    * Using the dremel with a cutting wheel, create two pieces of vector board with sizes 150x45mm and 138x45mm. Save the 10mm residue.

    * Test component placement on the vector boards as shown in photo 1. Use a 2mm drill for the stabilizing pins of the usb socket. Remove the power switch again.

    * Mark a few standoff zones as shown in photo 2 and use a mechanical pencil to draw the drill positions in the case. Drill the case and with a 2mm drill, then with the 3mm drill. Also make sure that the standoff positions do not conflict with the 1541-II rubber feet... I had to relocate the position for the lower left standoff hole. Drill the standoff points on the vector board with a 3mm or 4mm drill.

    * Test-install the lower backplane by inserting 12mm M3 screws from the bottom, add a plastic washer and a M3 nut to achive the correct height, then add the backplane vector board, and then a 30mm standoff (photo 3).

    * Draw in saw zones for the fret saw with a pencil by turning the assembly on the side and estimating required space. Remove the backplane again (photo 4) and saw. You can use a fixed guide for the linear saw movements (photo 5), but it will likely not be 100% perfect (photo 6). Use sanding paper on a flat thin surface to correct the worst irregularities (photo 7)

    * Drill the upper vector board (I used a 3mm drill this time, as the 4mm was a little big) and test-install the upper connector backplane by adding a row of 5mm hex spacers and plastic washers on top of the 30mm spacers, adding the vector board screwed with 12mm screws (photos 8 and 9)

    * Repeating the above steps, mark the saw zone of the 1541 case top, saw, sand and install (photo 10). Note, that for extra bling, I decided to leave some room on the right side of the upper vector board for a later LAN port extension - therefore the larger cut out.

    Behold the world´s - first 1541-II with USB connector and 10 MIDI ports. :-).

    post-7895-095956400 1289585924_thumb.jpg

    post-7895-061070500 1289585934_thumb.jpg

    post-7895-027775900 1289585943_thumb.jpg

    post-7895-093367300 1289585948_thumb.jpg

    post-7895-043088800 1289585958_thumb.jpg

    post-7895-085578200 1289585962_thumb.jpg

    post-7895-065114000 1289585968_thumb.jpg

    post-7895-025815200 1289585978_thumb.jpg

    post-7895-047206800 1289585987_thumb.jpg

    post-7895-079296100 1289585991_thumb.jpg

    • Like 1
  10. it is really not that difficult or time-consuming to build your own and as your newborn will keep you up all night, you have more than enough time ;-)

    (self advertisment: you can always follow my on building a custom seq v4 - every step explained, every part listed :))

  11. Step 5: Core32 - Adding "the Rest" aka Pots, R15, Resistor Arrays, SIL Headers, T1, DIL Housings, Polarised Capacitors, 3.3V Regulator

    Parts used:

    Core32 Module PCB (from step 3)

    Core32 Parts Kit (from step 3)

    Additional SIL header (40 pin sil header e.g. from Reichelt)

    Adhesive Tape (e.g. tesa tape)

    Description:

    * Insert the 10 kOhm trim potentiometers into P1 and P2 and solder (photo 1)

    * Bend the remaining 470 Ohm resistor and insert into R15 as shown in photo 2 and solder.

    * Insert a 1k Ohm resistor network ("102") into R33 aligning the point to the left (as marked on the PCB), insert the 10k Ohm resistor network ("103") into R2 also aligning the dots. Tack with tape temporarily (photo 3) and solder. If you want to check with your multimeter, measure the "dotted" pin against the other pins.

    * Insert and solder (can tack them with tape) the external connector SIL headers (you can break the 40-pin connector into smaller pieces by using your fingernail or a knife) as follows:

    
    2-pin into J1 - external power input (we won´t use it) 
    
    2x2-pin into J22 - connection to the off-board USB socket
    
    2-pin into J2 - 5V input from SEQ PSU (step 2) - for sanity reasons, I have replaced the standard header later on by a polarized connector - you can do that now :-)
    
    4-pin into J4 - IIC MIDI Module connector
    
    4x3-pin into MIDI IN1, OUT1, IN2, OUT2 - connection to the off-board MIDI sockets
    
    3x3-pin into J24, J25, J26 - voltage selectors for serial ports
    
    2-pin into J27 - if jumpered, the bootloader holds (not executing a crashed app), enabling usb reflashing
    
    3-pin into IC6 - connection to the off-board 7805 voltage regulator
    
    2-pin into STATUS - connection to the off-board power LED
    
    

    * After adding all headers, you can compare your PCB with photo 4.

    * Bend the legs of the BC337 transistor and add it to T1 so that the flat side of the transistor points to the top of the PCB and solder (photo 5)

    * Now it is time to populate all DIL connector housings, just populate according to the notch indicators on the board. It is not necessary to populate J3. Turn it over and solder, do it quickly and in "rows".

    * Populate C10 with the 47µF capacitor aligning the minus pin of the cap to the other pin than the "+" marked pin on the PCB. Likewise, populate C13 with 100µF and C17 with 10µF. Turn over and solder. See photo 6.

    * Insert the 3.3V regulator LF33CV to IC7, aligning the metal outside to the left and solder (photo 7).

    * Populate and solder C8 with the 2200µF capacitor aligning the minus pin of the cap to the other pin than the "+" marked pin on the PCB.

    * Finished soldering, now let´s insert the other parts...

    * Insert the two 6N138 optocouplers into IC4 and IC5 aligning the marked dots to the left

    * Insert the 74HC595N into IC2, aligning the notch to the top

    * Do not fill R30 SIL sockets

    * Jumper J24 to 3.3V (SD Card)

    * Fill R31 SIL sockets with the 220Ohm resistor network ("221") aligning the dot to the dot on the PCB

    * Jumper J25 to 5V (DOUT/DIN modules)

    * Fill R32 SIL sockets with a 1kOhm resistor network ("102") aligning the dot to the dot on the PCB

    * Jumper J26 to 5V (AOUT module)

    * Turn over the PCB and create two connection wires as shown in photo 8. This direct capacitator connection is necessary when more than 100mAs are used by the +5V chain, and 5V are fed directly into J2.

    * Finished work on the Core32 PCB :-) Smile! Grab a cool drink and compare your result with photo 8.

    Notes:

    We will populate the MIDI ports, USB ports, power socket, USB socket and the power LED on separate boards, so we added additional headers.

    The 5V voltage regulator 7805 is not necessary as we provide the core by +5V power directly

    We do not need to populate J3 (JTAG wiggler) which provides a means for flashing the STM32, SmashTV has already done this for us :-)

    We will not add the J17 header, as we always want power from an external power source (not populating this jumper avoids problems when accidentally usb power was selected there and an external power source was connected)

    Also, J18 is unpopulated, as this would be a connector to the CAN bus, which cannot operate parallel to USB.

    Finally, J23 is unpopulated, as this one is only necessary for RS232-bootloading, which we are not keen on.

    post-7895-090678100 1289266549_thumb.jpg

    post-7895-091984400 1289266559_thumb.jpg

    post-7895-062164600 1289266569_thumb.jpg

    post-7895-004732700 1289266582_thumb.jpg

    post-7895-027925600 1289266589_thumb.jpg

    post-7895-079538600 1289266601_thumb.jpg

    post-7895-050593500 1289266608_thumb.jpg

    post-7895-024300600 1290896651_thumb.jpg

    post-7895-002069300 1290896661_thumb.jpg

  12. Step 4: Core32 - Solder Ceramic Capacitors, SIL Sockets, Crystal, Bridge Rectifier and IC Sockets

    Parts used:

    Core32 Module PCB (from step 3)

    Core32 Parts Kit (from step 3)

    Adhesive tape (e.g. tesa tape)

    Description:

    * Lift the PCB, so that you can easily drop components.

    * Drop two 33 pF ceramic capacitors at C1 and C2.

    * Drop nine 100 nF ceramic capacitors at C3, C4, C5, C6, C7, C11, C12, C14, C16.

    * Drop a 330 nF ceramic capacitor at C9.

    * Photo 1 shows the proper locations for these ceramic capacitors.

    * Drop the 5-pin SIL sockets at R30, R31 and R32.

    * Drop the 12 MHz crystal at Q1, the bridge rectifier at X1 (align flat side to the left), the 16-pin IC socket at IC2 (align the socket notch to the top) and the 8-pin IC sockets at IC4 and IC5 (aligh notches to the left).

    * Photo 2 shows the proper locations for the above components.

    * Tack everything with adhesive tape, turn the PCB over, cut the wires and solder.

    post-7895-069444300 1289180319_thumb.jpg

    post-7895-038339100 1289180346_thumb.jpg

×
×
  • Create New...