10 Replies Latest reply on Dec 11, 2018 9:39 PM by DheerajK_81

    PE Micro Universal Multilink was not found by Psoc4 Creator

    engenharia04_3902336

      I'm using the PSoc4 CY8C4024AZI on my own pcb, but I can't flash it with PE Micro Universal Multilink, SWD protocol.

       

      The connections are okay and I'm energizing the uC and the flasher with an external source.

       

      The PE Micro it's okay too, I tested it with another project.

        • 1. Re: PE Micro Universal Multilink was not found by Psoc4 Creator
          DheerajK_81

          Please refer to the following links for more information on how to configure the programmer settings:

          #1: PEmicro Cypress PSoC4 CY8C4024AZI-S403 Flash Programming, Debug, and Test

          #2: PEMicro Blog

           

          Please note that you won't be able to program using Multilink from PSoC Creator. Use PSoC Creator to create your project, then export to other IDEs like Keil, IAR etc. and then program.

           

          Regards,

          Dheeraj

          • 2. Re: PE Micro Universal Multilink was not found by Psoc4 Creator
            engenharia04_3902336

            Hello,

             

            I get this error when converting to uVision MDK 5:

             

            ".\UVBuild\UserInterface.sct(7): error: L6236E: No section matches selector - no section to be FIRST/LAST."

             

            I tried this: Conversione from PSOC creator to Keil uVision

             

            But in keil, I could not modify the scatter file.

            • 3. Re: PE Micro Universal Multilink was not found by Psoc4 Creator
              DheerajK_81

              In PSoC Creator, go to Help > PSoC Creator Help Topics.

               

              Here select the section "Integrating into 3rd party IDEs" as shown below to get the steps to export.

              export.PNG

              Regards,
              Dheeraj

              • 4. Re: PE Micro Universal Multilink was not found by Psoc4 Creator
                engenharia04_3902336

                Using the export to uVision4, I opened the project in uVision5 and configure step-by-step as the helper says. But I get this error on keil: --- Error: failed to execute 'arm-none-eabi-gcc'

                 

                I selected this folder:

                C:\Program Files (x86)\Cypress\PSoC Creator\4.2\PSoC Creator\import\gnu\arm\5.4.1\bin

                 

                and arm-none-eabi-gcc is there.

                • 5. Re: PE Micro Universal Multilink was not found by Psoc4 Creator
                  engenharia04_3902336

                  It looks like it found gcc, but it is not finding the headers of the project:

                  arm-none-eabi-gcc: error: ./uvbuild/capsense_control.o: No such file or directory

                  arm-none-eabi-gcc: error: ./uvbuild/capsense_filter.o: No such file or directory

                  arm-none-eabi-gcc: error: ./uvbuild/capsense_int.o: No such file or directory

                  arm-none-eabi-gcc: error: ./uvbuild/capsense_isr.o: No such file or directory

                  arm-none-eabi-gcc: error: ./uvbuild/capsense_processing.o: No such file or directory

                  arm-none-eabi-gcc: error: ./uvbuild/capsense_sensing.o: No such file or directory

                  arm-none-eabi-gcc: error: ./uvbuild/capsense_sensingcsd_ll.o: No such file or directory

                  arm-none-eabi-gcc: error: ./uvbuild/capsense_structure.o: No such file or directory

                  arm-none-eabi-gcc: error: ./uvbuild/capsense_tuner.o: No such file or directory

                  arm-none-eabi-gcc: error: ./uvbuild/clock_1.o: No such file or directory

                  arm-none-eabi-gcc: error: ./uvbuild/cm0plusstart.o: No such file or directory

                  arm-none-eabi-gcc: error: ./uvbuild/cybootasmgnu.o: No such file or directory

                  arm-none-eabi-gcc: error: ./uvbuild/cyflash.o: No such file or directory

                  arm-none-eabi-gcc: error: ./uvbuild/cylfclk.o: No such file or directory

                  arm-none-eabi-gcc: error: ./uvbuild/cylib.o: No such file or directory

                  arm-none-eabi-gcc: error: ./uvbuild/cypm.o: No such file or directory

                  arm-none-eabi-gcc: error: ./uvbuild/cy_em_eeprom.o: No such file or directory

                  arm-none-eabi-gcc: error: ./uvbuild/cyfitter_cfg.o: No such file or directory

                  arm-none-eabi-gcc: error: ./uvbuild/cymetadata.o: No such file or directory

                  arm-none-eabi-gcc: error: ./uvbuild/cyutils.o: No such file or directory

                  arm-none-eabi-gcc: error: ./uvbuild/main.o: No such file or directory

                  • 6. Re: PE Micro Universal Multilink was not found by Psoc4 Creator
                    DheerajK_81

                    Please follow the instructions given under the section "Keil uVision IDE notes" for GCC Settings as highlighted below:

                    export2.PNG

                     

                    Regards,

                    Dheeraj

                    • 7. Re: PE Micro Universal Multilink was not found by Psoc4 Creator
                      engenharia04_3902336

                      Generated_Source/PSoC4/CapSense_Configuration.h(42): error: fatal error: cytypes.h: No such file or directory

                      compiling CapSense_INT.c...

                      Generated_Source/PSoC4/CapSense_Configuration.h(42): error: fatal error: cytypes.h: No such file or directory

                      compiling CapSense_ISR.c...

                      Generated_Source/PSoC4/CapSense_ISR.c(19): error: fatal error: cydevice_trm.h: No such file or directory

                      compiling CapSense_Filter.c...

                      Generated_Source/PSoC4/CapSense_Structure.h(43): error: fatal error: cytypes.h: No such file or directory

                      compiling CapSense_Sensing.c...

                      Generated_Source/PSoC4/CapSense_Configuration.h(42): error: fatal error: cytypes.h: No such file or directory

                      compiling CapSense_SensingCSD_LL.c...

                      Generated_Source/PSoC4/CapSense_Structure.h(43): error: fatal error: cytypes.h: No such file or directory

                      compiling CapSense_Processing.c...

                      Generated_Source/PSoC4/CapSense_Configuration.h(42): error: fatal error: cytypes.h: No such file or directory

                      compiling CapSense_Structure.c...

                      Generated_Source/PSoC4/CapSense_Structure.c(40): error: fatal error: cytypes.h: No such file or directory

                      compiling CapSense_Tuner.c...

                      Generated_Source/PSoC4/CapSense_Structure.h(43): error: fatal error: cytypes.h: No such file or directory

                      compiling Clock_1.c...

                      Generated_Source/PSoC4/Clock_1.c(19): error: fatal error: cydevice_trm.h: No such file or directory

                      compiling Cm0plusStart.c...

                      Generated_Source/PSoC4/Cm0plusStart.c(21): error: fatal error: cyapicallbacks.h: No such file or directory

                      assembling CyBootAsmGnu.s...

                      Generated_Source/PSoC4/CyBootAsmGnu.s: Assembler messages:

                      Generated_Source/PSoC4/CyBootAsmGnu.s(18): error: can't open cyfittergnu.inc for reading: No such file or directory

                       

                      • 8. Re: PE Micro Universal Multilink was not found by Psoc4 Creator
                        engenharia04_3902336

                        Resolved changing "<>" by " "" " in include files.

                         

                        More two errors:

                         

                        main.c(12): error: fatal error: project.h: No such file or directory

                        Generated_Source/PSoC4/CyBootAsmGnu.s(18): error: can't open cyfittergnu.inc for reading: No such file or directory

                        • 9. Re: PE Micro Universal Multilink was not found by Psoc4 Creator
                          engenharia04_3902336

                          Resolved adding .\Generated_Source\PSoC4\ in CC and Assembler tabs.

                           

                          Next problems:

                           

                          c:/program files (x86)/cypress/psoc creator/4.2/psoc creator/import/gnu/arm/5.4.1/bin/../lib/gcc/arm-none-eabi/5.4.1/../../../../arm-none-eabi/bin/ld.exe: address 0xa3b6 of ./UVBuild/AT007-01.elf section `.text' is not within region `rom'

                          c:/program files (x86)/cypress/psoc creator/4.2/psoc creator/import/gnu/arm/5.4.1/bin/../lib/gcc/arm-none-eabi/5.4.1/../../../../arm-none-eabi/bin/ld.exe: ./UVBuild/AT007-01.elf section `.eh_frame' will not fit in region `rom'

                          c:/program files (x86)/cypress/psoc creator/4.2/psoc creator/import/gnu/arm/5.4.1/bin/../lib/gcc/arm-none-eabi/5.4.1/../../../../arm-none-eabi/bin/ld.exe: address 0xa3b6 of ./UVBuild/AT007-01.elf section `.text' is not within region `rom'

                          c:/program files (x86)/cypress/psoc creator/4.2/psoc creator/import/gnu/arm/5.4.1/bin/../lib/gcc/arm-none-eabi/5.4.1/../../../../arm-none-eabi/bin/ld.exe: address 0xa3b6 of ./UVBuild/AT007-01.elf section `.text' is not within region `rom'

                          c:/program files (x86)/cypress/psoc creator/4.2/psoc creator/import/gnu/arm/5.4.1/bin/../lib/gcc/arm-none-eabi/5.4.1/../../../../arm-none-eabi/bin/ld.exe: region `rom' overflowed by 26408 bytes

                          • 10. Re: PE Micro Universal Multilink was not found by Psoc4 Creator
                            DheerajK_81

                            Have you added the custom linker script file ".\Generated_Source\PSoC4\cm0plusgcc.ld" in the linker tab?

                             

                            Regards,

                            Dheeraj