EZ-USB-FX1 based PSOC 3/5 programmer

A place to document your own projects.

Re: EZ-USB-FX1 based PSOC 3/5 programmer

Postby Zeta » Fri Jan 04, 2013 10:38 pm

nickjohnson wrote:In my case, the Loki has an onboard 3.3v regulator, and the latest revision of it connects the debug header's VTARG to the 5v rail - so the debugger needs to supply 5v, rather than 3.3. I did this because I think it should be more reliable: it doesn't result in reverse-biasing the 3.3v regulator, and it means any attached expansion boards that use 5v will see a correct voltage.


Pretty unique aproach. I'm wondering if it means it can no longer be properly programmed and debuged using a miniprog3, since PSOCprogrammer will sense no voltage and apply your chosen 5v or 3.3v to vtarg and SWD pins but your PSOC will have 5v (or 3.3v) minus regulator's dropout voltage.

nickjohnson wrote:If you're looking at doing a level shifter, selectable voltages for vtarg would probably be useful too.

I was going to require the board provides its own voltage and present it on Vtarg pin and use it on the second side of a dual voltage logic level translator. that way it's way more simple to handle.

nickjohnson wrote:How did you blow up your miniprog3?

84v AC rectified was accidentally connected to VCC rail while I was doing some experimentation on a litle board, fortunatelly it was not connected to a USB port at the time.
Zeta
Jr. Member
Jr. Member
 
Posts: 65
Joined: Thu May 26, 2011 9:20 pm

Re: EZ-USB-FX1 based PSOC 3/5 programmer

Postby nickjohnson » Sat Jan 05, 2013 11:51 am

Zeta wrote:
nickjohnson wrote:In my case, the Loki has an onboard 3.3v regulator, and the latest revision of it connects the debug header's VTARG to the 5v rail - so the debugger needs to supply 5v, rather than 3.3. I did this because I think it should be more reliable: it doesn't result in reverse-biasing the 3.3v regulator, and it means any attached expansion boards that use 5v will see a correct voltage.


Pretty unique aproach. I'm wondering if it means it can no longer be properly programmed and debuged using a miniprog3, since PSOCprogrammer will sense no voltage and apply your chosen 5v or 3.3v to vtarg and SWD pins but your PSOC will have 5v (or 3.3v) minus regulator's dropout voltage.


Damn, you're right. I'd thought for some reason that the miniprog3 didn't use vtarg for voltage level detection, since it supports device power, but of course in that case it just reads the ADC. I'll have to greenwire both boards back to using 3.3v for vtarg. This one 'innovation' is one I should have thought more carefully about!

nickjohnson wrote:If you're looking at doing a level shifter, selectable voltages for vtarg would probably be useful too.

I was going to require the board provides its own voltage and present it on Vtarg pin and use it on the second side of a dual voltage logic level translator. that way it's way more simple to handle.


Good idea.

nickjohnson wrote:How did you blow up your miniprog3?

84v AC rectified was accidentally connected to VCC rail while I was doing some experimentation on a litle board, fortunatelly it was not connected to a USB port at the time.


I'm relieved to hear it's not something I'm likely to do, then. ;)
nickjohnson
Full Member
Full Member
 
Posts: 144
Joined: Mon Nov 26, 2012 4:32 am

Re: EZ-USB-FX1 based PSOC 3/5 programmer

Postby raob » Sat Feb 02, 2013 10:17 am

@Zeta, Hi I have build the EZ USB board and also installed the drivers. Every other thing is perfect but for some reason the PSoC Programmer(ver 3.12) does not show CY8C3xxx family in the Device Family list (in pic)
devicefamilylst.png

How do I add it?
Which version did you use?
raob
Newbie
Newbie
 
Posts: 6
Joined: Tue Jan 01, 2013 8:24 am

Re: EZ-USB-FX1 based PSOC 3/5 programmer

Postby Zeta » Sun Feb 03, 2013 10:18 pm

yo should try updating you psoc programmer, I'm currently running 3.16 and the latest is 3.17.

BTW, I just realized that psoc programmer 3.16 includes a Hex 2 svf utility, I think this might make it posible to program a psoc using a buspirate or busblaster
Zeta
Jr. Member
Jr. Member
 
Posts: 65
Joined: Thu May 26, 2011 9:20 pm

Re: EZ-USB-FX1 based PSOC 3/5 programmer

Postby raob » Tue Feb 05, 2013 4:27 am

Thanks Zeta. This forum is the best for newbies. :-)
raob
Newbie
Newbie
 
Posts: 6
Joined: Tue Jan 01, 2013 8:24 am

Re: EZ-USB-FX1 based PSOC 3/5 programmer

Postby Maximiliano » Wed May 22, 2013 10:43 am

Hello, thank you very much for showing us how to make a PSoC5 programmer at a fraction the cost of Cypress' one.
I have followed all the steps and now I have a programmer's board that needs to be 'pre-programmed' with the programmer's firmware each time it is going to be requested by Programer 3.18. Please, can you explain a little furthet how to program the AT24C128 EEPROM that is mounted on the Chinese board refered in the ebay link? What is 'TFK' driver you are refering to?

Thank you. Great job!
Maximiliano
Newbie
Newbie
 
Posts: 1
Joined: Wed May 22, 2013 10:35 am

Re: EZ-USB-FX1 based PSOC 3/5 programmer

Postby Zeta » Sat Jun 08, 2013 12:51 pm

Hi Maximiliano, sorry for the late reply.

Have you already figured out how to do it ?
You need Cypress Suite USB. I don't have it installed on this machine but Cyconsole has a menu item for that very same purpose. You just need to record the VID/PID. The VID/PID can be found in the inf file inside Programmer's "drivers" folder (use the IDs that say "unconfigured"). But remember that using Cypress' VID or PID with a board not sold by cypress is forbiden :P

Please tell me if you manage to do it or want me to do a more detailed explanation.
Zeta
Jr. Member
Jr. Member
 
Posts: 65
Joined: Thu May 26, 2011 9:20 pm

Previous

Return to Project logs