Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > PSoC® 1 > Newb needs help getting started

Bookmark and Share
Cypress Developer CommunityTM
Forums | Videos | Blogs | Training | Rewards Program | Community Components



Newb needs help getting started
Moderator:
ARVI

Post Reply
Follow this topic



Newb needs help getting started

i-photon posted on 07 Dec 2011 1:23 AM PST
Member
2 Forum Posts

I have some probably obvious questions to ask here, I just want to verify before I invest too much more in this.

I'm new to microcontroller development and slightly new to electronics (I assembled a heathkit TV once as a kid... woop-de-doo).

 

I've purchased a CY8C29466 and I want to know how to program it (and use it), or where I can find some samples specifically related to it.

I have 8 years experience in writing multiphysics software in C++, as well as a few recent user mode HID drivers (gamepads, joysticks, etc...), so the programming aspects don't scare me.

I understand I need a programming board (e.g. the CY8CKIT-001 in the store, but I'm not sure).


If I were to buy the aforementioned kit, do I just push the chip into the middle of the prototyping board without anything else?

When I'm done programming it, what paraphernalia must I attach aside from a power supply?

 

I ask because I want to fit the thing in a 15mm^2 x 5mm box along with a bluetooth radio and I don't want to have to mount it on a massive PCB (as I think was suggested in the kit video).

The purpose I have in mind is controlling the speed of a small motor with my phone for the heck of it, but doing so in the most compact way possible. Eventually I was thinking of jamming all of it into a 1:87 scale model semi truck, since it actually has the room to fit the two components sans the power supply.

 

Thanks in advance.




Re: Newb needs help getting started

i-photon posted on 07 Dec 2011 01:32 AM PST
Member
2 Forum Posts

Edit: The box size was off, it's actually 4cm x 15mm x 5mm, not that it really matters (the original measurements were from another project :X)



Re: Newb needs help getting started

H L posted on 07 Dec 2011 03:30 AM PST
Top Contributor
679 Forum Posts

 The one you purchased in the PSOC1 series chip. 

For developing software for this chip, you need the PSoC desinger IDE which includes the compiler and debugger enviroment and it should come with the progrmamer software as well.

However, the PSoC 1 series needs special developmen chip and an ICE (in circuit emulator) for debugging such as stepping or watching /changing variables..... Of course, you may be able to use try and true method to develope the software which I think would be  VERY difficult. and working with the emulator pods and the connector is not a easy thing.

My suggestion is to get start with the PSOC3/5 chips which uses jtag debugger, so what you need is your circuit with the prograning conector and with the PSOC minprog3, download the psoc creotor and you can srart the fun part of devloping your own toy.

 

 

 



Re: Newb needs help getting started

Bob Marlowe posted on 07 Dec 2011 07:12 AM PST
Top Contributor
1768 Forum Posts

I truely agree to the forementioned! The ice-box is a rather expensive thing (compared to the bucks a PSoC1 costs).

The Miniprog 3 supplied with the Kit is in combination with the Creator-Software able to set breakpoints, single-step and watch variables on a PSoC3 and 5. A real nessicity for any programmer!

Power supply can be made from battery with an inductor and a schottky diode.

To estimate the size of your board, take a look at the processor modules(You'll find the schematics[search for this keyword] within the application notes). What you don't need are the connectors exept the jTag for programming and debugging

Happy coding

Bob



Re: Newb needs help getting started

kmmankad posted on 21 Dec 2011 06:13 PM PST
Top Contributor
268 Forum Posts

 Hey,like mentioned by fellow PSoC-ers,go for the PSoC3/5 if you can.

But anyway,since you have a 29466 part already,

there are 2 roads from here.

1.Buy a programmer,which could either be the MiniProg3.( http://www.cypress.com/?rID=38154  )

2.Try and make a programmer for the PSoC1 on any existing MCU you might have,based on whats given here:

AN44168 - PSoC® 1 Device Programming using External Microcontroller (HSSP)

http://www.cypress.com/?rID=2906

The second option is a little tedious,but saves you the some money.



Re: Newb needs help getting started

kmmankad posted on 21 Dec 2011 06:21 PM PST
Top Contributor
268 Forum Posts

 About your other queries,

If you can get hold of a programmer,then the connections are quite straightforward,during programming and then deployment too.

About the CY8CKIT-001 serving your purpose,it wont.For 'pushing in the chip',you should have this one here the CY3210 http://www.cypress.com/?rID=2541.Its a kit based on your chip exactly.

You can refer to its schematics for programming and deployment power & other connections.






ALL CONTENT AND MATERIALS ON THIS SITE ARE PROVIDED "AS IS". CYPRESS SEMICONDUCTOR AND ITS RESPECTIVE SUPPLIERS MAKE NO REPRESENTATIONS ABOUT THE SUITABILITY OF THESE MATERIALS FOR ANY PURPOSE AND DISCLAIM ALL WARRANTIES AND CONDITIONS WITH REGARD TO THESE MATERIALS, INCLUDING BUT NOT LIMITED TO, ALL IMPLIED WARRANTIES AND CONDITIONS OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT OF ANY THIRD PARTY INTELLECTUAL PROPERTY RIGHT. NO LICENSE, EITHER EXPRESS OR IMPLIED, BY ESTOPPEL OR OTHERWISE, IS GRANTED BY CYPRESS SEMICONDUCTOR. USE OF THE INFORMATION ON THIS SITE MAY REQUIRE A LICENSE FROM A THIRD PARTY, OR A LICENSE FROM CYPRESS SEMICONDUCTOR.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms and Conditions of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms and Conditions of this site. Cypress Semiconductor and its suppliers reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

Spec No: None; Sunset Owner: GRAA; Secondary Owner: RAIK; Sunset Date: 01/01/20