PSoC™ 6 Forum Discussions
Hi Guys,
I am currently working on the 'Wi-Fi Web Server' Application on modustoolbox. I connect my PC to the SoftAP and open the web server homepage through the designated IP address with no problems. On the home page i try to enter the APs ssid and password but it wont connect. I try to scan for Wi-Fi Access points but the SoftAP is not showing up.
Could anyone help with a possible solution or what could be going wrong? The SoftAP is showing up for my PC and phone but not in the Web Server home page.
Any help would be much appreciated, thank you!
Show LessHello,
I am developing a dual-core project on a PSoC62, and there are functions, definitions, and data in a shared memory portion that are used by both cores. Now, it's about time to tidy up the source code.
I am using ModusToolbox and Eclipse for ModusToolbox. I am new to this MCU, but I am learning quickly thanks to the great documentation by Infineon. I am used to Eclipse, but here there is something tricky.
As soon as the dual-core project is created the properties of the project and the make files are generated by the project creator, and in the project properties/build options, I see that the make file is not auto-generated. That makes sense, but what if I want to include my own external library? Usually, in Eclipse I have to add the folders/files to be included in the project within the "Tool settings":
But this tab only appears when the make file is auto-generated. OK, but if I enable the auto-generation the make files generated by the project creator are overwritten, and the compilation fails.
That said, I have to add includes and sources inside the make files, one by one (I mean, really?), and add more when I write new ones inside my library.
Unfortunately, the great auto discovery feature doesn't work for paths outside the project folder.
My question is if there is a smart way to include a folder with includes and sources in a dual-core project.
Is there the possibility to create my own library and add it to my project through the Library Manager? Or manually in the mtb_shared folder?
Show LessHello Everyone
I am using the PSoC 62S4 pioneer kit, and i am looking for an example that will implement a message pipe between the M0+ & M4 cores
I found one, Infineon/mtb-example-psoc6-dual-cpu-ipc-pipes on this repo, but it has not been updated for 2 years and i cannot figure out how to import it into modustoolbox 3.0? I cannot use the library manager to update the folder? as the ModusToolbox 3.0 user guide indicates in section 1.7?
By reading the ReadME.md file, this example looks like what I'm trying to accomplish. If there are other examples or ideas, directions on using upgrading this example to MD 3.0, would be a great help
Any help or advise would be greatly appreciated.
Regards
Steve K
Show Less
Hi,c
I have potentially detected a Cy_SysTick_GetCountFlag() Issue.
Problem: Cy_SysTick_GetCountFlag() inconsistently reports a SysTick counter reached 0 count.
Attached is a MTB project highlighting the issue.
Project summary:
- Targeted for the CY8CPROTO-063-BLE although any PSoC6 board will suffice.
- Uses retarget-io to the standard debug terminal @ 115.2Kbps.
- Sets up a SysTick with:
- CLK_LF as the source (CLK_LF routed to WCO)
- Reload = (1<<16)-1 = 65535. This is to have the wrap-around for the SysTick every 2 secs.
- Callback is Set.
- Cy_SysTick_GetCountFlag() called in for(;;) loop
The code is very simple.
If the systick_wrap variable is incremented in the Callback ISR, "SysTick counter wrapped!" is printed to the terminal.
If the getcount_flag variable is incremented in the Callback ISR, "GetCount_Flag received!" is printed to the terminal.
Expectations:
The optimum result is that every 2 secs the terminal should have:
SysTick counter wrapped!
GetCount_Flag received!
Actual Observations:
Every 2 secs, either "SysTick counter wrapped!" OR "GetCount_Flag received!" is printed.
Modified code:
If I comment out lines 133-136 in main.c (disabling the Cy_SysTick_GetCountFlag() call and leaving the Callback enabled)
I get "SysTick counter wrapped!" EVERY 2 secs!
If I comment out line 112 in main.c (disabling the Callback but enabling the Cy_SysTick_GetCountFlag() call)
I get "GetCount_Flag received!" erratically.
I realize some SysTick API calls clear the Count flag as a side-effect. Once in the for(;;) loop, Only the Callback and the Cy_SysTick_GetCountFlag() is called.
Len
Message was edited by: Len This issue has been reproduced in PSoC Creator as well. Project Attached.
Show LessHi,
I am using the development kit CY8CPROTO-063-BLE.
I am using the example PSoC™ 6 MCU: Switching between power modes as is.
When I do a long press (sending the system to deep sleep state), the red LED is turned off.
However, in that state, the average current consumption I measure is ~2.8 mA, quite a bit higher than the 7 to 9 uA stated in the datasheet.
Am I doing something wrong?
How can I achieve the power consumption stated in the datasheet?
Thanks!
Show LessModusToolbox Support Team, I am writing to seek assistance with a system operation problem that I am currently facing with ModusToolbox version 4.4 and my CY8CKIT-062-WIFI-BT kit. I have been following the required steps to run my code, but the program does not seem to complete its execution, even when I created a simple 'Hello World' program. There are no error messages showing up in the code, and I am uncertain how to resolve this issue. I would like to request your guidance in resolving this problem as soon as possible. I also wanted to provide additional information on the steps I have taken, which might help you identify the root cause of the problem. Step 1: I have upgraded the firmware on my CY8CKIT-062-WIFI-BT kit to the latest version. Step 2: I have created a new application in ModusToolbox and followed the steps as required. Step 3: The Project Creator window appeared, and I selected CY8CKIT-062-WIFI-BT from PSoC 6 BSPs. Step 4: I chose the appropriate Application Template for my project, which is the Empty PSoC App. Step 5: I have added libraries to my main code and written COMPONENTS=EMWIN_NOSNTS. Finally, I attempted to debug my code using the KitProg3_MiniProg4 debugger, but the code does not seem to execute. I would appreciate any advice you can provide on how to resolve this issue. Please let me know if you require any further information. Thank you for your time and support.
Show LessHi All,
I'm trying to connect with iPhone hotspot access point but getting WWD_NOT_AUTHENTICATED error.
If anyone knows about this issue please, let me know.
FYI : Using CYW43455 single-chip combo
Thanks
Show LessDear Community
I develop the soft with psoc61 (CY8C6137BZI-F14),
I have revise my soft several times, and I can reload the soft to psoc successfully several times.
But suddenly I can't load my soft(.hex) to psoc.
With Modus IDE, I use the kitprog, error message is shown as the following:
With Cypress programmer, I also use kitprog the error message is shown as the follwing:
I trid to download the soft with Keil+ULINK2:
I can find my board:
The address setting is also OK:
But the error message is shown as below:
What's the reason, how can I resolve this problem.
Many thanks.
Show LessI have an environment variable pointing to a path, and I uninstalled something related to that path, but the problem persists
14:02:53 **** Incremental Build of configuration Debug for project Empty_App ****
"C:\\Users\\Home\\ModusToolbox\\tools_3.0\\modus-shell\\bin\\make" CY_MAKE_IDE=eclipse CY_IDE_TOOLS_DIR=C:/Users/Home/ModusToolbox/tools_3.0 CY_IDE_BT_TOOLS_DIR= -j4 all
Tools Directory: C:/Users/Home/ModusToolbox/tools_3.0
/bin/bash: uname: command not found
/bin/bash: rm: command not found
Searching installed tools in progress...
/bin/bash: mkdir: command not found
C:/Users/Home/ModusToolbox/tools_3.0/make/core_version3/query-v3.mk:68: *** Searching installed tools failed with error code: 127. Stop.
"C:/Users/Home/ModusToolbox/tools_3.0/modus-shell/bin/make CY_MAKE_IDE=eclipse CY_IDE_TOOLS_DIR=C:/Users/Home/ModusToolbox/tools_3.0 CY_IDE_BT_TOOLS_DIR= -j4 all" terminated with exit code 2. Build might be incomplete.
14:02:54 Build Failed. 4 errors, 0 warnings. (took 398ms)
Show Less02:30:47 **** Incremental Build of configuration Debug for project Empty_App ****
"C:\\Users\\Home\\ModusToolbox\\tools_3.0\\modus-shell\\bin\\make" CY_MAKE_IDE=eclipse CY_IDE_TOOLS_DIR=C:/Users/Home/ModusToolbox/tools_3.0 CY_IDE_BT_TOOLS_DIR= -j4 all
Tools Directory: C:/Users/Home/ModusToolbox/tools_3.0
/bin/bash: uname: command not found
/bin/bash: rm: command not found
Searching installed tools in progress...
/bin/bash: mkdir: command not found
C:/Users/Home/ModusToolbox/tools_3.0/make/core_version3/query-v3.mk:68: *** Searching installed tools failed with error code: 127. Stop.
"C:/Users/Home/ModusToolbox/tools_3.0/modus-shell/bin/make CY_MAKE_IDE=eclipse CY_IDE_TOOLS_DIR=C:/Users/Home/ModusToolbox/tools_3.0 CY_IDE_BT_TOOLS_DIR= -j4 all" terminated with exit code 2. Build might be incomplete.
02:30:48 Build Failed. 4 errors, 0 warnings. (took 638ms)
How can I solve this problem, I'm using modus toolbox version 3.
Show Less