Welcome
Username or Email:

Password:


Missing Code




[ ]
[ ]
Online
  • Guests: 16
  • Members: 0
  • Newest Member: omjtest
  • Most ever online: 396
    Guests: 396, Members: 0 on 12 Jan : 12:51
Members Birthdays:
One birthday today, congrats!
Vaxian (17)


Next birthdays
05/21 Dalus (34)
05/21 Kizmo (37)
05/22 Skynet (32)
Contact
If you need assistance, please send an email to forum at 4hv dot org. To ensure your email is not marked as spam, please include the phrase "4hv help" in the subject line. You can also find assistance via IRC, at irc.shadowworld.net, room #hvcomm.
Support 4hv.org!
Donate:
4hv.org is hosted on a dedicated server. Unfortunately, this server costs and we rely on the help of site members to keep 4hv.org running. Please consider donating. We will place your name on the thanks list and you'll be helping to keep 4hv.org alive and free for everyone. Members whose names appear in red bold have donated recently. Green bold denotes those who have recently donated to keep the server carbon neutral.


Special Thanks To:
  • Aaron Holmes
  • Aaron Wheeler
  • Adam Horden
  • Alan Scrimgeour
  • Andre
  • Andrew Haynes
  • Anonymous000
  • asabase
  • Austin Weil
  • barney
  • Barry
  • Bert Hickman
  • Bill Kukowski
  • Blitzorn
  • Brandon Paradelas
  • Bruce Bowling
  • BubeeMike
  • Byong Park
  • Cesiumsponge
  • Chris F.
  • Chris Hooper
  • Corey Worthington
  • Derek Woodroffe
  • Dalus
  • Dan Strother
  • Daniel Davis
  • Daniel Uhrenholt
  • datasheetarchive
  • Dave Billington
  • Dave Marshall
  • David F.
  • Dennis Rogers
  • drelectrix
  • Dr. John Gudenas
  • Dr. Spark
  • E.TexasTesla
  • eastvoltresearch
  • Eirik Taylor
  • Erik Dyakov
  • Erlend^SE
  • Finn Hammer
  • Firebug24k
  • GalliumMan
  • Gary Peterson
  • George Slade
  • GhostNull
  • Gordon Mcknight
  • Graham Armitage
  • Grant
  • GreySoul
  • Henry H
  • IamSmooth
  • In memory of Leo Powning
  • Jacob Cash
  • James Howells
  • James Pawson
  • Jeff Greenfield
  • Jeff Thomas
  • Jesse Frost
  • Jim Mitchell
  • jlr134
  • Joe Mastroianni
  • John Forcina
  • John Oberg
  • John Willcutt
  • Jon Newcomb
  • klugesmith
  • Leslie Wright
  • Lutz Hoffman
  • Mads Barnkob
  • Martin King
  • Mats Karlsson
  • Matt Gibson
  • Matthew Guidry
  • mbd
  • Michael D'Angelo
  • Mikkel
  • mileswaldron
  • mister_rf
  • Neil Foster
  • Nick de Smith
  • Nick Soroka
  • nicklenorp
  • Nik
  • Norman Stanley
  • Patrick Coleman
  • Paul Brodie
  • Paul Jordan
  • Paul Montgomery
  • Ped
  • Peter Krogen
  • Peter Terren
  • PhilGood
  • Richard Feldman
  • Robert Bush
  • Royce Bailey
  • Scott Fusare
  • Scott Newman
  • smiffy
  • Stella
  • Steven Busic
  • Steve Conner
  • Steve Jones
  • Steve Ward
  • Sulaiman
  • Thomas Coyle
  • Thomas A. Wallace
  • Thomas W
  • Timo
  • Torch
  • Ulf Jonsson
  • vasil
  • Vaxian
  • vladi mazzilli
  • wastehl
  • Weston
  • William Kim
  • William N.
  • William Stehl
  • Wesley Venis
The aforementioned have contributed financially to the continuing triumph of 4hv.org. They are deserving of my most heartfelt thanks.
Forums
4hv.org :: Forums :: Computer Science
« Previous topic | Next topic »   

PSoC ISSP Compatiblity

Move Thread LAN_403
McFluffin
Fri Mar 23 2007, 05:48AM Print
McFluffin Registered Member #119 Joined: Fri Feb 10 2006, 06:26AM
Location: USA
Posts: 114
I have been trying to figure out why ISSP doesn't work for my CY826443 chip. I have a mag card reader dev kit, and am told that it can only be programmed if I have the older ICE-4000 instead of the ICE cube or mini-prog which I posses. Does anyone know why the ISSP doesn't work for this model? PSoC programmer says it isn't supported for this model. However, the ISSP documentation from Cypress' web site seems to indicate ISSP is avaible on this model, so I don't see how this would be a problem. And, besides the ICE for which I have two of the same 29 series flex pods, I only have one actual PSoC which is the aforementioned chip. I talked to someone who spoke of porting the sample project to an updated PSoC (such as the 29 series), but I don't think he ever finished it. So, even if I bought a newer chip, it would require me a bit of work to get the project working. Any thoughts?
Back to top
Carbon_Rod
Sat Mar 24 2007, 03:22AM
Carbon_Rod Registered Member #65 Joined: Thu Feb 09 2006, 06:43AM
Location:
Posts: 1155
Defective silicon for old chips,
Cypress should be ashamed of their product support. Most of the chip programmers are extremely sensitive to damage so avoid the ISSP with prototypes if you can.

In terms of reliability issues, the external programming level regulator/chirping-driver is archaic and lame. How they ever became a mainstream supplier is a mystery. We evaluated their line for industrial purposes and found that the 32.768kHz powered PLL based clock still does not seem to have working crystal lockup prevention (even in their non faulty lines their WDT is crap unless the chip is already running.)

The only thing they offer is on-chip temperature calculation, C code library, and an open USB vid number you can use.

Unless you really need the analog bus and the libs, it would be advisable to try AVR, PIC, or even Motorola.

The easy GUI they offer can cripple a project as "write-once" code.
wink
Back to top
McFluffin
Sat Mar 24 2007, 05:05PM
McFluffin Registered Member #119 Joined: Fri Feb 10 2006, 06:26AM
Location: USA
Posts: 114
Hehe, someone doesn't like Cypress :) Thanks for the reply. Anyway, I was at a PSoC Express seminar where they gave me a free dev board and programmer. I'm going to have to believe you on that programmer sensitivity. Three out of maybe twenty of us had programmers die on us! I was one of them. On the bright side, I got a second development board since they said it wasn't any good without a programmer and they had to open up a second box.
I'm not sure what you mean by avoid protoypes. You mean circuits that are still under heavy development? How am I suppose to program them then? Should the ICE be a lot more stable? One flex pod for the ICE costs about as much as 2 or 3 of the cheap programmers. I can also do ISSP off of the ICE. Do you know if that is sensitive as well? I wouldn't be happy if the ICE stopped working....
I have two interests in them. First, I have some development boards and an ICE for them, which makes them convienent for me to use. Second, their PSoC Express tool can let me create some simple projects very quickly, which can be nice for certain things. I can go and add C code into the pregenerated code to add in more advanced things if need be.
However, I am more familiar with PICs. Unfortunatly, I've had loads of trouble getting ICSP to work, which really annoys me. Also, I haven't really though that PICs had good library support. The only PIC programmer I have that works right now is a JDM. It doesn't seem to supply enough power, so when I do the ICSP I have to do it really slowly. I could probably put some capacitors on it to help or something, but never really looked into it. So, if anyone wants to point me to some good PIC tools, that would be nice too. I mostly work with 18 series PICs, and like 40 pin versions as that gives me a lot of pins to work with. So far the JDM is the most universal programmer I can find, even though it is the least expensive, which I find kind of odd. I guess what I really should do is get an ICE for microchip as well if I really want to use their products.
Back to top
Carbon_Rod
Sat Mar 24 2007, 09:38PM
Carbon_Rod Registered Member #65 Joined: Thu Feb 09 2006, 06:43AM
Location:
Posts: 1155
For the 18xxxx series there is a free USB loader (code) that allows low voltage programming on the fly with just your PC and a cable. As for issp, just look at the pin out for a given chip and build a plug adapter for the programmer (10 minutes.)

IIRC it was the Cypress chips in the defective Fujitsu drives a few years ago.

I was trying to explain how their programmer works and why its unreliable for production -- it requires external precision timing to regulate internal chip levels (the only manufacture I know that does this), timed mode switch after a reset, and ludicrous initialization routines. Any board space or part count saved is irrelevant if its unreliable.

The programmers usually use the chip line too -- the probability for failure only increases.
Back to top
McFluffin
Sun Mar 25 2007, 04:04AM
McFluffin Registered Member #119 Joined: Fri Feb 10 2006, 06:26AM
Location: USA
Posts: 114
"For the 18xxxx series there is a free USB loader (code) that allows low voltage programming on the fly with just your PC and a cable. As for issp, just look at the pin out for a given chip and build a plug adapter for the programmer (10 minutes.)"
Would this mean I could do it in circuit then? The whole point is that I don't to ben pins and waste time by removing it from the circuit. I can't find that USB programmer you mentioned. Can you give a link? It might be good enough if I just get somethign that has a stronger ICSP link, ie one that requires a DC power input on the board perhaps.
Theres still the problem of why I can't program it, I'm not clear on this answer if you happen to know it. Why doesn't the software support the older PSoC? Is it just something that could be done in software, or does it have a different voltage level or something? I tried fiddling with the programmer's .dat files a bit, but couldn't figure out a way to trick it to program the chip. It could, however, read:
Target Device Silicon: 03, Family/Die: 00, Major Rev: N does not match chosen Device
Which seems to indicate that it could read off of the chip as when I read off some of the other chips I have, it seems to pick up other devices and correctly identifies them (ie 296666 uc). For some reason, the 26xxx configuration files don't seem to specify the chips I have.
There is an open source programmer called the umUSB (for PSoC, not PIC) which uses the CYP open source programming software. This doesn't seem to work with the mini-prog or my ICE though it sounds like. I tried hooking up the ICE cube and it didn't detect it.
Back to top
Carbon_Rod
Sun Mar 25 2007, 12:06PM
Carbon_Rod Registered Member #65 Joined: Thu Feb 09 2006, 06:43AM
Location:
Posts: 1155

The funny part is your programmer may still work intermittently:

1.) A battery power source is disconnected and reconnected. (the WDT+PLL issue)
2.) Windows firewall, WACOM brand drivers, Modem and other serial devices are off.
3.) The IDE is started after the device is plugged in (restart IDE before you try again.)
4.) Try removing the device, reset the programmer, and try again. (the chip power up time issue lock-out.)

When they fail it can happen intermittently at first (power level damage to programmer like a small reversed supply voltage spike.) angry
Back to top

Moderator(s): Chris Russell, Noelle, Alex, Tesladownunder, Dave Marshall, Dave Billington, Bjørn, Steve Conner, Wolfram, Kizmo, Mads Barnkob

Go to:

Powered by e107 Forum System
 
Legal Information
This site is powered by e107, which is released under the GNU GPL License. All work on this site, except where otherwise noted, is licensed under a Creative Commons Attribution-ShareAlike 2.5 License. By submitting any information to this site, you agree that anything submitted will be so licensed. Please read our Disclaimer and Policies page for information on your rights and responsibilities regarding this site.