Freeware Programmer

Questions about programming (not codeing) PSoCs and Encore II as well as freeware programming hardware and software are discussed here. This is also the place to talk about production programming. Programming means loading a HEX file in to the Flash, not, writing your program.

Moderator: ericb

Postby IDiod on Tue Mar 22, 2005 11:31 am

Eric,
thank you for suggestion.

I find a mismatching in pin's names on PCB (LPT cable connecting):
"P6" should be as "P5" and
"P5" should be as "Ack".

Zip in previous post is reloaded.
User avatar
IDiod
The Big Cheese
The Big Cheese
 
Posts: 193
Joined: Thu Jan 08, 2004 11:59 am
Location: Russia

Postby jack on Thu Mar 24, 2005 3:40 pm

aji,

when you code the software, did you just follow the exact flow of the ISSP application note? I mean, are all the vectors published in the document correct?

I used a scope to capture the sclk and sdata signal using the mini-programmer, some of the vectors I got were a little different from the appendix.

Any comments?
jack
Bite-Size Cheese
Bite-Size Cheese
 
Posts: 11
Joined: Wed Dec 15, 2004 10:59 pm

Postby aji_s on Thu Mar 24, 2005 4:08 pm

Hi Jack,
I am strictly following vectors in AN2026.
Which vectors do u find different in miniprog? .I have doubts in secure vectors.can u share me details?
aji
aji_s
Cheese Wheel
Cheese Wheel
 
Posts: 81
Joined: Thu Nov 04, 2004 5:44 pm

Postby jack on Sat Mar 26, 2005 5:45 pm

I didn't look at secure vector. What I noticed was the write-byte vector.

It should be 10010aaaaaadddddddd111. When I used the mini-prog to program 29466, I saw the packets were like 10010aaaaaadddddddd000. I can see the address data aaaaaa increments every "packet", but the last three bits are 000 instead of 111. I don't know what's going on here...

Anyway, you can use a scope to capture sections of waveform or use logic analyzer to capture longer sequence.
jack
Bite-Size Cheese
Bite-Size Cheese
 
Posts: 11
Joined: Wed Dec 15, 2004 10:59 pm

Postby aji_s on Sat Apr 02, 2005 4:38 am

Hi Jack,
There is no problem with vectors.Last 3 bits of vectors can be zero for some vectors.I have verified this .Secure vectors are also correct.
Regards
Ajith.S
aji_s
Cheese Wheel
Cheese Wheel
 
Posts: 81
Joined: Thu Nov 04, 2004 5:44 pm

Postby aji_s on Sat Apr 02, 2005 9:36 am

Hi All,
Here is ver 1.5 of CYP ( PSoC Programmer ).
Added support for 21xxx and 24xxxA families.
Regards
Ajith.S
aji_s@msn.com
Attachments
CyP-1.55.zip
If you are getting verify errors with 29xxx chips please use latest version( ver 1.55 - 01 May 2005)
(52.18 KiB) Downloaded 1741 times
cyp.gif
cyp.gif (16.22 KiB) Viewed 17663 times
CYP-1.5.zip
CYP and Schematics
(134.78 KiB) Downloaded 2410 times
Last edited by aji_s on Sun May 01, 2005 9:41 am, edited 2 times in total.
aji_s
Cheese Wheel
Cheese Wheel
 
Posts: 81
Joined: Thu Nov 04, 2004 5:44 pm

Verify problems, please help

Postby franzachatz on Wed Apr 13, 2005 9:28 am

Hallo,

i tried all 3 hardware-designs, but always i get a
verify-error.
Is it possible programming a PSOC CY8C29466-24PXI at all
with this hardware-design?
What am i doing wrong??

best regards
Franz
franzachatz
Newbie
Newbie
 
Posts: 4
Joined: Wed Apr 13, 2005 9:14 am
Location: Netherlands

Postby aji_s on Wed Apr 13, 2005 10:55 am

Hi Franz,
I am assuming CYP detected the chip correctly.
If the chip is detected correctly your hardware is OK.
Make sure chip is not secured (Read protected).
Your problem may be because of bugs in 29xxx support.
I dont have 29xxx series chips to test.
I am trying to get one.

Please do the following.
Uncheck "Verify after Programming" in "Setting" dialog.
Program the chip with a hexfile.
Note the device checksum.
Read back the device and save to another hexfile.
Send me both files.
I will try to locate and rectify the problem.

Regards
Aji
aji_s
Cheese Wheel
Cheese Wheel
 
Posts: 81
Joined: Thu Nov 04, 2004 5:44 pm

Postby franzachatz on Wed Apr 13, 2005 11:49 am

Hi Aji,

thanks for your info.
I will check it tomorrow.
Please let me know your address-datas.
I can ship you a PSOCO CY8C29466-24PXI for free and for testing/
updating your software.
Please contact me at: franz@achatz.nl for your addressdatas.
I will trie doing Voice over IP with a PSOC
together with my Web Cat Design: www.achatz.nl

best regards
Franz from the Netherlands
franzachatz
Newbie
Newbie
 
Posts: 4
Joined: Wed Apr 13, 2005 9:14 am
Location: Netherlands

Postby aji_s on Thu Apr 14, 2005 6:54 pm

Hi all,
I am getting mails form new users saying they cannot realize CYP based programmers successfully. In some cases, those with newest devices and hosts (PC), I am facing much difficulty in helping them.
I cannot even guess whether it is because of hardware error or bugs in my software.
As this is a non income business for me, it is not possible to buy all 26 devices supported by my utility just for testing and is not practical to test it on all configurations. I have tested CYP only with a few devices I am working with.
So I am requesting a favor from users of my software.
Please spend a little time for me by posting following info if you are using CYP.
1. Devices (PSoC) you have used.
2. Configuration of PC.
3. Hardware type used.
It will save lot of time for me and new users.
And it will encourage me a lot for proceeding with further development.
Thanks in advance
Regards
Ajith.S
aji_s
Cheese Wheel
Cheese Wheel
 
Posts: 81
Joined: Thu Nov 04, 2004 5:44 pm

Postby adroitguy on Fri Apr 15, 2005 10:46 am

And it will encourage me a lot for proceeding with further development.


Hello Aji ,
I don't think you need encouragement . What you get is congratulations on continuously working on such a fantastic tool .
I think there are some timing issues in the program which may need to be addressed. For example , Jerson mentioned connecting a 33pF cap between SDATA and GND. I built a new programmer with this modification and I started having problems whereas before I was not . After removing this capacitor the programmer started working fine again. Currently I am still using 1.41 of your programmer.

Other than this , it is working fine.

I also think that maybe some better user documentation should be there with the programmer .

With regards
Thomas[/list]
adroitguy
Cheese Cube
Cheese Cube
 
Posts: 48
Joined: Tue Dec 28, 2004 2:30 am

Postby aji_s on Fri Apr 15, 2005 9:35 pm

Hi Thomas,
Operation of circuit this Programmer depends on many factors ,length of the cable,PC parallel port hardware ,components even clock speed of PC CPU. That is why I am requesting system configuration. Capacitance of signal path affects high frequency bit banging .Capacitance can vary more than 33pf depending on the circuit and its effect depends upon operating frequency. You have to do some trial and error to make the circuit work. I don’t think it is difficult for a PSoC programmer. There is no variation in hardware interfacing part of software form ver 1.2 onwards, only some UI improvement and some device support .I think IDoid’s contribution (variation of Type3 with PCB layout ) is best for my software.

Regards
Ajith.S
aji_s
Cheese Wheel
Cheese Wheel
 
Posts: 81
Joined: Thu Nov 04, 2004 5:44 pm

Postby rajo on Sun Apr 17, 2005 2:19 pm

I am pretty new to PSOC stuff, so my questions might sound dumb to you guys. So... Being very much involved with ATMEL AVR family ISP feature, there is one thing I do not understand about Cypress ISSP: couldn't we draw power supply from the target board, through the ISSP connector, instead of having separate connector? Looking at the Aji's schematics, I see that it is not possible to have the target board powered-on in the same time when the programmer is powered-on? Or I might be totally wrong...
Thanx in advance for any clarification
rajo
Newbie
Newbie
 
Posts: 3
Joined: Mon Feb 07, 2005 2:10 pm

cy8c25122

Postby fedic on Mon Apr 18, 2005 3:25 am

Hi aji,
I have problem with CY8C25122 - program report
Device ID:
Device not found
status:
"Communication Timeout
Please ensure Programmer is connected
and powered ON . Please Reset"
but with CY8C27143 all OK. Possible it can't to recognize CY8C25122 ID?
I use CYP-Type3-ISSP hardware and aji soft ver 1.42 and 1.5
Regards,
Fedic
fedic
Newbie
Newbie
 
Posts: 3
Joined: Mon Apr 18, 2005 3:10 am

Postby wes on Mon Apr 18, 2005 2:55 pm

Hi Fedic,

According to Aji in a posting on Jan. 20 the 25xxx/26xxx devices are not supported because they could not be programmed with the simple hardware. I did not see any postings that said otherwise.

Regards,
Wes
wes
The Big Cheese
The Big Cheese
 
Posts: 247
Joined: Sun Dec 14, 2003 1:37 am
Location: Washington

Postby aji_s on Mon Apr 18, 2005 10:05 pm

Hi Rajo,
Program mode entry of PSOC is done by resetting and sending a bit stream (initialize vector) to it. The chip can be reset by power-on reset or by pulling up XRES pin.Some of PSOC (8-pin types) lacks XRES pin. So for those chips only available method is power cycling. You have to design your target board considering these facts.Please refer application note AN2014 “Design for In-System Serial Programming (ISSP)” which can be downloaded from cypress site.
If you are using parts which have XRES pin you can power VDD of programmer from Target board .ie,Power pin of ISSP header can be avoided.
The above info is applicable only to my software and hardware.

Cypress tools offer a “power detect” option in which init vector is sent by detecting power-on of the target board. Refer manuals for details.
It is not implemented in “CyP” so as to keep hardware circuit simple.

Hi Fedic,Wes is correct .My programmer does not support 25xxx/26xxx series because it is impossible to create precision clock required by those series using PC parallel port.
Regards
Aji
aji_s
Cheese Wheel
Cheese Wheel
 
Posts: 81
Joined: Thu Nov 04, 2004 5:44 pm

Postby rajo on Tue Apr 19, 2005 11:18 am

Thanx you Aji. you really shed light to me - I have already read the AN, but seemed too much confusing. Now I've got it!

And thank you for such a useful tool! Keep up the good work!

Regards,
Rajo (from Serbia, not India :D )
rajo
Newbie
Newbie
 
Posts: 3
Joined: Mon Feb 07, 2005 2:10 pm

Postby fedic on Sat Apr 23, 2005 4:49 am

Thanks aji and wes,
What the reason to use two clock mode for 25,26 series instead of one mode for 21,22,24,27,29. :roll:
fedic
Newbie
Newbie
 
Posts: 3
Joined: Mon Apr 18, 2005 3:10 am

Postby aji_s on Sat Apr 23, 2005 9:35 am

Hi Fedic,
25xxx/26xxx series are the oldest series of PSOC and not recommended for new designs.
Newer devices have more advanced ISSP subsytem which require only one programming clock.
Regards
Aji
aji_s
Cheese Wheel
Cheese Wheel
 
Posts: 81
Joined: Thu Nov 04, 2004 5:44 pm

Postby Massimo on Mon May 16, 2005 2:13 am

Hi Aji,
my compliments for your useful and smart CYP programmer !

I've implemented a Type 1 Hardware reducing the Power Supply to 3.3V order to avoid the destruction of other devices (5V not tolerant) on my PSOC application.

With my parallel port 3.3V (instead 5V) work fine.
I had doubt about the ACK signal but the results seems to confirm the 3.3V condition.

I've only one doubt.
In the settings windows, I set the XRES method.
Coming back to the main windows and trying to Erase a part, the Tick changes to POWER instead the of the previously set XRES.
The same behaviour is reproduced during any other operation.

I'm worried about the possible damages to other devices on my application board due to the POWER method.

It's a bug on the main windows or there is some bug/problem in sw/hw ?

Thanks in advance

Regards

Massimo
Massimo
Newbie
Newbie
 
Posts: 3
Joined: Thu Nov 18, 2004 3:23 am
Location: Italy

PreviousNext

Return to Device Programmers

Who is online

Users browsing this forum: No registered users and 0 guests