Shop OBEX P1 Docs P2 Docs Learn Events
RAM fails verify — Parallax Forums

RAM fails verify

JonathanJonathan Posts: 1,023
edited 2015-01-14 01:49 in Propeller 1
Hi All,

Got my new Prop boards. I forgot to order sockets for the Prop, so I just soldered it right to the board. All was well, hooked up some DS18B20's and was having fun. SOldered a few more components on and now the RAM refuses to verify. I can't swap the Prop out to test. Are there any possibilities other than a dead chip? Prop plug works fine on other Props.

Thanks!

Jonathan

Comments

  • RobotWorkshopRobotWorkshop Posts: 2,307
    edited 2015-01-03 13:22
    How are you powering the Propeller? Is the supply at the Prop chip a solid 3.3V? Is there proper filtering on the power supply? Also, what kind of crystal, etc do you have?

    A picture of the board would help.

    Robert
  • JonathanJonathan Posts: 1,023
    edited 2015-01-03 13:47
    Robert,

    Thanks! I checked and indeed the voltage was a little low. I didn't have the vreg I needed so I am powering it through a couple of wires. I added a 100uF that I hadn't put in yet, and bingo, it works!

    Thanks, made my day.

    Jonathan
  • Heater.Heater. Posts: 21,230
    edited 2015-01-03 14:00
    You have me worried...

    Get a regulator. Make sure you have both positive and both negative power pins of the Prop connected to the correct power rails. Use decoupling capacitors across both of those, 100nF say.
  • JonathanJonathan Posts: 1,023
    edited 2015-01-03 14:06
    Heater,

    Don't worry.The regs show up on Wednesday. Just scabbing power from a breadboard till then. I had to know if the boards I had made worked. The board has all VDD and VSS pins connected and decouple cap across the power. I had a dodgey power connection and hadn't put the 100uF in yet.

    Jonathan
  • Heater.Heater. Posts: 21,230
    edited 2015-01-03 14:19
    OK, Cool.

    Let's see some pics of your boards when they are finished...
  • JonathanJonathan Posts: 1,023
    edited 2015-01-03 15:07
    I'll try attaching a pic. This board is going to be a hydronic heating controller. I like using RJ11 and RJ45 connectors for sensors and such.


    NCM_0202_rsz.jpg
    800 x 600 - 51K
  • Cluso99Cluso99 Posts: 18,069
    edited 2015-01-03 17:29
    Nice pic but you are lacking decoupling caps. The 0.1uF blue cap (presumed) at the top end of the P1 isn't doing any good decoupling the input lines at the other end of the P1.
    Ideally at the input power end you should have a bulk capacitor (47+uF electrolytic), a 1-10uF Tantalum, and a 0.1uF (100nF) X7R mono preferred. If the 0.1uF and tantalum are at the end of the prop this will be OK but I would like another 0.1uF (depends on layout) at the other end. Since the EEPROM is a distance away from the prop it also needs its own 0.1uF.
    Of course, my assumptions are based on what I perceive the pcb tracks to be since you have not posted a pic of this.
  • JonathanJonathan Posts: 1,023
    edited 2015-01-03 17:45
    Cluso,

    I do ahve a100uF on the input and place for a .1. No room for a tant or the decoupe near the eeprom. I can scab a decouple cap on the tracks of the EEPROM and maybe the tant on the inout. I'll chage the board for future runs. Thanks a lot for the advice! And I'll take as much as I can get.

    Jonathan
  • Cluso99Cluso99 Posts: 18,069
    edited 2015-01-03 19:00
    Can you post a pic of the underside of the pcb?
    Perhaps you can put the caps under the prop on the underside??
    What are you using for the power supply?
  • AGCBAGCB Posts: 327
    edited 2015-01-04 16:45
    Jonathan wrote: »
    This board is going to be a hydronic heating controller.

    NCM_0202_rsz.jpg

    Can you tell me more about your hydronic heating controller. I have a rather involved hydronic heat system for room heat and hot water but it is not uC controlled. It is however working fairly good but not quite what I would like.

    Thanks
    Aaron
  • Peter JakackiPeter Jakacki Posts: 10,193
    edited 2015-01-04 17:15
    As mentioned your decoupling is effectively ineffective. Just solder a 0.1uF directly to pins 9 & 12 and one to pins 29 and 32 underneath the PCB. Do the same for the EEPROM with pins 8 and 4. Since this only takes a couple of minutes and is necessary it should just be done then after you check it and it's working then there is no need to discuss it further but to learn something about the difference between schematics and pcb layout. Placement is important, not that it is connected somehow, but how it is connected.
  • msrobotsmsrobots Posts: 3,709
    edited 2015-01-04 17:39
    As mentioned your decoupling is effectively ineffective...

    effectively ineffective. Need to clean my screen now, was just drinking in that moment.

    Wonderful.

    Mike
  • Peter JakackiPeter Jakacki Posts: 10,193
    edited 2015-01-04 18:20
    msrobots wrote: »
    effectively ineffective. Need to clean my screen now, was just drinking in that moment.

    Wonderful.

    Mike

    If I can play on words to punch the point, I will :) But I didn't even get to the point of the 3.3V regulated voltage being fed to the board by some length of wire that we might have to guess at. Irregular regulation I would call that :) No, the 3.3V reg should have been designed onto the board close to the load itself. As it is the regulator is doing a very nice job on its end of the wire at least, how nice!
  • JonathanJonathan Posts: 1,023
    edited 2015-01-04 18:28
    I will solder some decouple caps in there. As noted, there is a spot for a vreg, it just hasn't arrived. Next rev. I'll add them into the PCB, as well as one by the EEPROM.

    Aaron, the system is actually at my buddies house. There are a couple of solar thermal panels and a 220VAC, 7kW on demand heater. Pumps and such to suit. The controller runs the pump through the panles if there is heat to be had and if not uses the electric heater. Works very well and now we are adding an xbee and Pi to the system. If you have more questions feel free to ask. You can PM me if you like.

    JOnathan
  • AGCBAGCB Posts: 327
    edited 2015-01-05 05:24
    Jonathan wrote: »
    The controller runs the pump through the panles if there is heat to be had and if not uses the electric heater. Works very well and now we are adding an xbee and Pi to the system.

    JOnathan

    Thanks Jonathan.
    The biggest problem w/ my system is a store bought room thermostat that just does not have enough settings and options (the line voltage ones seem to be that way). I really need to make a new one. Thought maybe that was part of your system.
    Aaron
  • JonathanJonathan Posts: 1,023
    edited 2015-01-05 07:18
    Aaron,

    Indeed it is, no thermostat, just temp. sensors. And it is very flexible, as the system knows the time and date. It also has features like vacation mode. Very easy to do with a Prop/Stamp/SX and fun to boot!

    Jonathan
  • AGCBAGCB Posts: 327
    edited 2015-01-06 05:22
    Jonathan wrote: »
    Aaron,

    Indeed it is, no thermostat, just temp. sensors. And it is very flexible, as the system knows the time and date. It also has features like vacation mode. Very easy to do with a Prop/Stamp/SX and fun to boot!

    Jonathan

    I made a PROP program for fun something like that. It read 6 DS18B20 temp sensors, placed on various water pipes. An RTC triggered a record to an SD card, readable in MS Excell.

    It wouldn't be hard to make a smart thermostat way better than what is commercially available for a custom system.
    Aaron
  • JonathanJonathan Posts: 1,023
    edited 2015-01-06 07:02
    So true. One example is the system has an outdoor temp. sensor. If the outside temp. drops below a certain point by 9 pm the system figures it's going to be a cold night and so starts heating before the temp. drops inside. As you know there is more lag time with a hydronic heating system than with a forced air. My buddy also likes the floor of his kitchen and breakfast nook a little warmer in the winter so it does that too.

    Jonathan
  • AGCBAGCB Posts: 327
    edited 2015-01-06 08:03
    More great ideas I hadn't thought of
  • ManAtWorkManAtWork Posts: 2,176
    edited 2015-01-13 04:46
    Sorry for "hijacking" the thread, but I have a similar problem. With one of my boards I get the error message "RAM checksum error on COM.." during programming with the ProgPlug. I do have 4 decoupling caps per chip, a good grounding plane and the supply is 3.29V. I have successfully programmed and sold over 1000 units over the past years, so I don't think it's a layout issue. I also don't think there are bad solder joints because this would result in different error messages ("no porpeller chip detected" or "EEPROM checksum error").

    Is the propeller itself broken or are there other possible causes? The crystal doesn't matter because the propeller is running in RCFAST mode during programming, I think.
    1024 x 768 - 170K
  • Peter JakackiPeter Jakacki Posts: 10,193
    edited 2015-01-13 05:40
    ManAtWork wrote: »
    Sorry for "hijacking" the thread, but I have a similar problem. With one of my boards I get the error message "RAM checksum error on COM.." during programming with the ProgPlug. I do have 4 decoupling caps per chip, a good grounding plane and the supply is 3.29V. I have successfully programmed and sold over 1000 units over the past years, so I don't think it's a layout issue. I also don't think there are bad solder joints because this would result in different error messages ("no porpeller chip detected" or "EEPROM checksum error").

    Is the propeller itself broken or are there other possible causes? The crystal doesn't matter because the propeller is running in RCFAST mode during programming, I think.

    I'm guessing that the one crystal I see is used by the top FPGA to deliver the clocks to the two? Prop chips? But I don't see the regulator(s) except for the unpopulated switcher up the top right. Have you checked for ripple by switching to AC on your meter or using a scope? I t may even be transients. I can't see where your programming header is unless it's shared with the 5-pin combicon and it doesn't look like it's X3 either.

    The RAM checksum error should only come up after it loads RAM and before it programs EEPROM so that's why I'm guessing it's a regulation issue perhaps.
  • ManAtWorkManAtWork Posts: 2,176
    edited 2015-01-13 23:53
    Hello Peter,

    yes exactly. the clocks are driven by the FPGA. The 3.3V regulator is on the vertical plug in card at the top of the picture between the two electrolytic caps. I checked the voltage with the scope, there are short bursts of noise around 50mV, I guess from the switching regulator. I also changed the whole regulator board - no change.

    The two props share one EEPROM so the second could probably disturb the first one while booting/programming. But I checked the cascaded reset signals. The second prop is properly held in reset while the first is programmed.
  • Toby SeckshundToby Seckshund Posts: 2,027
    edited 2015-01-14 01:49
    Hi,

    I got fed up (lazy) of putting a reg on the pcb every time. Then I plugged the wrong PSU onto it - Props, EEPROMs and SRAMs do not seem to pass the 9 Volt test (the SD card did (after it cooled down)).

    I love to scrounge 1206 caps off of old PCBs and then stick them everywhere on the track side as near to the chips as poss. If there is a base under the DIP Prop then there would be space inside that for a Tant or two.

    Alan
Sign In or Register to comment.