Creator Comforts - PSoC Software Blog - Cypress.com: Blog Posts creatorcomforts@cypress.com]]> http://www.cypress.com/?id=2321 Wobbly wires in PSoC Creator 2.1 http://www.cypress.com/?rID=66710 PSoC Creator 2.1 is out on the streets today. And it has wobbly wires (the engineers call it rubber-banding)! When you move something around in a schematic the wires don't break any more. The tool re-draws the wires for you so you don't lose the connections between components. It saves a lot of time when you're cleaning up the design. It's great to finally have wobbly wires because a lot of you have been asking for the feature for longer than I care to admit.

I recommend installing 2.1 today (http://www.cypress.com/go/psoccreator) and trying it out. Remember that you can still do breaking moves by presssing the Control key when you move things around (and there is a Tools->Options parameter to reverse the behavior if you prefer it the other way around).

Happy wobbling!

]]>
Tue, 24 Jul 2012 16:32:14 -0600
Another new shirt that makes me look fat http://www.cypress.com/?rID=60826 New logo shirt? Tight khaki pants? This can only mean one thing. It's the Embedded Systems Conference! Or Design West as it is now known.

I cannot say I like the name change. Where I come from to "go west" implies a short, uncontrollable burst of lunacy! Maybe that's right after all. Only time will tell.

Anyway, if you're in San Jose and have nothing better to do then stop by the ARM booth and say "hello". There'll be at least one Cypress guy, all kitted out in logo shirt and once-a-year pants, on hand throughout the event to give you a demo and answer any PSoC-y questions you like.

]]>
Fri, 23 Mar 2012 14:58:35 -0600
Back on my high horse http://www.cypress.com/?rID=59653 A couple of blog posts ago I was moaning about using hardware design tools for software development. I wrote an article to get it off my chest. It turns out this is not an effective therapy and I wrote another one!

In this Product How-To article Mark Saunders describes a new methodology for doing firmware development for the Cypress Arm-based Programmable SoCs, using the company s PSoC Creator in combination with Arm s uVision IDE.

This time, I am talking about the mechanics of using the µVision IDE to develop firmware for a design made in PSoC Creator. I'm just out to prove the point that you really can do it I suppose.

You can download PSoC Creator 2.0 from our website for free and you can get an evaluation of the µVision IDE from ARM so there go your excuses... go on, download a bit of software and see how easy it is to split hardware design from firmware development on configurable platforms like PSoC.

]]>
Thu, 23 Feb 2012 17:33:47 -0600
Sparky's Back !! Warning: some nudity and excessive violence in this blog http://www.cypress.com/?rID=55573 It's halloween and we decided to build an all-new Sparky for our party this year. For those of you who don't remember (i.e. everyone), Sparky is a life-size replica of a death row inmate about to get fried in an electric chair. Well, to be honest, he was an already-fried victim who got re-fried repeatedly over the course of the night. This time we swapped out the fleshy head and hands for a cleaner, more skeletal look and a new Department of Corrections jump suit. We thought it was quite fetching.

It's a bit of a process getting Sparky set up. He is basically garden sprinkler piping with foam to make him comfy to sit on. He also sports an anatomically correct skull and hand bones! Adding to that he has PSoC-powered LEDs in his eyes and nose (well, where his eyes and nose should be), a PSoC-triggered light in his skull (brain optional), and a really loud, vibrating motor in his chest.

So, here we have a scary-looking guy with big padded legs, just asking for tired party-goers to take a quick rest in his lap. And that's where the PSoC proximity-sensing comes in. Some users use our technology to detect a mouse's finger pointing at a screen, underwater, from a range of 100 yards. Not me. I detect bottoms. A wire, running up and down his legs creates a nice clean signal to the PSoC device for even the boniest of backsides. After a brief pause, to lull the victims into thinking they're safe, Sparky bursts into life, or rather death, with an exploding cranium, fire in his eyes, electric shocks running through his whole body and one very surprised guest!

Here is a link to Sparky doing his thing...www.cypress.com/ui/2_5/images/blogs/userfile/IMG_0106.MOV

PSoC - scaring the hell out of my guests since 2009!

]]>
Fri, 03 Feb 2012 13:19:54 -0600
Component Pack One - Fastest Ever Software Installation ! http://www.cypress.com/?rID=58828 I just installed PSoC Creator 2.0 Component Pack 1. I didn't like it much. The installation I mean, not the actual product. It was all over very quickly. Too quickly. It takes longer to say "PSoC Creator 2.0 Component Pack 1" than to install it. I didn't have time to go get a coffee. I like those really long install procedures where your PC is basically thrashing around, spraying files all over the place for hours. Then I can take a long lunch. This isn't like that at all. The component pack only adds a few files for the new and updated components. So it was a bit disappointing, really, and I am back to munching cafeteria sandwiches at my desk. I suppose I'll use the time I saved to try out the new components. Maybe I'll fiddle with the Filter. It does biquad filters now. I don't know what one of those is but now I have time to figure it out.

Maybe you should too?

]]>
Fri, 03 Feb 2012 13:16:56 -0600
EE Times article on HW/SW Codevelopment http://www.cypress.com/?rID=58267 In my last post I was writing about the new IDE integration with ARM's µVision IDE and, afterwards, got myself in a bit of a tizzy about how all these hardware+software environments are so mean to the software engineers. Those tools are so hardware-focused, with a bit of software support bolted on to make it look good, that I got onto a big high horse about it and wrote an article. I had to get it all off my chest. EE Times published it over the New Year.

"In this Product How-To article, Mark Saunders of Cypress looks at the problems of hardware/software co-development from the point of view of the software designer using the company s PSoC Creator to illustrate his exposition."

I really think this is the way software should be developed for a programmable device like PSoC. Well, ANY programmable device for that matter (here I go again). You should be able to use the IDE you want to use, not the one the hardware people give you. Have a quick read and let me know what you think!

]]>
Fri, 13 Jan 2012 17:34:55 -0600
This Christmas I Bring You... Choice! http://www.cypress.com/?rID=57422 Last year I wrapped up the production version of PSoC Creator 1.0 for you. Not a bad present if I say so myself. This year I am offering just a little bit more... a whole new IDE in fact.

We just released PSoC Creator 2.0 and one of the big new features is the abilty to develop firmware in ARM s µVision IDE. This is big leap forward for the tool. You can, of course, continue to develop application code and debug it in PSoC Creator but now you have the choice... and we think that is what PSoC is all about.

You can choose your CPU, choose your peripherals, choose your pins and now you can choose your development tools. If only I could choose my relatives! Anyway, to get back on track, it is still completely free so, no excuses, download the product and give it a try!

]]>
Thu, 22 Dec 2011 17:11:57 -0600
Talking about PSoC and trying not to look fat http://www.cypress.com/?rID=55041 Here's a short video of me at ESC. I am talking with Bill Wong of Electronic Design magazine about PSoC Creator 2.0. Interesting stuff...

Five minutes is not much for a rich subject like PSoC, but it's a really long time to hold in the gut and suck in the extra chins!

 

]]>
Mon, 10 Oct 2011 16:55:03 -0600
PSoC Demos at ESC Boston http://www.cypress.com/?rID=54762 We've had two great days at ESC in Boston this week. We've shown three demos that each highlight a particular core value of PSoC; Integration, Acceleration and Innovation. For the Acceleration theme we showed how easy it is to design a fan controller circuit and extend it when the requirements change. In PSoC Creator 2.0 we include a Fan-Controller component that supports up to 16 PWM-controlled fans. In the demo we showed how to monitor temperature sensors and automatically run a pair of fans to keep things cool. We used a heat gun to warm things up and I can confirm that heat guns make very, very poor hair dryers. I'll heal. Anyway, back to the demo, the acceleration part comes in when the design requirements change and you need to add an extra fan. With PSoC you just add a third connection to the fan controller, connect up the pins, and it's done!

Under Innovation, we showed a combination of on-chip analog DAC components that only PSoC can do. First we DMAed sine waves of different frequencies through the DACs, and then wired them all together to create a combination output square wave. We used the
Oscium oscilloscope (which happens to be PSoC-based too) and an Apple iPad to display the results.



I think our best demo, though, was a PSoC-powered quadrotor helicopter - that we had to strap down to the podium to stop it from flying off - because it hows how a single PSoC has replaced five fixed-function MCUs (one for each DC motor and a master). PSoC has always integrated on-board peripherals - now it's integrating whole MCUs! It was also fun to dare people to stick their fingers in the rotor blades... how old am I?

]]>
Mon, 03 Oct 2011 11:47:39 -0600
I got my Lobster! http://www.cypress.com/?rID=54761 I am at ESC in Boston this week, helping to launch PSoC Creator 2.0. And this time I got to actually leave the convention center for a few hours and tuck into some East Coast seafood. To be honest, after four days out here, I'm kinda done with the fish-fest. Too much of a good thing methinks.



It's been a great week at the show as well. I made the PSOC Creator presentations in the booth again - running through ten sessions in two days. That schedule can get a bit mind-numbing but I have realized that my inability to stick anywhere near a script really helps keep the material fresh. No-one fell asleep and we had good crowds every time. Was it me or the dev kits we were giving away? (it was me)!

We ran some cool demos too. Each one highlighted a particular core value of PSoC; Integration, Acceleration and Innovation. I'll write a blog on those tomorrow.

]]>
Thu, 29 Sep 2011 10:08:49 -0600
Free Webinars! http://www.cypress.com/?rID=52122 No, I do not mean "webinars are innocent". I mean we're running some educational PSoC webinars and they are free. So check this web page to see if one interests you...

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


Make sure you bookmark the page or, better, add it to your favorite Internet news feed so you'll see new dates and topics.

]]>
Tue, 14 Jun 2011 12:11:47 -0600
Another PSoC Creator Service Pack http://www.cypress.com/?rID=51837 PSoC Creator Service Pack 2 is available now. If you are using 1.0 Production or 1.0 Service Pack 1 today, please take the time to update. We had some defects in both those releases that we would not wish you to bash your head against!

If your Cypress Update Manager didn’t already notify you please get your copy from: http://www.cypress.com/go/psoccreator.

New to PSoC Creator? We are running a live webinar series targeted at first-time users. We are hosting one-hour training sessions to introduce you to PSoC Creator, walk through a live demo, and tell you about other resources you can use to get the most out of PSoC.

Our next event will be on Tuesday, June 7th at 8pm Pacific Daylight Time. This is a free event and registration is not required. To join, please navigate to https://cypress.webex.com/ and use meeting number 925777058.

 

]]>
Fri, 03 Jun 2011 11:50:03 -0600
Webinar Events on PSoC Creator and PSoC Designer http://www.cypress.com/?rID=51568 This is a shameless plug for two webinars we're running next week...

Learning how to use a new software package takes time and can present a challenge. We want to help you get started with PSoC Creator and PSoC Designer as quickly as possible. To kick start that process we are pleased to announce a pair of webinars targeted at first-time users. We are hosting live one-hour training sessions to introduce you to the tools, walk through a live demo, and tell you about other resources you can use to get the most out of PSoC.

The PSoC Designer webinar, for would-be PSoC 1 gurus, will be on Tuesday, May 31st at 8pm Pacific Daylight Time.

The PSoC Creator event, for PSoC 3 and PSoC 5 fans, will be on Wednesday, June 1st at 9am Pacific Daylight Time.

These are free events and registration is not required. To join, please navigate to https://cypress.webex.com/ at the specified time and use meeting number 925777058. See you there!

 

 

]]>
Wed, 25 May 2011 10:45:24 -0600
Extra! Extra! New PSoC Creator! Read All About It! http://www.cypress.com/?rID=51567

Stop the press – there’s a new release of PSoC Creator out now. It has an improved debugger, with faster stepping on PSoC 5 devices, and beefed-up bootloader support. You now have drop-in bootloader support for all configurations of I2C and USB. Plus, you can choose the bootloader channel at run-time. If your application’s not getting a response on one I2C connection, switch to another I2C channel or try USB instead. With CRC download checking available too, this is the most reliable and flexible bootloader ever.

It’s PSoC – did you expect anything else?

If your Cypress Update Manager didn’t already wake you up this morning with the news go fetch your copy from: http://www.cypress.com/go/psoccreator.

New to PSoC Creator? We are starting up a PSoC Creator webinar series targeted at first-time users. We are hosting live one-hour training sessions to introduce you to PSoC Creator, walk through a live demo, and tell you about other resources you can use to get the most out of PSoC.

Our next event will be on Wednesday, June 1st at 9am Pacific Daylight Time. This is a free event and registration is not required. To join, please navigate to https://cypress.webex.com/ and use meeting number 925777058.

 

]]>
Tue, 24 May 2011 19:21:38 -0600
Birds navigate by Magnetoreception. You get a PSoC Creator Migration Guide! http://www.cypress.com/?rID=49371 Sounds a little unfair, don't you think? Genetically programmed navigation versus a PDF file... but, no!

The new release of our migration guide tells you all about updating from PSoC Creator 1.0 Beta to the Production version and also the upcoming switch from "ES2" to production silicon. It's only 5 pages long - because there really isn't too much you need to know about - and most of that is a component-silcon compatibility matrix. And that turns out to be a long-winded way of saying "use the latest versions of components because they are better than the pre-production versions from the Beta releases". So, if you're a Beta software and ES2 silicon user today, get this guide and the switch to production software and silicon shouldn't ruffle your feathers.

Plus, our migration does not require any ferros oxide to be injected in your beak and it won't make your wings sore!

Don't get in a flap with your migration to PSoC 3 production silicon - get the
PSoC Creator Migration Guide now.

 

 

]]>
Thu, 10 Mar 2011 17:04:03 -0600
PSoC Creator 1.0 - a Belated Christmas Present from Cypress http://www.cypress.com/?rID=48658 Thank You Santa!

All I wanted for Christmas was a new PSoC Creator. You're a bit late but I guess that's because you were busy delivering a record number of PSoC chips this year. I just have a heart-warming mental picture of kiddies all around the world tearing apart their smart phones and drilling through digital camera lenses just to get at those lovely PSoC chips. Who wouldn’t?

And now, you’ve dropped off PSoC Creator 1.0 “Production”. No more roughing it with beta releases for me. I’ve got qualified and characterized components, cache support, new dialogs, digital timing checking and it’s awesome!

My Cypress Update Manager tool woke me up this morning with the news and I installed the software right there and then. It took no time at all and was well worth the effort. I’m telling all my friends to go get their copy from:

http://www.cypress.com/go/psoccreator

]]>
Mon, 07 Feb 2011 12:10:30 -0600
Dear Santa http://www.cypress.com/?rID=47521

I’ve been a good boy this year (when people were looking) and all I want for Christmas is a new PSoC Creator. I’ve had the old one for months now and I really, really need instruction cache support and cool new parameter editors. Beta 5 is, like, three months old and all the cool marketing people have new products to talk about every Christmas.

How about it Santa? I realize you have to deliver a record number of smart phones and music players and printers and navigation devices and cameras and all those other PSoC-powered goodies first though. I can wait. Maybe you could see your way to sneaking us a new PSoC Creator in the new year then? Eh? Eh?

]]>
Tue, 01 Feb 2011 16:55:38 -0600
Exploding furnace gets me back on the blog http://www.cypress.com/?rID=47054 It's been a busy quarter since I last eked out a few spare minutes to tell you about Beta 5 and cycling computers. One consequence of the frenzied activity and extended work-hours was a rather nice bonus check (cheque) that landed on the door-mat a few days ago. So, off I trot to the toy shop with the full intent of blowing the whole lot on frivolous fun. But no, it was not to be.

The phone rings and I'm informed that the house heating system is very efficiently circulating freezing cold air throughout the home and I am to return immediately to fix it. Exhortations that this is California and it never gets cold fall on deaf ears. You can guess the rest. I had to call out "a man". The furnace is totally crocked. It's been spewing carbon monoxide into the living room for years. It's too dangerous to fix. And the cost to replace it is... exactly the same amount as the crumpled up check in my pocket. How did he know?

Bloggeration, I say! So now I am at home, shivvering a bit, while a new system is installed by a man who, when he bends forward, doesn't really fit in his trousers. Oh dear.

It's enough to drive a man to blog.

]]>
Fri, 19 Nov 2010 12:36:09 -0600
PSoC Creator 1.0 Beta 5 is out NOW! http://www.cypress.com/?rID=46395 OK, it was actually out a couple of weeks ago. I forgot to mention it here. I was tired. Must have been the jet-lag (is two months too long to play the jet-lag card?).

Apparently two months is too long between blog posts - according to our webmaster - and he says he has photos from the last Christmas party...

Anyway, go fetch Beta 5 now. Really. It's got lots of new goodies in it. You'll like them. Really.

 

]]>
Thu, 23 Sep 2010 18:19:09 -0600
Hi-tech Swedish rescue (nearly) http://www.cypress.com/?rID=45005 I'm back from vacation and my love-hate relationship with technology continues. I set off for Sweden about a month ago with a bicycle and a watch that computes everything from the curvature of spacetime to the mean distance between pot-holes in the road. The pot-hole measuring feature broke, though, because I was in Sweden where there aren't any to measure.

Sweden is a marvellous place to ride a bike and I completed the
Vätternrundan, a 300km circuit of Lake Vättern. It's an annual recreational bike ride characterized by smooth roads, rolling hills, low traffic, and a bikini team to cheer you on at every stop light.

I set off at 1am with a batch of about 60 other riders. Not the best start time but a serious dose of jet-lag ensured that my body had no clue how to feel anyway. Soon after starting I realized two problems. Firstly, I was in rural Sweden and there were almost zero stop lights. And those had been turned off to accomodate the 20,000 people doing the ride. Big disappointment there.

Secondly, I needed to pace myself. I'm not very young and not very fit and an over-excited charge to the first rest stop could leave me in a very unhappy state for a very long time. But it was dark and raining and, depite everything I've previously said about knowing how fast I am going and how hard I am  working, that was in daylight, in the dry, on roads I know, with landmarks other than trees and a big lake to gauge your progress. Technology to the rescue! The combination of watch / speedo / black hole detector had all the information I needed.

If only I could have read the damn thing. It doesn't have a back-light feature! Luckily I was saved by nature. The sun rose at 3am and my internal speedo re-started itself. Thirteen hours of pedalling later, plus nine rest stops, sixteen bananas, four gallons of water, and innumerable dashes into the forest for a little privacy, I rolled past the finish line and promptly tossed the speedo into the lake.

]]>
Mon, 26 Jul 2010 15:14:26 -0600
Too Much of a Good Thing? http://www.cypress.com/?rID=43837 There's a bit too much software in my life at the moment. It kinda crept in when I wasn't looking and I have to make it go away again now.

I recently got back into cycling after an injury lay-off. It was not a cycling injury that caused the problem you understand. It was, in fact, a not-cycling injury. The type that occurs after the truck hits you and you immediately go from cycling to no longer cycling, and then you're injured. Anyway, that's all fixed now and I can do hilarious party tricks with my collar bone. Bonus! It's time to get back on the bike.

A simple, low-tech pleasure you might think? But no, not for me. I bought a new watch instead. I'm not the youngest of my riding friends you see. Nor am I the thinnest. OK, I'm the old, fat one. And with long-neglected thigh muscles, off-the-chart blood pressure, and a dangerously competitive nature I thought it would be wise to go high-tech on the early-warning systems! So I got one of those fancy watches that doubles up as a speedometer, triples as a tachometer, and quadruples as a heart-rate monitor.

It works great. If you define working as measuring time, speed, revolution and BPM! The trouble is, I don't. It's clever software. Reliable and precise. But it doesn't do anything I don't already know about. I know when I'm speeding because the cars stop overtaking me and the police give you that stare. I know what 18mph feels like because it doesn't hurt after an hour whereas 22mph does. An efficient cadence on a bike is between 80 and 90rpm. Lower than that and you either don't get anywhere or your thighs start burning. Go higher and you start bouncing around on the saddle like someone dropped tin-tacks in your shorts. Again.

And then we get to the heart rate monitoring, which has proven educational but now drives me crazy. It turns out that at 120bpm you can have a sandwich and finish a sudoku puzzle while riding along in comfort. At 140 you don't get tired but you do sweat enough that no-one wants to be near you after a while. At 160 you sweat like a frisky racehorse and, like most thoroughbreds, you're only good for short distances. At 180 you're probably defying doctor's orders and have turned an alarming new color but you've lost the ability to read the screen anyway, so what use is it?

This is where the beeping comes in. It's really clever and sets min and max rates for your "work out" (whatever one of those is). But, you stop at the traffic lights and off it goes, beeping away to say "you lazy git, get back on those pedals and put some effort in!". Build up a good rhythm and off it goes again with the warning that you're gonna pop a blood vessel!

That's just a bit too much software for me. It's time to go low-tech again. I'm taking the bike on vacation with me for a couple of weeks. I'm leaving the watch behind.

And the phone. And the laptop. And, oh yes, this blog!

]]>
Fri, 11 Jun 2010 18:16:28 -0600
PSoC Creator 1.0 Beta 4.1 is released http://www.cypress.com/?rID=43194 We just posted up a "patch" release to Beta 4 on the web site. It fixes some defects (including that really annoying one where the window takes forever to un-minimize or regain focus) and includes a new "Flash Security" feature so you can flash securely. Can't wait to give that a go.

Actually it is a very useful new resource editor that lets you protect your device memory from evil-people who seek to pilfer your embedded mojo.

OK, you lot. Stop reading this rubbish and download it from here.

]]>
Fri, 07 May 2010 17:43:10 -0600
Another Lobster-less ESC! http://www.cypress.com/?rID=43020 I was at the Embedded Systems Conference this week. I did my usual social butterfly work - wandering among the booths looking for people who might buy me lunch - but, again, no luck and certainly no lobster dinners. Anyone would think there's a recession going on!

As usual I donned the regulation uniform (khaki pants and Cypress shirt) and hung around the booth pretending to know what I was talking about. It went well. My only slip was an ill-advised assertion that "by 2012 flip-flops will be replaced by Crocs". I thought it was a good theory. The McEnery Convention Center is a lonely place when you're the only one laughing.

 

]]>
Fri, 30 Apr 2010 12:33:05 -0600
I'm back! http://www.cypress.com/?rID=43012 Software. Pah! You just can't trust it. It's lost all my articles...

While it looks like I have not posted for weeks the reality is that our web software just threw them all out. They were good ones too, of course. Witty and Pithy. Trail-blazing exposes and in-depth analysis. All gone. Along with my homework and the dog's dinner.

I suspect the web server had one of those "reboot now" popups!


]]>
Fri, 30 Apr 2010 12:09:40 -0600
Oh Progress Bar, Where Art Though? http://www.cypress.com/?rID=40294 I’m missing my progress bar today. I really didn’t see this coming!

It is not all bad. On the plus-side I am now free to attend meetings in person without carrying around my computer, to wander the hallways with wild abandon, and to loiter in the restroom for as long as I like. On the down-side, everybody now knows that I gave in to it’s insistent demands - especially those with interesting opinions who lurk near the coffee pot. They get me every time!

I can no longer say “Sorry, Adam, I’d love to stay and talk about squeezing more bits out of your ADC, but I have to go rescue my computer from the progress bar” and “yes, I do remember you telling me about those flash retention specs but I just remembered the reboot pixies are about to do a number on my TPS report”.

Long gone are those happy days. I’m easy prey for the opinionated masses who mistake my feigned understanding for interest. I’m feeling sleepy.

Oh progress bar, you do so little but mean so much!

]]>
Fri, 12 Feb 2010 15:17:00 -0600
The Progress Bar Wins http://www.cypress.com/?rID=40265 It ended badly – my little battle with the progress bar of doom. I fell for the free lunch trick because the boss was in town. There really is no such thing because, on my return, the reset gremlin had done it’s evil work.

There before my eyes was an empty desktop and the prospect of an afternoon to be spent repairing documents and trying to remember what I was running and where I had put things – all the stuff humans are bad at and computers are supposed to solve for us.

Of course from a software perspective, that is if you ignore the minor issue of the lost hours of productivity, the whole process can only be described a rip-roaring success on all counts. The update completed without me needing to be there (sic). My screen looks the same as it did before. My applications run the same way, and at the same speed. The Internet still carries the football scores and almost nothing else. Email arrives from the same people, reminding me to do the same things I wasn’t getting done before (like writing this blog). Excuse my attitude but, in short, nothing changed. At all. Worth every wasted hour. Thanks.

It could have been worse, I suppose. At least I didn’t have to admit to spending too long in the toilet!

]]>
Fri, 12 Feb 2010 14:56:22 -0600
My PC Wants a Reset (and So Do I) http://www.cypress.com/?rID=40235
 
I’m a little grumpy with my PC today. It wants an update. Heck, who doesn’t? At my age I could use a “do-over” every now and then. So, why does it get to choose?

Every few minutes up pops a little message telling me it wants to shutdown and restart. Strangely, my answer does not change over the span of a few minutes. I cancel the dialog repeatedly - to the accompaniment of an incrementally load, and exponentially less socially acceptable, cry of complaint. But it just keeps coming back.
 
It’s not just the intrusion that upsets me. It’s the ludicrously-named “progress” bar that counts down to the moment when it will just restart itself anyway. That’s just rude. And it is certainly not progress. How is it possibly progress to close down all my applications, and discard my edits, for the heinous crime of needing to visit the bathroom?
 
This is going to end badly.
]]>
Mon, 08 Feb 2010 12:39:32 -0600
Engineers and their Toys http://www.cypress.com/?rID=39879 What is it with engineers and toys? You can't keep us away from them. Do we ever grow up?

Sure, we tell everyone that embedded applications are changing the future, connecting people, improving lives, saving them even, but we're not really interested. In reality all we want is a battery-operated controller with some flashing LEDs and a toy car to steer around the office when the boss isn't looking.

My mate Rajesh was in town last week and he told me about his latest pet project - and, yup, it's a toy car. Ever on the lookout for a cheap blog topic I asked him to send me a video, which he duly did, but he also made me promise to give out a big thankyou to his team; Sandeep, Rinku and Sriram. Well done lads, now - all of you - get back to those world-changing engineering projects we pay you for! From this point on I have to pretend to be a little indignant about the frivolity of it all when, really, I am a bit jealous that they didn't ask me to help.

PSoC FirstTouch kits drinving a toy car...

So, here it is. Not the first toy car to be driven by a PSoC and probably not the last. The recipe is simple enough.

  1. Purchase one battery-powered toy car
  2. Break it - this is traditional engineering practice
  3. Rip off the fancy plastic shell - we don't need stripes to make it go faster
  4. Apply liberal amounts of glue to whatever you find underneath and attach a FirstTouch kit (zip ties are an acceptable alternative)
  5. Insert a WirelessUSB (CYRF7936) kit into the 12-pin connector
  6. Do that configuration and software stuff and to program the receiver
  7. Find another FirstTouch kit and CYRF7936 and do more of that configuration and software thing to program the transmitter
  8. Spend hours driving it as fast as you can around the office - blame the cleaners for the damage to the walls

Here's the video - www.cypress.com/ui/2_5/images/blogs/userfile/ToyCAR640x480.mpg

Anyway, Rajesh will get all grumpy if I do not tell you about how it really works so here goes...

The transmitter uses the accelerometer on the FirstTouch kit to detect the orientation of the board and decide how to drive the car. The accelerometer is connected to the on-chip ADC through a software-controlled multiplexer. The software loop simply switches the MUX between the two inputs from the accelerometer (X and Y axes), reads the ADC, and sends a message (via a SPI interface to the radio) to the car if anything changed. The X axis controls steering (left, straight, right). The Y axis controls direction  (forward, backward) and speed from the angle of tilt. Accelerometer block (transmitter)


Turn control (receiver)

The receiver just listens for messages and does what it is told. It uses a control register to drive high/low signals out of pins to set the direction (both off = straight ahead).
The speed is managed with a PWM (pulse width modulator) with a software-variable duty cycle - the greater the duty cycle the faster it goes. Another control register controls a de-multiplexer, which channels the PWM output to the motor, driving it forward or backward at the desired speed. Speed/Direction control (receiver)

So there it is - a $10 toy car for only $150! Only one question remains really... Rajesh, where's MY damn car!

 

]]>
Thu, 17 Dec 2009 17:36:48 -0600
PSoC Creator 1.0 Beta 4 is out NOW! http://www.cypress.com/?rID=39603 We just released a new version of PSoC Creator. Go get it now!

Those of you with the Cypress Update Manager running will be getting notified any moment. Please update your software. We've improved a bunch of features and added a SAR ADC (12bit resolution and 1Msps) for PSoC 5 devices.

Go get it now! Stop reading this silly blog and get your new software! Now! I mean it.

if you do not have it yet, well, shame on you, but you'll be forgiven if you go here and download it.

http://www.cypress.com/go/psoccreator

Now!

 

]]>
Fri, 04 Dec 2009 12:29:44 -0600
You guys are on to me! http://www.cypress.com/?rID=39342 I’ve been getting some email on the creatorcomforts@cypress.com account lately. Mostly automated spam because my readership comprises mostly “bots”. I’m big in bots, apparently.

But some real people have contacted me with interesting suggestions and I wanted to respond to that. So, thank you for the inquiry, Adam E from the Lake of the Ozarks, but the answer is no, that’s physically impossible and probably not legal.

Junk-mail and stalking aside, there has been a bit of a theme to the emails. Apparently, for a software blog, I’m a little light on, well, software. This disheartens me somewhat because I thought I could get away with it for a while longer. Did you read my bio? And you expected technical depth and pithy insight?

Oh well, software it is then. In the mean-time, while I frantically search for new subject matter, I’ll post a sparky update. With luck it’ll distract your attention from the software thing…

 

]]>
Thu, 12 Nov 2009 16:20:08 -0600
Our beautiful baby... elephant? http://www.cypress.com/?rID=38414 Elephants have the longest gestation period of any land animal - 22 months according to wikipedia. I only mention this fact because that's about the same amount of time I have been on the PSoC Creator project and, finally, our baby is ready to be born.

During the beta program we've shown a few close friends the ultrasound pictures and dutifully listened to their advice on parenting (note to beta testers - hopefully, we'll buck the trend on that and actually take notice of what you've been telling us).

Like all mothers I've gained a bit of weight. Sadly, my "bump" is not going away any time soon. It turns out that the gain is more a result of the business travel, late-night pizzas and a failure to give up alcohol than a side-effect of pregnancy. I've learned that when you eat for two, but you're really only one, you end up looking like two.

So, just like the expectant elephant, I'm tired, stressed, and fat. I'm also rather proud. The whole family (aka the development team) is. They're all proud, that is, not fat. Say hello to the world, PSoC Creator, we think you're going to be one of the popular kids!

While I'm labouring on clumsily with this parenthood metaphor it might be more appropriate to say that, rather than being born, Creator is getting "weaned". It's been alive and kicking for a while now so it's time to cut the apron strings and let it go play with the big kids. We think it will fare pretty well.

Download it now from http://www.cypress.com/go/psoccreator.
]]>
Tue, 10 Nov 2009 05:21:19 -0600
Out of Office AutoReply: Gone to ESC Boston http://www.cypress.com/?rID=38602 Is "Out of Office AutoReply" the most annoying software in the world? it really means "I will not be reading your message for a while, if ever, and here are some people who won't respond either. Have a nice day". It has some quality competition, of course.

I am no Microsoft-hater but my personal anti-favourite is the Windows networking message "You have little or no connectivity". This one really bugs me since it so unhelpfully dodges the issue. As far as I can tell it only happens when your PC has failed to get an IP address and is not connected to the network. Your connectivity is not limited. It is non-existant. Nothing is getting through, matey-boy, but we're not going to tell you why. In some bizarre attempt to soften the blow of having to address a problem someone decided that the best plan is to simply not tell you anything about it. Not helpful! In England, people who write software like this are known as "gits". I've found no reliable translation into American but it is one of my favourite words so please feel free to insert your own desired meaning and use "git" liberally.

Anyway, I am travelling to ESC in Boston today and so it is time to set up the "Out of Office AutoReply" message, ignore email for three days, pig out on expenses-paid lobster, and generally indulge myself in some quintessentially gittish behaviour!

 

]]>
Tue, 10 Nov 2009 05:21:17 -0600
I don't miss software debug monitors http://www.cypress.com/?rID=38510 One of the great things about the PSoC 3 devices we just announced is the built-in JTAG debug block on every device. There is even a 2-pin mode so you get complete control over the device without having to use up a lot of chip resources.

It's so different from the old days of debug monitors connecting to workstation-based debugger tools with a serial cable. My first real embedded project was to write a monitor for the AMD 29000 microprocessor. This dates me a bit since AMD discontinued the product in the early 90s. But that's enough about my personal problems.

Anyway, I liked the CPU but, as a first project, this one kinda sucked. It's tricky to debug a debugger because, by definition, you have no debugger. It's chickens and eggs. Carts and horses. Twenty two very annoying, unavoidable catches.

So maybe I am biased (as well as old) but I think everyone should appreciate getting to use all of our on-board flash, and RAM, and interrupt vectors, and UARTs. I hope I never have to debug another application with a software monitor. I certainly don't want to have to write one!

 

]]>
Tue, 10 Nov 2009 05:21:16 -0600
Where's my lobster? http://www.cypress.com/?rID=38741 Well, ESC is all done now and I'm back home. I'm out of the regulation khaki pants. I can feel my feet again. And, best of all, I'm no longer dressing in corporate Cypress marketing-ware!

As for the predicted gittish behaviour I have to report a complete flop on my part. No lobster. No belt-busting steaks. No late night poker debt. And no "what happens at ESC, stays at ESC" stories to be worried about. It's probably a good thing. You only get one shot to launch a new product and we all wanted to make sure it went well.

Here's a couple of pictures of me making a presentation in the booth. I'm explaining how PSoC Creator is going to revolutionize the embedded world. Judging from the crowd at our theatre and the empty aisles all around us, I think we may be onto something!!!

]]>
Tue, 10 Nov 2009 05:21:15 -0600
Moonlighting http://www.cypress.com/?rID=39067 I'm moonlighting this month. Literally and figuratively, I suppose. It's halloween and time for my annual (unpaid) software development projects. Get it? Halloween and moonlighting! Never mind.

Anyway, every year, a  friend of mine by the name of Oscar puts on a lavish Halloween party featuring all manner of ghostly props, industrial lasers, an excess of 80s music, and fair sprinkling of assorted pyrotechnics. I'm usually asked to help and, since he serves my favourite beer (i.e. free beer), I'm more than happy to write a bit of firmware to control some of the props.

One of the perks of working for Cypress is free (that favourite word again) access to hardware; in this case pre-release PSoC 3 FirstTouch kits. These old boards are no use to man nor beast - but are totally invaluable to the un-dead. This year has a proximity detection flavour and I'm working on the "sparky" project. Sparky is a full-sized man, with a schedule 40 (lawn irrigation) pipe skeleton, who wears prison clothing and sits in an electric chair with what looks suspiciously like a sieve from Oscar's Mum's kitchen on his head. It's more effective than it sounds (after it goes dark and the Jell-O shot count goes up) and my job is to high-tech him up bit.

It turns out that Sparky is a big hit with the girls. It's that wierd prison inmate infatuation thing I guess. Whatever the reason, they just cannot resist sitting in his lap and trying to cheer the poor chap up. This time around, they're the ones who might get the shock. No, I'm not going to use PSoC to fry the guests (maybe just one or two).

A PSoC 3 kit, discretely stashed in his pants where Sparky has, shall we say, more room than tghe rest of us should be the perfect way to detect an incoming bottom. Wait a second or two, just so they're comfortable, then boom, on go the lights and sounds. Bright red LEDs will flash under the helmet, a panic-inducing strobe will go off, and booming klaxon sound should do the trick.

Marvellous stuff! I'm still figuring out how to sync up a camera with all this but I'll fix it somehow. A full report will follow in a couple of weeks...

]]>
Tue, 10 Nov 2009 05:21:14 -0600
PSoC Creator Hits TechCon3 http://www.cypress.com/?rID=39194 TechCon3. It's a conference, not a security alert. Actually it's a friendly (i.e. free beer every evening) annual event, hosted by ARM Ltd., and held in the Santa Clara Convention Center.

Since we announced the PSoC 5 (powered by an ARM Cortex-M3) platform last month this was a great opportunity to show off PSoC Creator and the new devices. It was really good to see PSoC 5 silicon working in all the three demo stations we had running in the booth.

I can't say I was as excited by having to break out the dress shoes, khaki pants and corporate apparel again. And I wish a very itchy disease on whoever decided that we did not need chairs at the demo stations. But now I can feel my feet again, I think it was worth it.

No more shows for a while now. It's back to the usual corporate wear - sweat pants, faded Motorhead T-shirts, and the orange crocsTM for me. Hold yourselves back, there, ladies!

 

]]>
Tue, 10 Nov 2009 05:21:13 -0600