PSoC™ Creator & Designer Forum Discussions
hello
used PSoc 4.2.
i defined a uint8 XXX variable.
in another file, by mistake, this variable defined as: extern uint32 XXX;
there was no warning. in MAP file the XXX is located as 1 byte. but we have a memory override of another variable that located in the near address.
please advice if there is a way to check such cases automatically (by compiler....)
thanks in advance
Alexander
Show LessI have a compilation error on psoc creator 4.4 between break point and no break point
Environment:
PSoC Creator 4.4 (4.4.0.80)
Culture: English (United States)
OS Version: Microsoft Windows NT 10.0.18363.0
CLR Version: 4.0.30319.42000
when there is a break point in file c . run debug the program pointer is wandering. Even though the main program doesn't have any lines of code
result when i run debuger
no lines of code in main.c
cause break point in code
//========================================================= =============================//
after removing break point .compiler program translates correctly
and result when i run debug.i work perfect
Show Less
Using PSOC Creator 4.4 on a win7 x64 system I get the following error message:
after clean and build I get:
prj.M0120:Build error: The command 'arm-none-eabi-gcc.exe' failed with exit code '1'.
I implemented several projects before and everything worked well. Now with this project I get this message. I switched back to an old project, here the make process is OK. The problem seems related to the project setup.
Please help to get my project build working
Show LessSo I have this main.c program that was made long ago (by another employee). It was made for CY8C4245PVI-482. I'm trying to understand the program, but there are a bunch of library functions. I don't know where to find documentation on them. For example
int status = UART_DMX_ReadRxStatus();
I searched for "UART_DMX_ReadRxStatus" online and there is one result. Some documentation would be immensely helpful! Is ther any PDFs or links to relevant documentation available? (The PSoC Creator User Guide does not help.)
Show LessI got introduced to the PSoC 5 chip by the freeSOC project on Kickstarter (and smARtDUINO, which is compatible with it). They are part of the Arduino community.
I've tried installing PSoC Creator with wine, with both Mono and Microsoft .NET. That didn't work. Then, I tried, and succeded in installing the separate .msi packages, but the program crashes at startup (I'll try to investigate those).
Now, some questions:
- Does the .exe installer do anything important other than running the .msi installers?
- How much does your code use native Win32 .dll's? Would it be possible to use only .NET APIs, so as to enable running the program on Mono on Linux or OSX?
- Have you considered open sourcing any parts of your PSoC software? I know you've at least used compilers et' al based on the GPL'd gcc compiler suite. Is there any really important IP that mandates keeping the no cost sofware proprietary?
I'm sure you know about the success of Arduino and friends. The reason those 8 bit AVR based chips have been much more popular among hobbyists than similar PICs, is the fact that Atmel released their IDE to users at no cost. That is what you have done. Now, what has enabled the multi platform and really easy to use Arduino IDE (and Unix like cmd tools), is the fact that the AVRs are well supported by open source tools like GCC (which Atmel contributes to) and AVRDude.
Now, the Cortex-M3 in PSoC 5 is already supported by GCC (which you use through Sourcery G++), but the programmer protocol and the CPLD hardware configuration have no such support in the open source world (there is an abandoned project from 2006 to create such tools). I urge you to consider the Open Source HardWare movement and the hobbyists using linux, OSX, Android, (and Windows) who are constantly inventing new ways to create and better themselves and the world around us. I know you and them would have much to gain from each other, if you welcome them by realeasing some (simple) portable open source tools to usefully use you hardware in non-Win32 environments, with or without GUIs. You could start by releasing a simple open source tool to upload pre compiled binaries to your hardware, which would be useful for user side firmware upgrades etc. Even just documenting the protocol would help, I'm sure some of the freeSOC board owners will start developing tools if given the chance. I' know I would like to buy a freeSOC board if I can use it without the hassle of installing Windows in a VM, I want the user of my hardware or code to have free and easy to use tools on the platform of their choosing.
Thanks, and sorry for this lengthy post. I hope this will be read by the right people 😉
Show LessHello,
I am searching for a solution or guide, how to setup PsoC Creator (or other IDE or VSCode) on Windows 10 and OpenOCD/GDB running on Linux. I have connected the MiniProg4 Program and Debug Kit CY8CKIT-005 on remote Linux system. I also established a connection between the computers.
Is it even possible? If not, please let me know how you would establish connection from the above-mentioned configuration.
I look forward to your reply,
AK
Hi,
Are there plans to improve the code editor in PSoC Creator? Here a little list of points i would like to see improved:
- Working bookmarks.
- Dark color scheme for Creator.
- Maybe an easier way to customize the font size/color and the possibility to store the configuration on a file and save/share it.
Regards,
Carlos
Show LessHi, I'm using PSoC Creator 4.4.
In case it helps I'm targeting PSoC 5LP. And I can compile my project from IDE without any problem.
But I want to integrate my project into a "builder", and thus, I need to compile my project from command line.
What's the best approach to do it? Many thanks!
Show LessIs there a way to print a stack trace from an application built in PSoC Creator IDE? Similar to backtrace() in Linux
Thanks
Hi all,
I have recently encountered a very annoying issue. PSoC Creator 4.4 will randomly freeze up and I have to terminate the application using the Windows Task Manager. Task Manager reports that the program is not responding.
If I restart my PC, then PSoC Creator will work ok for a little bit of time, but then it will freeze up again. When I re-launch it, the bottom-left status area shows that it completed loading my project, but hangs when trying to change the windows from the default view over to the documents in the project I loaded.
I have tried directly loading the project by double-clicking it in Windows Explorer, and clicking on it from the PSoC recent projects hyperlink. Both result in the same outcome.
I did see the knowledge base article on using Visual Studio with PSoC Creator can cause issues, but I do NOT use Visual Studio.
My PC is running the TrendMicro anti-virus program, and I have put an exception on all the .exe files in the bin directory within the install folder of PSoC Creator. Does PSOC Creator create temporary other than the default log file? I could try adding an exception to any temporary folder locations as well.
When the program crashes on boot-up, this is the contents of the log file:
Log file for this session is located at: C:\Users\username\AppData\Local\Temp\PSoC Creator-000.log
Loaded kitinfo from HKEY_LOCAL_MACHINE\SOFTWARE\Cypress\CyLiveUpdate\Clients\CY8CKIT-043 PSoC 4 M-Series Prototyping Kit 1.0
Loaded kitinfo from HKEY_LOCAL_MACHINE\SOFTWARE\Cypress\CyLiveUpdate\Clients\CY8CKIT-046 PSoC 4 L-Series Pioneer Kit 1.0
Loaded kitinfo from HKEY_LOCAL_MACHINE\SOFTWARE\Cypress\CyLiveUpdate\Clients\PSoC 3 Development Kit 2.0
Loaded kitinfo from HKEY_LOCAL_MACHINE\SOFTWARE\Cypress\CyLiveUpdate\Clients\PSoC 5LP Development Kit 1.0
Loaded kitinfo from HKEY_LOCAL_MACHINE\SOFTWARE\Cypress\CyLiveUpdate\Clients\CY8CKIT-043 PSoC 4 M-Series Prototyping Kit 1.0
Loaded kitinfo from HKEY_LOCAL_MACHINE\SOFTWARE\Cypress\CyLiveUpdate\Clients\CY8CKIT-046 PSoC 4 L-Series Pioneer Kit 1.0
Loaded kitinfo from HKEY_LOCAL_MACHINE\SOFTWARE\Cypress\CyLiveUpdate\Clients\PSoC 3 Development Kit 2.0
Loaded kitinfo from HKEY_LOCAL_MACHINE\SOFTWARE\Cypress\CyLiveUpdate\Clients\PSoC 5LP Development Kit 1.0
Is there any other diagnostic information I could extract when the program freezes?
Show Less