Author Topic: Grab a PSoC 4 M-Series Proto Kit for $10  (Read 15702 times)

0 Members and 1 Guest are viewing this topic.

Offline ataradov

  • Super Contributor
  • ***
  • Posts: 4442
  • Country: us
    • Personal site
Re: Grab a PSoC 4 M-Series Proto Kit for $10
« Reply #25 on: December 08, 2015, 07:45:50 am »
KitProg v2 adds CMSIS-DAP too!!
I can't find any info on v2. Is it available yet?

I'm working on a debugging tool and I'm interested in testing with as many debuggers form as many vendors as I can find, but for now I'm only interested in CMSIS-DAP interface.
Alex
 

Offline Brutte

  • Frequent Contributor
  • **
  • Posts: 500
Re: Grab a PSoC 4 M-Series Proto Kit for $10
« Reply #26 on: December 08, 2015, 07:53:28 am »
What debug resources are missing in M0 compared to M3/4? They are exactly the same as far as debugging goes.
Quote from: ARM ARMv6-M Architecture Reference Manual
C1.1 Introduction to ARMv6-M debug
(..)The features that the Debug Extension provides are a subset of those available in the ARMv7-M profile.
Here is the ARMv7-M view of the core with expanded SCS.
It is enough to point out ARMv6-M does not implement MemManage, BusFault, UsageFault or DebugMonitor exceptions. Compare Architecture Reference Manuals of v6M and v7M for details.
 

Offline ataradov

  • Super Contributor
  • ***
  • Posts: 4442
  • Country: us
    • Personal site
Re: Grab a PSoC 4 M-Series Proto Kit for $10
« Reply #27 on: December 08, 2015, 08:00:36 am »
It is enough to point out ARMv6-M does not implement MemManage, BusFault, UsageFault or DebugMonitor exceptions.
Well, OK, v7m is more advanced architecture on its own, so it obviously has more stuff exposed to the debuggers.

But original point was that this limitation will somehow hinder your ability to debug code, and that's just not the case. Most debuggers will have very limited support for those things anyway.

All the stuff you actually need, like reading/writing the core registers, memory and periphrals, setting breakpoints are still there.
Alex
 

Offline CypressPSoC

  • Contributor
  • Posts: 46
Re: Grab a PSoC 4 M-Series Proto Kit for $10
« Reply #28 on: December 08, 2015, 08:29:02 am »
8 DMA channels is a nice addition, any word on the cost and availability on the EZ-BLE PRoC module?
Also I guess the programmer is a PSoC5LP as used in the 5lp prototype board which I love.

I still think the 5lp prototype kit has more potential but I'll look at the offering because of the Bluetooth support when the module is available. 128K flash is nice as well.

Is there any chance you could post a picture of the bottom of the board so we can check how had it would be to add the EZ-BLE PRoC module?


Thanks, our apps engineers LOVE that we now have DMA on the PSoC 4!

--
One model of the EZ-BLE PRoC is already in production, priced at $6.xx for 1k units and lower as you go higher volumes.
get it here: http://www.cypress.com/part/cyble-022001-00

We also have the newer EZ-BLE PSoC modules in sampling now and mass-production soon.
more here: http://www.cypress.com/products/ez-ble-module-bluetooth-smart

--
here's pic of the rear side of the board, you can see the footprint for the EZ-BLE PRoC module on the left side: http://imgur.com/BfNpSS1 (sorry for potato quality, just used my phone to snag a pic)
more details here in section 4.2.7 of the kit's userguide: http://www.cypress.com/file/193101/download
the module has UART and I2C lines wired to the PSoC
 

Offline Brutte

  • Frequent Contributor
  • **
  • Posts: 500
Re: Grab a PSoC 4 M-Series Proto Kit for $10
« Reply #29 on: December 08, 2015, 08:30:13 am »
All the stuff you actually need,
YMMV
 

Offline CypressPSoC

  • Contributor
  • Posts: 46
Re: Grab a PSoC 4 M-Series Proto Kit for $10
« Reply #30 on: December 08, 2015, 08:34:55 am »
Can these boards program Spansion (FM4 and Traveo) devices? cant find any info about they could!?
It would be very nice to have one Kit board to program all Cypress devices, like ST does.
Just installed Creator and Designer looks impressive although complex, designer do not seam to support all devices..

This kit can not program the ex-Spansion chips as yet, but we're working on it! You're absolutely right about having just one low-cost universal programmer for ALL devices that Cypress sells. Stay tuned!

PSoC Creator is the current and future tool, use that for everything.
Don't use PSoC Designer unless you're working on a PSoC 1 chip, that is a legacy tool for our 1st gen PSoCs only.

 

Offline CypressPSoC

  • Contributor
  • Posts: 46
Re: Grab a PSoC 4 M-Series Proto Kit for $10
« Reply #31 on: December 08, 2015, 08:36:22 am »
Come back when you have choices for developing on Linux

we're working on it, soon...!

In the meanwhile, have you tried the "Export to IDE.." feature in PSoC Creator? You can do your initial hardware schematic in PSoC Creator (windows) then export the entire project to Keil uVision/Eclipse etc. and continue firmware development in those tools under Linux platforms.
 

Offline CypressPSoC

  • Contributor
  • Posts: 46
Re: Grab a PSoC 4 M-Series Proto Kit for $10
« Reply #32 on: December 08, 2015, 08:37:14 am »
Are the PSoC 4's still hugely gimped compared to the PSoC 5LP? Reading through the component documentation, it seems like the PSoC 4 always had a lot of limitations compared to the 3 and 5.

Don't get me wrong, I love the PSoC series! I used to be diehard TI fan, but now, if I need anything more than a simple MCU, the 5LP is my go to chip! In fact, I'm currently in the design stages of a PSoC5 based HMI LCD solution!

I guess my question is: Where do the PSoC 4 fit in, in the design spectrum?

Lower power consumption would be my guess, but I'm still reading the preliminary datasheet for the new PSoC 4 M-Series.

Edit: corrected misspelling (datasheed)

yes of course, much better power consumption on the Cortex-M0 devices (PSoC 4) compared to the 8051 (PSoC 3) and Cortex-M3 (PSoC 5LP)!!
 

Offline CypressPSoC

  • Contributor
  • Posts: 46
Re: Grab a PSoC 4 M-Series Proto Kit for $10
« Reply #33 on: December 08, 2015, 08:37:55 am »
What a coincidence  :) A few days ago I got the CY8CKIT 043 (mainly for the programmer), as well as two little "bare" PSoC 4 MCUs. You can see the Blink test here - ,
although the video is not very informative - The actual description of the project is in my Hebrew-language blog.

Here's a beginners' question though. This simplest Blink, in either Debug or Release, takes 2KB of flash and 1.4KB SRAM, which is a lot. I guess that's the cost of using the nice visual programming; but personally I'd like to go deeper and do these things manually and economically. The easy-to-access datasheets only discuss the abstractions, not the low level. Where can I find information about the low level stuff, registers etc?

excellent work!
share your project with the community at www.hackster.io/cypress
thanks!
 

Offline CypressPSoC

  • Contributor
  • Posts: 46
Re: Grab a PSoC 4 M-Series Proto Kit for $10
« Reply #34 on: December 08, 2015, 08:52:11 am »
KitProg v2 adds CMSIS-DAP too!!
I can't find any info on v2. Is it available yet?

I'm working on a debugging tool and I'm interested in testing with as many debuggers form as many vendors as I can find, but for now I'm only interested in CMSIS-DAP interface.

its available today!
i was wrong about the version number, its actually KitProg v2.14 that added support for CMSIS-DAP.
see details here: http://www.cypress.com/file/141116/download (PSoC Programmer latest Release Notes)

CMSIS-DAP and Drag-n-Drop support in Pioneer Kits
Starting from FW ver 2.14, all PSoC 4 Pioneer kits will support CMSIS-DAP and Drag-n-Drop features.
These kits are CY8CKIT-042/-040/-042-BLE/-044/-046. Presumably, future Pioneer kits will support these
features as well.

CMSIS-DAP is an ARM proprietary FW interface (HID-based), which allows using the kits in third party
IDEs such as MDK-ARM and IAR. So, theoretically you can use the Pioneer kit, even without any
Cypress tool (PSoC Creatoror PSoC Programmer). CMSIS-DAP supports programming and debugging of
the on-board PSoC 4 targets. The minimum version of MDK-ARM supporting Cypress Pioneer kits is

The Drag-n-Drop feature uses a Mass-Storage USB interface for programming of target. In this case,
Windows recognizes KitProg as a Mass Storage device and you can copy the Hex file on it using any File
Manager (for example, File Explorer). If the Hex file does not match the target, then its Flash will be
erased and the STATUS.txt file will indicate the error message (located in the drive’s root folder). If
programming succeeds, then this file will be updated correspondingly and new FW will start.


To switch to CMSIS-DAP and Drag-n-Drop modes, press the Reset button for 5+ seconds; then the
device will exit the KitProg mode and load alternate USB configuration. For returning to the KitProg mode,
repeat this procedure with the Reset button. Note that even if the USB cable (power cycle) is re-plugged,
the Pioneer kit restores its last USB configuration (the current mode is stored in EEPROM).
 

Offline MT

  • Frequent Contributor
  • **
  • Posts: 704
  • Country: fo
Re: Grab a PSoC 4 M-Series Proto Kit for $10
« Reply #35 on: December 08, 2015, 10:51:09 am »
PSoC Creator is the current and future tool, use that for everything.
Don't use PSoC Designer unless you're working on a PSoC 1 chip, that is a legacy tool for our 1st gen PSoCs only.
OK, thanks for info!
Quote
This kit can not program the ex-Spansion chips as yet, but we're working on it! You're absolutely right
about having just one low-cost universal programmer for ALL devices that Cypress sells. Stay tuned!
This would be a blast since some distributors seams to sell Spansion (e.g MB9BF566) at a lot lower cost then similar ST!
 

Offline miguelvp

  • Super Contributor
  • ***
  • Posts: 5549
  • Country: us
Re: PSoC5LP prototype board and VGA module project
« Reply #36 on: December 10, 2015, 01:17:42 pm »
Regarding the VGA project for the 5LP, I haven't forgotten.

I'm planning to make a tutorial from beginning to end and post on another thread with the full code. I would link that thread in here and on the CGA thread. The project I had is mostly all CGA TTL level only and I added ADC modules so I don't want to undo that one.

But just a basic tutorial that might even work with this new prototype board other than the memory limitation and no Eeprom for the fonts. I'll probably do it this weekend if my wife is at work so I can do it uninterrupted.
 

Offline MT

  • Frequent Contributor
  • **
  • Posts: 704
  • Country: fo
Re: Grab a PSoC 4 M-Series Proto Kit for $10
« Reply #37 on: December 11, 2015, 07:41:51 am »
How do your wife ISR look like? :)
 

Offline miguelvp

  • Super Contributor
  • ***
  • Posts: 5549
  • Country: us
Re: Grab a PSoC 4 M-Series Proto Kit for $10
« Reply #38 on: December 11, 2015, 08:19:50 am »
How do your wife ISR look like? :)

Pretty much the wife ISR is the highest priority and I will soft lock and starve any other tasks until I'm done handling that interrupt request.

I used to just set a flag on the handler so I could use decent time slices for the task but that cause segmentation faults requiring to do the full task when the wife ISR is raised and don't let any other task progress regardless on how many cores are available.

Other than that she works on Sunday so I can pull the pin high to avoid that interrupt to be triggered since it uses negative logic ;)
 

Offline alexanderbrevig

  • Frequent Contributor
  • **
  • Posts: 572
  • Country: no
  • Musician, programmer and EE hobbyist
    • alexanderbrevig.com
Re: Grab a PSoC 4 M-Series Proto Kit for $10
« Reply #39 on: December 11, 2015, 09:54:39 pm »
 :-DD

Offline igendel

  • Frequent Contributor
  • **
  • Posts: 274
  • Country: il
    • It's Every Bit For Itself (Programming & MCU blog)
Re: Grab a PSoC 4 M-Series Proto Kit for $10
« Reply #40 on: December 12, 2015, 12:45:28 am »
What a coincidence  :) A few days ago I got the CY8CKIT 043 (mainly for the programmer), as well as two little "bare" PSoC 4 MCUs. You can see the Blink test here [...]

excellent work!
share your project with the community at www.hackster.io/cypress
thanks!

I doubt a standard Blink is such a worthy project  ;) But I am going to study these PSoCs further, and I'll upload more interesting projects when I have them.

P.S. It's always nice to see company representatives genuinely involved in forums. Well done Cypress!
Maker projects, tutorials etc. on my Youtube channel: http://www.youtube.com/user/idogendel/
 

Offline miguelvp

  • Super Contributor
  • ***
  • Posts: 5549
  • Country: us
Re: Grab a PSoC 4 M-Series Proto Kit for $10
« Reply #41 on: December 12, 2015, 08:42:36 am »
Cypress, you are holding out kits from us:

You should have also mentioned this kit:

http://www.cypress.com/documentation/development-kitsboards/cy8ckit-044-psoc-4-m-series-pioneer-kit

Quote
The kit features a set of on-board sensors, including an Ambient Light Sensor, a 3-Axis Accelerometer and a Temperature Sensor. The kit also has an on-board RGB LED, a user-button and a 1-Mbit Cypress F-RAM device.
Additionally, the kit has headers compatible with Raspberry Pi, Arduino Uno and Digilent Pmod hobbyist ecosystems enabling you to use a variety of 3rd party modules.
 

Offline CypressPSoC

  • Contributor
  • Posts: 46
Re: Grab a PSoC 4 M-Series Proto Kit for $10
« Reply #42 on: December 12, 2015, 09:38:55 am »
Cypress, you are holding out kits from us:

You should have also mentioned this kit:

http://www.cypress.com/documentation/development-kitsboards/cy8ckit-044-psoc-4-m-series-pioneer-kit

Quote
The kit features a set of on-board sensors, including an Ambient Light Sensor, a 3-Axis Accelerometer and a Temperature Sensor. The kit also has an on-board RGB LED, a user-button and a 1-Mbit Cypress F-RAM device.
Additionally, the kit has headers compatible with Raspberry Pi, Arduino Uno and Digilent Pmod hobbyist ecosystems enabling you to use a variety of 3rd party modules.

Oops! not the intention at all. The $25 PSoC 4 M Pioneer Kit is in fact one of my favorites with all of the onboard sensors, almost deserves its own post!
Here's a fun project that lets you use a RaspberryPi with this Pioneer Kit serving as a pretty neat sensor hub: https://www.hackster.io/gaganluthra/psoc-4m-rasberrypi-sensor-hub-52470e?ref=platform&ref_id=831_trending___&offset=3
 

Offline neslekkim

  • Super Contributor
  • ***
  • Posts: 1285
  • Country: no
Re: Grab a PSoC 4 M-Series Proto Kit for $10
« Reply #43 on: December 12, 2015, 10:08:36 am »
Cypress, you are holding out kits from us:

You should have also mentioned this kit:

http://www.cypress.com/documentation/development-kitsboards/cy8ckit-044-psoc-4-m-series-pioneer-kit

I bought that one back in April, or have they revised it?

The new webpages are not good though, with the old web, one could read one simple page to see new products and revisions, now it's a duck hunt..
 

Offline miguelvp

  • Super Contributor
  • ***
  • Posts: 5549
  • Country: us
Re: Grab a PSoC 4 M-Series Proto Kit for $10
« Reply #44 on: December 12, 2015, 10:29:37 am »
Not related to the PSoC 4 M, but for the Arduino fans out there Sparkfun is offering a PSoC 5LP kits called the FreeSoC2 with Arduino support:

https://www.sparkfun.com/products/13229

The Creator 3.3 Arduino project is here:

https://github.com/sparkfun/PSoC_Arduino_Support

And it should be pretty easy to run that on the $10 5LP prototyping board sold by Cypress:
http://www.cypress.com/documentation/development-kitsboards/cy8ckit-059-psoc-5lp-prototyping-kit-onboard-programmer-and

I don't do Arduino much so I haven't had the need to try that.

@neslekkim I do agree that trying to find a kit from their almost 400 offered is a pain in the rear.
They do however have this:
http://www.cypress.com/new-development-kits

And this:
http://www.cypress.com/cypress-store

However the rest of the store only shows links, unless you go to a specific family, for example PSoC 4 and on the bottom you choose  the kits tab.

But the store can use some organization and polishing.
 

Offline neslekkim

  • Super Contributor
  • ***
  • Posts: 1285
  • Country: no
Re: Grab a PSoC 4 M-Series Proto Kit for $10
« Reply #45 on: December 12, 2015, 10:06:21 pm »
cool, I think your first link is similar to the page that was gone, where one could see the new stuff, except that it now have only an selection, not the old long list.
The old list suited my impulse better.. so it's better withouth it, so I don't end up with too many projects again ;)

 

Offline miguelvp

  • Super Contributor
  • ***
  • Posts: 5549
  • Country: us
Re: Grab a PSoC 4 M-Series Proto Kit for $10
« Reply #46 on: December 14, 2015, 01:13:43 pm »
How do your wife ISR look like? :)

Pretty much the wife ISR is the highest priority and I will soft lock and starve any other tasks until I'm done handling that interrupt request.

I used to just set a flag on the handler so I could use decent time slices for the task but that cause segmentation faults requiring to do the full task when the wife ISR is raised and don't let any other task progress regardless on how many cores are available.

Other than that she works on Sunday so I can pull the pin high to avoid that interrupt to be triggered since it uses negative logic ;)

Been working on it but did hit a problem.

Just doing the PWM for now for the HSync and VSync it looks like something broke on the newer PWM modules V3.30 and I was getting this for HSync (Yellow trace) and VSync (Blue trace).


Nothing seemed to work right and after a lot of head scratching I went to an older version of the PWM module V3.0 and now I'm getting more or less what I was expecting. (not changing a thing other than the version of the module)


Note the 10.0V, that's because I forgot to change the channels to 1X and I'm using a VGA to BNC cable to capture the signals, like this picture:

White cable is HSync, Black is VSync. Connecting with a T connector and 75 Ohm terminators as required by VGA (and video in general).
Edit, HSync and VSync are TTL levels, so I guess I didn't need to terminate them. RGB signals on the other hand do need to be 75 Ohm terminated.

But I won't start the thread until I have a good summary and 1st part with an explanation on how it will progress. I'm working on the write up now and will do a post with reserved post to expand each step.

Also I will open a support ticket with Cypress with the first example to see what has changed from V3.0 to V3.10 and on (Tried 3.30, 3.20, 3.10 and they all where misbehaving for this use and downgrading all the way to V3.0 fixes the problem).
« Last Edit: December 14, 2015, 01:38:53 pm by miguelvp »
 

Offline cypress.pmad

  • Newbie
  • Posts: 3
Re: Grab a PSoC 4 M-Series Proto Kit for $10
« Reply #47 on: December 14, 2015, 04:16:03 pm »
Does debugger chip use a CMSIS-DAP protocol, or something proprietary?
By default, the kit comes with a proprietary protocol. CMSIS-DAP support has been released with the latest version of PSoC Programmer. With the latest version of the PSoC Programmer software, you can update the KitProg firmware to add support for CMSIS-DAP and Drag-n-Drop programming.

-Pushek
 

Offline cypress.pmad

  • Newbie
  • Posts: 3
Re: Grab a PSoC 4 M-Series Proto Kit for $10
« Reply #48 on: December 14, 2015, 04:25:15 pm »
Can these boards program Spansion (FM4 and Traveo) devices? cant find any info about they could!?
It would be very nice to have one Kit board to program all Cypress devices, like ST does.
Just installed Creator and Designer looks impressive although complex, designer do not seam to support all devices..
At the moment, no this cannot program Spansion device. We are adding support for Spansion device and the updated version should be available sometime next quarter.

Thanks,
Pushek
 

Offline poorchava

  • Super Contributor
  • ***
  • Posts: 1527
  • Country: pl
  • Troll Cave Electronics!
Re: Grab a PSoC 4 M-Series Proto Kit for $10
« Reply #49 on: December 14, 2015, 06:08:49 pm »
How to get it in EU? When i click something like 'estimate shipping costs' it redirects me to a meaningless page listing distributors (non of which have the kit or are known to be willing to sell anything to a private person for that matter). Is this another US-only offer?
I love the smell of FR4 in the morning!
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf