4 Replies Latest reply on Mar 30, 2016 3:02 PM by shbrc_350001

    PRoC SWD



      I am working on a project where I'd like to be using a Smart BLE module.


      The company for whom I am doing this project has an earlier revision that is pretty much ready for a small manufacturing run. The earlier revision uses Nordic's NRF51 and for conformity I'd like to swap it for a Cypress module.


      As this is being done hastily I want to make sure that I would be able to modify the firmware after productions. So I'd like to verify that the module can be flashed over SWD (ie with the Segger J-link) using a HEX or BIN file. To do this I would need 5 connections for SWDIO, SWCLK, XRES, VCC and GND? (I assume SWO is not used).


      I's also like to know how I can generate a HEX file using PSoC creator?





        • 1. Re: PRoC SWD

          When compiling a project using Creator a hex file is generated automatically.


          Yes, the 5 pins you mention are used to program a PSoC BLE. In case you are using one of the low-pin modules you will need to power-cycle the PSoC instead of the non-existing XRES.pin. Cheapest solution to get into the business would be to get a CY8CKIT-042 Pioneer BLE kit. Easiest site programmer would be the snap-off Kitprog of a CY8CKIT-043 PSoC4 M Prototyping kit.





          • 2. Re: PRoC SWD

            Thanks for your reply.


            I have the CY8CKIT-042 Pioneer BLE kit and I am using it for the current iteration. For the existing design the chip would need to be flashed by a manufacturer overseas, at least for initial testing, and I'd like the process to be as straight forward as possible.


            When you say the low-pin modules don't have a XRES pin what modules are you referring to? I am currently evaluating the CYBLE-022001-00 and the CYBLE-222005-00 which have (relatively) minimal pins but seem to have the XRES pin, am I missing something? 

            • 3. Re: PRoC SWD

              XRES pin what modules are you referring to?  There are 16 IO-pin modules which do not have an XRES pin.





              • 4. Re: PRoC SWD

                Thanks for your help.