• Welcome to Andy's Workshop Forums. Please login or sign up.
May 18, 2024, 12:28:17 am


SMF - Just Installed!

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - Andy Brown

Quote from: knightcrusader on April 30, 2015, 10:03:57 am
Quote from: BenGman on April 08, 2015, 06:08:40 pmWRT front IO connectors... I realised that the yellow USB header controls 3 USB ports instead of the regular 2, but I still have not figured out the pinouts

I think I have the pinout! My buddy has a Z600 with the same connector and he was nice enough to take a multimeter to the USB ports and the connector:

That's good news. So from that it appears that HP's colour coding is:

Red = VBus (+5V)
Black = Ground
Green = D+
White = D-

Your diagram needs to be flipped to visualise it directly on to the motherboard header because pins 1 and 2 on the left of the yellow header are 5V (Red B/Red C on your diagram).
Quote from: knightcrusader on April 27, 2015, 12:54:53 pm
Quote from: BenGman on April 08, 2015, 06:08:40 pm
WRT front IO connectors... I realised that the yellow USB header controls 3 USB ports instead of the regular 2, but I still have not figured out the pinouts

I'm confused about the USB headers on the motherboard. Are the two (well, 1 and a half) blue ones (P26 and P27) to the left of the yellow header not standard USB? Or are we trying to get more USB ports out through the yellow header labeled P24?

OK so I need to apologise to Ben for completely forgetting how I'd set my USB connectivity up. I'll bet he never wants to see another multimeter again by now  ;)

As you can see from the attached photograph I'm running one of my front panel 2-port cables to part of the yellow P24 connector and another double port cable to the P26 header. I'm not using the single port header - P27. Unfortunately I can't remember how I knew the pinout to P24 or whether I just got lucky with a hunch  :(

I also have a USB 3.0 add-in card in one of the PCI-e slots.
Quote from: BenGman on April 08, 2015, 06:08:40 pm
Still no luck finding a serial # example.

This is mine: 2UA1210JMN. Someone posted it on an internet support forum ;D It has no actual use to us except to shut that startup warning up. I guess HP support would use it to link back to the actual unit that was shipped to the customer.
Quote from: Devon Guyden on April 22, 2015, 03:47:12 pm
Thank you for creating such a detailed explanation of the problem and a great library. After going through the startup code that I had working on the arduino and testing it with the code for the LG_KF700 i have come to find that it is completely different.  I made a few changes and it worked immediately, including all of the tests (except for sleep which for some reason seems to permanently vertically flip the lzg tests and breaks the other ones, but not really an issue). Thank you for the help 

The sleep/wake issue is likely to be because some of the register contents are lost during the low power mode. It should be a simple enough job to reset them to their correct settings.

If you have a working initialise() method for your panel then I'd be happy to integrate into the library - feel free to post the modified code here and I'll work on the integration steps.

I have realised their was very little on the
tm032ldh05 using the HX8352 in either of the manuals about these values and even less about the steps required. Can I ask where does one normally find such information?

Finding complete panel information is much harder than finding the controller datasheet, as you've discovered. And often when you do find something it will be a badly photocopied paper sheet only partially translated from Chinese to English. I normally look for working sample code that shows the reset-initialise sequence. If you've got that then the rest usually falls into place.
Quote from: Kyle D. Williams on April 19, 2015, 04:32:30 pm
Are their any possible suggestions regarding quality?

This could be the gamma or it could be one of the register settings that control the panel power and driving levels. It's easiest to try the gamma first. If your ST code has these two lines then simply delete them. Gamma settings are unique to the panel and it may be that yours has perfectly good default settings.

If that doesn't work we need to look at the driving settings. The settings I used were designed to be correct for the LG-KF700 phone and are in the initialise() method starting here. If you review the register values being set and compare them to those set by the Arduino initialiser then you should be able to spot where your panel is different.

As you can see from the interface definitions it is easy to create your own panel traits class with an initialise() method and declare a type to use it.
Quote from: BenGman on April 17, 2015, 02:41:56 pm
This is too tedious, there must be a better way. Anyone else having any success?

If someone reading this has a real Z800 then they could buzz out the pins on the cable for you. Alternatively, cable assemblies do appear on ebay from time to time. e.g. this auction. The part number for the cable set is 468626-003.
Quote from: Kyle D. Williams on April 15, 2015, 07:36:23 pm
I've started a hardware project in which I'm attempting to connect an LCD to the STM32F407 board. The display controller is an HX8352a.I've had been having difficulty producing anything worthwhile on the screen however. I have also seen on a lot of sites that the ports being used on the discovery board seem to vary. Can I ask if their is any reasoning to not simply have all of the data pins on the same port? Also I've tried converting a handful of arduino code to the board but it seems the lcd screen responds to nothing besides switching the backlight on or off, does anyone have any suggestions on anything i can do to get some event from the screen?

Hi Kyle, The HX8352A is a controller that I have used in the past and I know that it can be driven by the F4 Discovery board. If you've read my article on the LG KF700 then you will have seen the video of it running on the F4 Discovery.

Are you using my stm32plus driver (see example)? If so then what are you seeing? How are you powering the board? The discovery has a maximum current limit of 100mA (see section 4.3 of UM1472). If your particular board is powering the backlight as well as the logic then you may be close to that limit.
Quote from: Kenjutsu on April 15, 2015, 03:10:55 am
Have you had any success in getting it to work with the STM32F103C8?

Hi, have you tried one of the examples on the F103C8? If you have tried and are having problems then please let me know and I'll try to help.
Quote from: JonMS on April 15, 2015, 11:22:35 am
Hello can one of you measure your motherboard for me? I'm thinking about migrating my Z800 into a Corsair 900D and I need to know if the board will fit the tray. Thanks!


Remember that the PCIe slots need to line up with the case slot fixings as well.

I just took a look at the 900D and I thought my DS6 was big - the 900D is enormous!
Quote from: BenGman on April 10, 2015, 12:55:44 pm
I have not done testing here yet, but I just saw in Andy's photo that he has the Front Audio working; so I can't understand why my case audio jack (not sure if its AC97 or HD), nor the 2 different model/features 5.25" Multipurpose Panel Front Audio connections (but the specs on the newest say its HD Audio) are not recognised by the Z800 MB.

My front panel has both AC97 and HD audio connectors coming from it. I ignored the AC97 connector and plugged in the HD audio connector to the board. The default Windows 8.1 install gets me Microsoft drivers that only recognise the green speaker socket on the motherboard riser at the back.

To get the front panel jacks working I had to install the drivers from Realtek dated 2014/5/21. After installing those it gave me the "Realtek HD Audio Manager" (screenshot attached) that can be used to play around with the configuration and it automatically detected the insertion of headphones into the front panel with a system tray notification.
Quote from: digitaltrousers on April 11, 2015, 04:59:16 am
So I think I'm ready to give up on this Z800 board.

Before you give up on the board do you have access to another PSU that you can try? I know that yours is a 1050W and that ought to be more than enough if Watts are all that matter. The reason I ask is that someone else over in the article comments section just solved symptoms like yours (no POST) with another PSU and you did mention strange power supply behavior in one of your posts.
I kept connecting different fans to the system/chassis fan and was annoyed by still getting fan not found then I saw that the MB wants 2 fans connected to the same pin. I think I could get 2 fans working by joining 12V and ground.

You don't mean shorting 12V to ground do you? I'm sure you must mean something else!

(still fails at prime95 though)

Have you watched the temps using "CPUID HWMonitor" while it's running? It'll show memory temperatures. Before I installed a fan above my memory it was running at 65C under load. Now it's down to 50C under full load for 20 minutes of video compression using Handbrake.

Anyone has the pinout for the memory fans? I want to make sure before I connect the wrong pins.

It should be safe to test the pins with a multimeter while the PC is on to find 12V and GND. I bet you find 2 pairs of 12V/GND adjacent to each other with the remaining two being shared PWM and TACH pins.

I also have no MB serial number so I get that invalid serial number message on startup. What is the format for the serial number?

If you do some googling for the serial number error message you can find someone who's posted theirs into a forum. It'll silence that warning.

Quote from: BenGman on March 27, 2015, 04:10:56 pm
But cannot install Windows 8.1 Pro with WMC.

Can you give more detail about the problem? I'm running 8.1 pro (without WMC) on an SSD attached to a 3rd party SATA-3 card as you can see in the main article.
I frequently receive emails from people asking if I could do a step-by-step guide for beginners wanting to get into STM32 development. When you've been doing this for years it's easy to forget that there can be a significant learning curve involved for those that want to get started with the open source route and that's a shame because you can create a powerful development environment that's easily a match for the commercial offerings.

Anyway, I spent some time over the weekend with a freshly minted Windows 7 x64 virtual machine and did everything from scratch, documenting each step as I went along. You can read the article here. It'll guide you through the entire process and at the end you'll have a totally free compile/edit/debug environment ready to go off and make your own projects.

This article covers Windows; after all there's only so many hours in a weekend. I do plan to follow up with the same process for Linux, probably targeting Ubuntu unless anyone feels strongly that Ubuntu's not a popular Linux development platform.
stm32plus C++ library / stm32plus 4.0.0 is released
March 23, 2015, 02:45:26 pm
In case you hadn't already seen it, stm32plus 4.0.0 is released. This major milestone marks support for USB devices on the F4. If you've got any questions, please feel free to ask.