PSoC™ 6 Forum Discussions
Hi all,
I would like to write own DFU application in C++. My first step is to try to make blink example to be verified by the Chain of Trust. It shows me how to sign an application, setup TOC2 and use generated RSA keys.
I took CE222802_Bootloader_Encrypted_App and Secure Image as a reference design. From them TOC2, cy_si_keystorage.c (public key generated part is changed to match project RSA key), cypress standard application header, linker scripts, and application signature were used.
The project takes signed elf files for both cores merges them in single elf file which is digitally signed by the cymcuelftool and RSA key. Now I am in a state that TOC2 should be written in the right place (no other example is running on a chip after the project is written) but signature validation fails. No eFuse is written all are tested in Normal mode.
Could someone look at my project and tell me what can be wrong? How can verification be debugged or what steps I can take to test TOC2, signature or other Chain of Trust parts to find a root of the issue?
Best Regards
Ondrej
Show LessI am creating a tutorial for a university course however i find it odd that UART_Start() is not covered in the datasheet or pdl documentation. You need to go to UART.c and scan the code or watch a tutorial made by cypress to become aware of it. This makes it confusing for the students. Im I correct about all of this?
Show LessHello
I use the CE217637 - BLE Find Me Profile on PSoC 6 BLE Pioneer Kit and work it correctly.
But when I used CE217637 - BLE Find Me Profile on a self-made PCBA, it didn't work. The program stopped at "apiResult = Cy_BLE_StackInit(&stackInitParam);"
also, I can control GPIO correctly before I execute "Cy_BLE_Start(NULL);", and I use the same MCU model as PSOC 6 BLE Pioneer Kit.
Thanks.
Neil
Show LessGreetings From India!!
I have a CY8CKIT-062-WiFi-BT psoc6 pioneer kit but i cant aquire the port it shows KitProg3 but i cant program the chips on it. it was working fine yesterday . it would be awesome if anynone can help me here !
Regards,
Karya
Show LessHi All,
1. 我这边客户在使用PSOC63 的时候遇到了一个问题.
在使用DFU 的情况下 ,客户将看门狗例程作为APP 下载后 , 看门狗超时复位后 进入未知状态,不能复位.
使用的例程是: https://www.cypress.com/documentation/code-examples/ce220060-psoc-6-mcu-watchdog-timer
2.使用外部晶振时,休眠功耗较高.客户目前使用的是如图 IMO(8Mhz)内部RC振荡器进行倍频使用,客户希望使用
AltHF:BLE ECO的外部32Mhz 晶体作为系统频率.让主控拥有更精确的时钟,降低温漂等外界环境对时钟的影响.但是配置好之后,系统进入Deepsleep
之后功耗10mA 左右,使用IMO 倍频到同样的主频(144),在Deepsleep状态只有 大约 20uA.@
Show LessThere were several discussions last year asking about the emFile component for the PSoC 6.
The answers were mostly saying that it was due late 2018.
When is going Psoc 6 to support EmFile Component? and
Component support schedule(USB)
Is there a new revised schedule for the emFile?
Also, will it be supported in both ModusToolbox and Creator?
Thanks and best regards,
Ryan
Show LessI would like to design a dual axis DC brushless motor controller IC. (2 X rated voltage 12V, 1.5A max current)
The motors will have hall sensors and quadrature encoders.
I would like to have a simple trapezoidal motion manager with speed and position loop control.
Is there a reference design and coding project for this?
What is the recommended controller for this application?
Show LessHi,
I'd like to confirm maximum through rate of SPI communication regarding two products CY8C624AAZI-S2D04 and CY8C6245AZI-S3D02.
These products will be able to choose octal SPI and through rate is 640Mbps. Is my understanding correct?
I found description "Supports single, dual, quad, dual-quad, and octal interfaces w/ throughput up to 640 Mbps" in datasheet.
Best regards,
Shohei
Show LessUsing PSoC 5 BLE (latest version, latest version of PSoC Creator etc.) and I have (finally) managed to get an app that sends notifications.
However it only works if I build for debug and then start a debugging session (on CM4). All I need to do in that session is to start it running and I can start and stop the notifications. (The read function works as well.)
However if the only change I make is to program the PSoC 6 so it runs without the debugger (i.e. no recompiling or linking - as far as I know it is the same image that is being loaded but without the debugger startup) then only the read functions work.
The values come from an ADC that uses an ISR at the end of each scan. Inside that ISR are the calls to Cy_BLE_GATTS_WriteAttributeValueLocal and CyCLE_GATS_SendNotification.
It seems to be that it is a timing issue with the way the applications start up between the cores (with the debugger active CM4 will start up a number of seconds after CM0; without the debugger it will be milliseconds or less) but I'm not familiar enough with the internals of BLE to know where to start tracking this down.
Any suggestions will be appreciated.
Susan
Show LessAll I need to do is send an advertisement every few seconds. Eventually I will add some manufacturer's data that I get from a sensor. Ultimately this will be moved to a PSOC 4 BLE because the 6 is serious overkill for this simple of an application.
So far my attempts have not resulted in any advertisements.
The BLE module is set up as a Broadcaster with a single core. GAP Settings include a fast advertising interval of 1000ms min and max with no timeout.
The following code is the bare bones code of what I thought should be needed on CM0p
int main(void)
{
__enable_irq(); /* Enable global interrupts. */
/* Unfreeze IO if device is waking up from hibernate */
if(Cy_SysPm_GetIoFreezeStatus())
{
Cy_SysPm_IoUnfreeze();
}
/* Place your initialization/startup code here (e.g. MyInst_Start()) */
Cy_BLE_Start(NULL);
PWM_Start(); // just blinks an LED to tell me it got this far.
for(;;)
{
Cy_SysPm_Sleep(CY_SYSPM_STATUS_CM0_SLEEP);
/* The BLE Controller automatically wakes up host if required */
Cy_BLE_ProcessEvents();
}
}
A good hint on how the program is supposed to set the manufacturer specific data would be nice too.
Thanks for the assistance.
Show Less