Giter Club home page Giter Club logo

Comments (34)

freepdk avatar freepdk commented on August 9, 2024

@Skywalkerf34

I have one of this little series that give VDD 5.00 butVPP 0.65 volts ( screen and measured)

One channel of the opamp is not working correctly

  • check R8 / R9 / R13. At least one of them might have the wrong value or is not soldered correctly.

last one give vdd 3.66 and vpp 7.73

Most likely the negative or positive supply voltage for the opamp is not correct

  • check C21 / R24 / C13
  • check D2 / D3 / C3 / C14

from easy-pdk-programmer-hardware.

Skywalkerf34 avatar Skywalkerf34 commented on August 9, 2024

@freepdk
On the first one I double check all those resistors up to the MCU pin seem ok but not better,
so I change OP with same bad result :-[

from easy-pdk-programmer-hardware.

Skywalkerf34 avatar Skywalkerf34 commented on August 9, 2024

vref is 3.34

from easy-pdk-programmer-hardware.

freepdk avatar freepdk commented on August 9, 2024

Since you have a working device you should be able to check some things quickly:

  • start easypdkprogtest on the working device and measure + write down all voltages you see on the opamp pins
  • start easypdkprogtest on the problematic device and do the same
    => This will show differences and might lead to the solution.

from easy-pdk-programmer-hardware.

freepdk avatar freepdk commented on August 9, 2024

I added a picture with measurements from a good programmer:

easypdkprog_pcb12_troubleshooting

from easy-pdk-programmer-hardware.

Skywalkerf34 avatar Skywalkerf34 commented on August 9, 2024

@freepdk

Again, thanks a lot for your help
I order some new inductor that seem very similar to the reference you give in the BOM as the original manufacturer seem not popular here in my place.
It is supposed to be sent today by express and expected at home in about 4 days
I also order one new SOP adapter for security.
As I receive I will swap the inductor and have to check about all voltages you kindly print for me.
I Will give you news then

from easy-pdk-programmer-hardware.

freepdk avatar freepdk commented on August 9, 2024

More suggestions:

  • check if L3 soldering is creating a short on PCB
  • check orientation of U6 (MT3608), maybe it's rotated 180deg (pin1 of MT3608 is closest to the coil)
  • remove L3 and measure voltage on C1 / C4 => should have 0V without L3

from easy-pdk-programmer-hardware.

Skywalkerf34 avatar Skywalkerf34 commented on August 9, 2024

@freepdk

thanks a lot again for your kind support
I receive the new inductor and replace on the 2 "working" PCB
the results are exactly the same, with under voltage between C4 and D1
What the rule of Q1 that is driven by STM32 ? it should "drive the power in for the MT3608 right ?
Then what config I should run to check the voltage at that measuring point? for the moment I just plug the programmer to measure
If I remove R24 I notice that now voltage become almost 15v ( 14.4v exactly) on one of the board

ON the other I check all the points and everything is good except the 15 volts that keep also around 9 volts....
it look like the stepup MT3608 cannot give enough power to keep 15volts

from easy-pdk-programmer-hardware.

freepdk avatar freepdk commented on August 9, 2024

@Skywalkerf34

You should run the easypdkprog test which outputs 5V on VDD and VPP.
The transistor (and the 15V output) should be enabled as soon as you connect the programmer to to USB .

If I remove R24 I notice that now voltage become almost 15v ( 14.4v exactly) on one of the board

This is an interesting find. This suggests that (maybe after the opamp) something is pulling the output down (e.g. a small short - maybe solder bridge or pcb manufacturing problem, a shorted capacitor, ...).
You can try this theory by removing C2,C10,R15,R17.
easypdkprog might be unresponsive (since firmware might hang during startup if ADC measurement is missing) but you still should be able to make a measurement.

from easy-pdk-programmer-hardware.

Skywalkerf34 avatar Skywalkerf34 commented on August 9, 2024

@freepdk

Hi,
Hope you are going well,
I try to remove those one by one with no change
removing/putting back R24 confirm this problem on the second board too

Easypdktest was giving quite good value. the problem seems to be on 15v line

This is really strange and at that step of understanding your schematics, I don't understand where can come from...

from easy-pdk-programmer-hardware.

Skywalkerf34 avatar Skywalkerf34 commented on August 9, 2024

Should I try to remove R14 and R16 pull down resistor ?

from easy-pdk-programmer-hardware.

Skywalkerf34 avatar Skywalkerf34 commented on August 9, 2024

@freepdk

Removing R14 and R16 didn't change :-(

from easy-pdk-programmer-hardware.

Skywalkerf34 avatar Skywalkerf34 commented on August 9, 2024

@freepdk

I check the BOM and my boards and I notice that I use AS358MTR your BOM said AS358AMTR
datasheet just said "The AS358A has more stringent input offset voltage than the
AS358"
I am not sure what that mean as there is no other explanation about!

What do you think?
I think there is a mistake somewhere as all the boards are reaction same way, but without deep understanding the schematic it is not so easy to found out what's wrong

from easy-pdk-programmer-hardware.

freepdk avatar freepdk commented on August 9, 2024

@Skywalkerf34

  • AS358 and AS358A should make no difference
  • When you remove R24 you completely remove the opamp AND ALL FLLOWING components from the DCDC output. So it might be that the opamp just works fine but something else after the opamp pulls down the signal. For instance in case you would solder a resistor instead of a capacitor for C2 or C10 ... or there is a solder bridge at C2 or C10 or .... the output of the opamp would be pulled down which can pull down the complete voltage of the DCDC...
  • removing R14/R20 will not help at all. This are part of voltage divider for the ADC (voltage measurement) in STM32. In case you remove them then STM32 will receive to high voltage on ADC pins and this might destroy the STM32.
  • => Please remove the components I suggested: C2,C10,R15,R17.

from easy-pdk-programmer-hardware.

Skywalkerf34 avatar Skywalkerf34 commented on August 9, 2024

@freepdk
=> Please remove the components I suggested: C2,C10,R15,R17.

Already try without any better result :-(

from easy-pdk-programmer-hardware.

freepdk avatar freepdk commented on August 9, 2024

Can you take a high resolution picture of your PCB (from the most bad PCB you have) and attach it here?

from easy-pdk-programmer-hardware.

Skywalkerf34 avatar Skywalkerf34 commented on August 9, 2024

epdk_20211004182410
epdk_20211004182608
epdk_20211004182658
epdk_20211004182723
epdk_20211004182730

from easy-pdk-programmer-hardware.

freepdk avatar freepdk commented on August 9, 2024

@Skywalkerf34

  • C4 seems much to small (the bigger 1206 component was chosen for a reason). What cap did you use there (link to datasheet).
  • soldering and orientation of ICs is looking ok
  • picture 2 and 3 looks like some components (caps near the STM32 / resistors bottom left) might have solder bridges or are shifted to much and might create a short. You should add some flux and then hot air will pull them to correct positions and move the solder to to correct spots.

from easy-pdk-programmer-hardware.

Skywalkerf34 avatar Skywalkerf34 commented on August 9, 2024

@freepdk
Capacitors near STM32 checked,
I cannot find the information about the C4 I used that time so I try to change for one I currently use on my design 10µF tantalum.....no change keep around 9v :-[

from easy-pdk-programmer-hardware.

Skywalkerf34 avatar Skywalkerf34 commented on August 9, 2024

shit, I just discover that it was not 4.7µf but 47µf for C4.....

from easy-pdk-programmer-hardware.

Skywalkerf34 avatar Skywalkerf34 commented on August 9, 2024

I am using schematic not the BOM list every time, maybe I should change to stronger glasses ;-)

from easy-pdk-programmer-hardware.

Skywalkerf34 avatar Skywalkerf34 commented on August 9, 2024

@freepdk
So, I changed again C4 with 47µF polarized(chemical) capacitor result eep very similar with only 9.2 volts between D1 and C4

from easy-pdk-programmer-hardware.

freepdk avatar freepdk commented on August 9, 2024

@Skywalkerf34

Do you have an oscilloscope ?

from easy-pdk-programmer-hardware.

Skywalkerf34 avatar Skywalkerf34 commented on August 9, 2024

@freepdk
Yes for sure

from easy-pdk-programmer-hardware.

freepdk avatar freepdk commented on August 9, 2024

I will do some test measurements later which might be helpful to get a clue what's going on with your boards.

To be honest, when I created and assembled the first programmer it immediately worked. I only had a solder bridge at the STM32 which shorted the two output pins connected to the programming header.
Since all your boards are affected something really strange is going on. Curious to find out :-)

from easy-pdk-programmer-hardware.

Skywalkerf34 avatar Skywalkerf34 commented on August 9, 2024

@freepdk

This append to me time to time doing new prototype design....It works immediately and confirm the design... but going to pre-serie then problem occurs ;-)

I do electronics dev for many years from 80x51 to microchip then ATMEL but now almost everything with ESP32.
I have my own company and small assembly line for SMT.
Now I was looking for cheap MCU for very light (or cheap) project.

I really appreciate your kind help to solve the problem

from easy-pdk-programmer-hardware.

freepdk avatar freepdk commented on August 9, 2024

@Skywalkerf34
I took the oscilloscope and captured the swing of the DCDC (top of the coil or left of the big diode).
EASYPDK-OSC-DCDC

Without R24 I expect you to see the exact same ==> DCDC IC and circuit works fine.

With R24 installed the opamp is involved... and in case the waveform looks much different then most likely there is a short / malfunction with the opamp or the opamp is rotated 180°.

I checked your pictures again and your opamp does not look at all like a genuine AS358 or AS358A.
The one I got looks exactly like on all the pictures I could find when using google / duckduckgo picture search.

Maybe you got some bad ICs?

For example:

as358a
as358m

from easy-pdk-programmer-hardware.

Skywalkerf34 avatar Skywalkerf34 commented on August 9, 2024

@freepdk
WIN_20211007_21_04_49_Pro
here is a close view of the OP on my boards

So I check my order that really was for AS358MTR

from easy-pdk-programmer-hardware.

freepdk avatar freepdk commented on August 9, 2024

@Skywalkerf34

The labeling suggest that this is a "LM358" from Texas Instruments.
However all genuine Texas Instruments LM358 ICs I have seen always have a good visible dot for pin 1. Also the Texas Instruments logo looks a bit strange as well.
In case this is a relabeled (cheap) opamp, chances are high that it will not work well / will not work at all with voltages >5V.

from easy-pdk-programmer-hardware.

Skywalkerf34 avatar Skywalkerf34 commented on August 9, 2024

@freepdk

Thanks again for your support
I am convience there is global problem somewhere, and we are pointing the OP level part for several time.
I was out those days, Will will try to measure the output of the step-up but what was about clear is that without R24 wich power the OP the voltage was correct.
On same way I put back the resistor and remove OP and get same result (right voltage)

I will put order for some fresh new OP to an other shop and see what append then

Will keep you informed as I get some result

from easy-pdk-programmer-hardware.

freepdk avatar freepdk commented on August 9, 2024

@Skywalkerf34
Did you solve the problem?

from easy-pdk-programmer-hardware.

Skywalkerf34 avatar Skywalkerf34 commented on August 9, 2024

from easy-pdk-programmer-hardware.

Skywalkerf34 avatar Skywalkerf34 commented on August 9, 2024

@freepdk

Hi,

I receive the new OP and change on one of the most "working" board but no change :-[
So I come back to one I put on the side that was given already a bad vpp value and discover that that board give good 15 volts and except vvp other voltage you kindly indicate was about ok. So I check that last one an just press a little more pin18 of STM32...tada vpp come good then :-)
So I set a pfs154 on the adapter and probe => work !
erase => work !
program helloword => work !
start => hello world!

So, by the end, This is just my original wiring of the board that work good now with the LM358 and that "small capacitor on C4 and some inductor I bought at the beginning.

Now, thanks to your help, I have at least ONE programmer that works and I can now investigate why the other didn't run well up to now.

Thanks again for all your patience and great help to guide me on the way to fix

from easy-pdk-programmer-hardware.

Skywalkerf34 avatar Skywalkerf34 commented on August 9, 2024

@freepdk
I am still facing problem on the 4 other Programmer can you be kind to explain the purpose of Q2 and Q1 and confirm D2 and D3 are connected to Q2 ( didn't find information on the schematic)

from easy-pdk-programmer-hardware.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.