PSoC™ 6 Forum Discussions
I have a project with psoc6 which includes dfu and app, app0 is dfu and app1 is my application.
now i want to upgrade my app to a new version via BLE, not programmer, and the new version app need to reallocate app1's flash and ram.
Questions:
1. Keep app0's flash and ram same as before, can i reallocate the app1's flash and ram ?
2. if above is right, just modify 4 files, App0{dfu_cm0p.ld, dfu_cm4.ld}, App1{dfu_cm0p.ld, dfu_cm4.ld}, or i need other steps to take ?
3. i am not sure whether app0(dfu) have both app0 and app1's flash and ram map, so i can not change app1's?
4. Any papers or datasheets have this situation ?
// Modify the bold code.
{
flash_app0_core0 (rx) : ORIGIN = 0x10000000, LENGTH = 0x10000
flash_app0_core1 (rx) : ORIGIN = 0x10010000, LENGTH = 0x30000
flash_app1_core0 (rx) : ORIGIN = 0x10040000, LENGTH = 0x30000
flash_app1_core1 (rx) : ORIGIN = 0x10070000, LENGTH = 0x10000
....
ram_app0_core0 (rwx) : ORIGIN = 0x08000100, LENGTH = 0x7F00
ram_app0_core1 (rwx) : ORIGIN = 0x08008000, LENGTH = 0x8000
ram_app1_core0 (rwx) : ORIGIN = 0x08000100, LENGTH = 0x7F00
ram_app1_core1 (rwx) : ORIGIN = 0x08008000, LENGTH = 0x8000
....}
Hi,
We are using MiniProg6 to program our PSoC6 device.
when we program in modustoolbox, everything is straightforward and programming is successful.
And afterward PSoC 6 starts to run the program.
We get the following output:
When we use Cypress Programmer, it also programs successful.
However, the program does not run on my PSOC 6 device.
We would really liked to know what is wrong with the Cypress Programmer as we simply cannot use it.
Regards,
Show LessHello
I need a C# app ( Windows Form Application) to communicate between PSoC 6 and PC
Actually i want to send a text from PC and receive from Device
Please help me!
Thanks
Note: I can't use CySmart windows App because i don't have the special dongles!
Show LessHello,
What is the GPIO state during reset?
I know that TRM mentions that it is Hi-Z analog during power-up.
Is the same state while XRES is asserted?
Regards,
Shimamura
Show Lesshello,
I am a beginner user
I am using CY8POROTO 063 BLE board , i want to Communicate between my PC and Board with my own C# App or CySmart App
forexample send a message form PC to board via bluetooth and vice versa
and i don't have CY5670 or 77 Dongle i am using CSR bluetooth dongle , Can i use this dongle with CySmart windows App?
what should i do?
Please help me!
thank u so much!
Show LessHi
i have a question
I'm working with the PSOC 6
I want to send text from my phone and receive it in PSoC?
for example send "Hello World" from my phone and Receive it in PSoC
then Send this text from PSoC To PC using UART
i think it should be very easy but i cant find any example for this project
i really need it please help me!
thanks
Show LessHello Cypress Community.
I am new to using PSoC 6 so please bear with me. I have been learning the PSoC 6 and I want to achieve a specific role.
The PSoC is running a GATT Server / GAP Peripheral, while there is an App running on Android as GATT Client / GAP Central.
The Client tries to connect to the PSoC, after connecting, it reads a Service called "STATUS" which is updated according the activities of the PSoC amd can be read only by the client. If the STATUS Characteristic is set to "StandBy", the client is able to enter different values in the application and Click on a button to send these values.
These values are configuration parameters (3 numeric values). which are required for the task that the PSoC does. According to the videos (which I learnt from), all the values that are controlled from the client are in the specified in the GATT Database as Services with available Characteristics and their values are updates (LED, Capsense). Now the question is, I want to receive these parameters, from the client app and parse them to do the required task. How do I receive values from the client after they click on the button on the app? Any available Code Snippets or Examples will be helpful.
Thank you
Show LessI have a question regarding the BLE Events.
Is it possible to process the BLE Stack events using Interrupts instead of putting Cy_BLE_ProcessEvents(); in a main loop that checks every time, so I an save the processor usage? Any example of that?
Show LessCY8CKIT-062 PSoC 6 BLE Pioneer Kit - Implement multi connection functionality using HID keyboard profile.
Problem Statement: We want to send keypress control to multiple devices simultaneously wherin kit will be connected to 4 devices and simulating any keypress on kit should be sent to all connected devices.
Tried:
- Downloaded set up CY8CKIT-062-BLE Complete Setup.
- In PSOC creator under code example section downloaded CE215121_BLE_HID_Keyboard sample code
- In Topdesign.cysch file changed maximum number of BLE connections to 4
- Kit starts advertising and connection to device1 is successful.
- In order to make it ready for 2nd connection we pressed SW2 button but it doesn’t start advertising hence device 2,3 and 4 are not able to see kit.
Kindly suggest us on how subsequent connections can be established. Also let us know if we are missing any major configuration that needs to be done.
Show LessI am trying to write a uint16 value to the a GATT Server attribute
The attribute is set to unit16 in the Service Configuration. However, this crashes the GATT DB as the PSoC module becomes unresponsive and I have to reset it.
if (CY_BLE_LEDSERV_TIMESTAMP_CHAR_HANDLE == writeReqParameter->handleValPair.attrHandle)
{
cy_stc_ble_gatt_handle_value_pair_t timeHandle;
timeHandle.attrHandle = CY_BLE_LEDSERV_TIMESTAMP_CHAR_HANDLE;
printf("0x%x\r\n", writeReqParameter->handleValPair.value.val[0]);
printf("0x%x\r\n", writeReqParameter->handleValPair.value.val[1]);
timeHandle.value.val[0] = writeReqParameter->handleValPair.value.val[0];
timeHandle.value.val[1] = writeReqParameter->handleValPair.value.val[1];
timeHandle.value.len = 2;
Cy_BLE_GATTS_WriteAttributeValueLocal(&timeHandle);
Cy_BLE_GATTS_WriteRsp(writeReqParameter->connHandle);
}
May I understand what am I doing wrong?
Thanks
Show Less