Did you try to install the Programmer as standalone installation? When looking at mine, installed with Creator, I also see only PSoC1 devices in its device list (and the install folder has files for them only).
First i had it installed while i was installing Creator. Then uninstalled it and downloaded just Programmer (PSocProgrammerSetup_220.127.116.116.exe). Still, the device family was missing.
i just realised that under programmer characteristics, protocol is set to ISSP, which is why i havent seen any PSoC5LP listed in the device family. But that option is greyed out and i cant change it to jtag or swd. How do i make the optiona active so i can change protocol?
I think you can select the programming mode only when the programmer is connected with PSoC programmer (because not all programmers support all modes).
1. Have you used the Mikromedia for PSoC 5LP before? If yes, i need all the help you can give me. It was a good recommendation because it saved me cost of shipping and i appreciate that.
2. When i connect the board to my PC, PSoC Programmer doesnt detect it.
i have managed to build the oscilloscope frontend but had 7 errors as follows:
1. Terminals "R_1.T1" connected to signal "Net_11" have mismatching types.
2. CyDsFit aborted due to errors, please address all errors and rerun CyDsFit.
3. Terminals "Opamp_1.Vplus" connected to signal "Net_8" have mismatching types.
4. Terminals "R_1.T1" connected to signal "Net_169" have mismatching types.
5. Terminals "R_2.T1" connected to signal "Net_177" have mismatching types.
6. Terminals "R_2.T2,R_1.T2" connected to signal "Net_8" have mismatching types.
7. Terminals "Opamp_2.Vout,A_Pin_2.analog_0,ADC_SAR_1.vdac_ref,ADC_SAR_1.vminus" connected to signal "Net_177" have mismatching types.
See attached jpeg for a screenshot of design.
scrnsht_1.JPG 205.8 K
It is always easier for us when you provide us with a complete project archive, but it looks as if you may have connected the two resistors that are off-chip to internal wires and not to the pins. Check whether you have enabled "Show External Terminal" for both of them.
I enabled "show external terminal" and removed the resistors (since they are offchip) and 5 of the errors were cleared.
I was thining that posting the whole program wont make sense because I only modified the bootloadable MP3 example code in order to use Mikroelektronika's TFT and TP component and library.
I need help in writing the main.c code for the oscilloscope frontend.
In case it can help, I have attached a zip file of the project. Pls open "Template_Media.cywrk" and ignore the other folders and files associated with the MP3 example.
modified MP3 Example.zip 11.3 MB
In line 53 in main.c you deleted a closing comment (*/).
I cannot compile your project because the required bootloader is not part of the project. A question: What has an MP3-player to do with an oscilloscope???
Your Creator version is outdated, You will need to update your current version to the latest, use Cypress Update Manager for this job.
You buffered the VDAC output via OpAmp into Vref pin , but take note of the below
"vdac_ref – Input *
The VDAC reference (vdac_ref) is an optional pin. You see it if you have selected Vssa to
VDAC*2 (Single Ended) or 0.0 +/- VDAC (Differential) input range; otherwise, this I/O is
hidden. You can only connect this pin to a VDAC component output. Do not connect it to any
Also you have Vref trying to drive - input as well as VDAC, that will not work. If you want
your scope to handle single ended + signals just use the + input and bias the - input from internal
So confusing. I'm beginning to realise that despite my strong interest in embedded systems, I seriously need to consult an expert on this project. Pls if anyone has the time and expertise to help, send me an email asap so we can discuss terms. I won't mind paying for your services.
My email is firstname.lastname@example.org
Consider posting your requirements, specifications, some help
from forum may be forthcoming. Then if you find you still need
help here is a link to CyPros, Cypress partners for hire -
The structure of your main() should read
// Main loop or empty
Otherwise exiting main() will over and over re-initialize your PSoC1
The for(;;;) should be typed as for(;;)
Thank you for your advise and help so far.
I have divided my project in an incremental development plan to include:
1. Acquire analogue data using SAR-ADC, store in a buffer and display on GLCD.
2. Acquire digital input, store in buffer and display on GLCD.
3. Generate various waveforms, store in buffer and display on GLCD while outputting generated signal through GPIO.
4. Write algorithms to calculate signal properties like frequency, time and amplitude values.
5. Write algorithms that scale displayed signal values by touching buttons on GLCD.
So far, i tried to achieve plan 1 but realised that for the ADC_SAR, the only input range option that leaves the -input and vdac_ref input visible (as is in Rao, M.V.'s design) is 0.0+/-VDAC (Differential) input +/- VDAC. Why is this so? See attached zip for more info
Thanks and regards,
olf_soc.cywrk.Archive01.zip 1.3 MB