5 Replies Latest reply on Jan 23, 2019 8:54 PM by DheerajK_81

    Can Modus Toolbox Linux version program the CY8CPROTO-063-BLE boards?

    GaMc_293196

      There are a few options for debugging and programming the PSoC63 board but it is not obvious how the kit can be programmed in Linux

      There is also no examples for the PSoC63 yet in the Modus Toolbox?

        • 1. Re: Can Modus Toolbox Linux version program the CY8CPROTO-063-BLE boards?
          DheerajK_81

          Yes, ModusToolbox Linux Version can program the CY8CPROTO-063 boards. There is absolutely no difference on how ModusToolbox works on different OSes, only the installation steps differ.

           

          While installing, make sure you have run the scripts install_rules.sh of OpenOCD and FW-Loader as mentioned in the following document: http://www.cypress.com/file/455216/download

           

          To run the script, open the terminal in the two directories containing the file and then type the following:

          #1: chmod +x install_rules.sh

          #2: ./install_rules.sh

           

          After this, open ModusToolbox and then suppose you run the BlinkyLED example, make changes to the design.modus file to use the right pin for the LED (P13[7]) with the Strong Drive mode.

           

          Then click on Program (Kitprog3) in the Quick Panel and the board will get programmed and you should see the LED blinking.

           

          Useful Guides:

          http://www.cypress.com/file/455211/download

          http://www.cypress.com/file/455221/download

           

          Regards,

          Dheeraj

          • 2. Re: Can Modus Toolbox Linux version program the CY8CPROTO-063-BLE boards?
            GaMc_293196

            Thanks DheerajK,

             

             

            New dual micro, new hardware, new software, different OS, new way to use Eclipse.

             

            Yep big learning curve.

             

            Going to take years to master these new PSoC6's so many ways to use them.

             

             

            The kitprog2 on the proto board uses the kitprog3 programming option?

             

            Can also I use the kitprog from the CY8CKIT-043? I have collected a lot of those now.

             

             

            Bluetooth beacon example code would be nice as most of my apps are sensors.

             

            I want to use bluetooth to replace i2c comms.

             

            Mostly to Pi's as dataloggers and gateways.

             

            Data security is not a big issue, it is mostly temperatures.

             

            It would be nice if Android can read the same data.

             

             

            Regards

             

            Gavin

            • 3. Re: Can Modus Toolbox Linux version program the CY8CPROTO-063-BLE boards?
              DheerajK_81

              Yes, the PSoC 6 and ModusToolbox come packed with a lot of cool new stuff which will definitely take time to master but it will enable you to create a lot of interesting applications.

               

              Please note that Kitprog2 can always be upgraded to Kitprog3 using upgrade firmware option present in PSoC Programmer v3.28. However, Kitprog cannot be upgraded to Kitprog2/3 since the hardware architecture is different and hence the Kitprog on CY8CKIT-043 cannot be used to program PSoC 6 kits.

               

              Regarding BLE Beacon, please refer to the following code example: http://www.cypress.com/documentation/code-examples/ce224856-psoc-6-mcu-ble-connectivity-low-power-beacon-hibernate-rtos

               

              If the original issue regarding linux is solved, please let me know. For other issues please create another thread as it will keep topics categorized

               

              Regards,

              Dheeraj

              • 4. Re: Can Modus Toolbox Linux version program the CY8CPROTO-063-BLE boards?
                GaMc_293196

                Thanks Dheerja,

                 

                 

                Yep the CY8PROTO-63 has a kitprog2 but that gets updated to kitprog3 by the Programmer app.

                 

                There is a 3V3 reg on these 63 kit program/debug, so old  5V debug boards will blow up the 63 BLE module.

                 

                I had actually modified some  043 prog/debug snapoff circuits for that, as most of my designs are now 3V3

                 

                I found Alan's videos and working through them.

                I also found the examples in Creator, so doing the PRoC, 4100BLE, 4200BLE examples first as I have a few of those.

                PSoC4 BLE is easier to learn than chewing on the PSoC63 from the start.

                Wil we see PSoC4 BLE 5.0?

                 

                Cannot use Creator 4.2 (4.2.0.641) for programming proto 63 as kitprog3 CMDIS is recognised but usable yet.

                Probably fixed in next update?

                In the meantime, import Creator code into Modus Toolbox?

                 

                Also found the BLE-Beacon 1.2 app, update for that soon?

                If that had 3D programmable walls etc, that would be really handy for all the temperature monitoring I do around the campuses.

                Been learning WebGL to do that, served from Raspberry Pi's that collect the sensor data.

                 

                Did not know how much Wireless IoT stuff Cypress has now, but it needs a bit of webpage digging to get to the info.

                Downloading Wiced Studio for WiFi sensors.

                Becuase I use Raspberry Pi's in Baremetal, understanding the comms to the Pi's 2 different RF combo chips is needed.

                 

                Regards

                Gavin

                • 5. Re: Can Modus Toolbox Linux version program the CY8CPROTO-063-BLE boards?
                  DheerajK_81

                  I cannot comment on if the PSoC 4 BLE 5.0 is in pipeline or not, but regarding importing code from Creator to ModusToolbox, you cannot import code directly but you can migrate code by looking at what is possible and what isn't. You can have a look at the "creator_to_mt_migration.pdf" in the path "C:\Users\<user_name>\ModusToolbox_1.0\docs" for more information.

                   

                  Wrt BLE-Beacon app, updates will be done but there is no timeline attached. For WiFi connectivity, WICED is the place to be!

                   

                  Regards,

                  Dheeraj