PSoC™ 4 Forum Discussions
When I tried download my software into my board, an error appeared as below.
Error: dbg.M0023: There was an error while programming the device: PSoC Programmer reported error (100 - FAILED! Hex File parsing failure. Checksum of Main Flash does not match Hex Checksum record)
Is there anyone know how to fix it?
Thanks a lot.
Show LessHi ,
I want to add character lcd component using new symbol and user defined pins.
I have create symbol but not understand how to link this symbol to my project and create API for this symbol.
please help me.
Regards,
Santosh pawar
Show LessToday, while I was studying the problem of npuruss-san,
https://community.cypress.com/thread/37205
I encountered an interesting behavior of SPIS.
With this project I'm using a couple of CY8CKIT-044s,
one for SPI_Master and the other for SPI_Slave.
When I call SPIM_PutArray(), the SPI_Slave receives exact
data assigned by SPIM_PutArray().
But after I call SPIS_PutArray() and when SPI_Master
send another transaction, the MISO data sent out from
SPI_Slave is 1 byte off from the data assigned by SPIS_PutArray().
For example, for the first loop, before SPI_Master sends anything,
I put 0D,0C,0B,0A,09,08,07,06,05,04,03,02,01 to SPIS_PutArray().
When SPI_Master sends commands, SPI_Slave sends out
00,0D,0C,0B,0A,09,08,07,06,05,04,03,02
(See attached Oscilloscope Screen Shot)
Naturally, SPI_Master received
00,0D,0C,0B,0A,09,08,07,06,05,04,03,02
although it was expecting to receive
0D,0C,0B,0A,09,08,07,06,05,04,03,02,01.
Then for the next transaction, SPI_Slave prepares sTxBuffer with
F0,E1,D2,C3,B4,A5,96,87,78,69,5A,4B,3C
But SPI_Master receives
01,F0,E1,D2,C3,B4,A5,96,87,78,69,5A,4B
(This 01 seems to be the last byte of the previous PutArray())
Again, SPI_Slave prepare sTxBuffer with
0D,0C,0B,0A,09,08,07,06,05,04,03,02,01
And SPI_Master receives
3C,0D,0C,0B,0A,09,08,07,06,05,04,03,02
(This 3C seems to be the last byte of the previous PutArray())
So I suppose that with this project,
SPIM_PutArray() generates correct data on MOSI pin
but
SPIS_PutArray() generates 1byte data from previous SPIS_PutArray()
before sending the data assigned by current SPIS_PutArray().
Now my question is:
Am I missing something to make SPIS_PutArray() work correctly?
Or is/are there way to reset the data pointer of SPIS
so that I can send correct data?
Attached are my test projects and log/screen copies.
moto
Show LessHello,
I've got a PSoC Creator workspace that follows the Upgradable BLE Stack structure and contains my app in place of the HID Keyboard example.
My app can be successfully programmed via CySmart when the BLE Stack is running.
However, if I try to upgrade my app with itself via CySmart when my app is running I always get an authentication failure.
Meanwhile, the HID Keyboard app always passes authentication under the same conditions.
All the BLE and Bootloadable component dependencies are set per the BLE Upgradable Stack documentation.
Also, my app's BLE component Security GAP Settings match those in the HID Keyboard BLE component:
Security mode: Mode 1
Security level: Unauthenticated pairing with encryption
Strict pairing: No
I/O capabilities: No Input No Output
Bonding requirement: Bonding
Encryption key size: 16
My app's main.c contains the following code (I'm using ARM GCC):
#if !defined(__ARMCC_VERSION)
InitializeBootloaderSRAM();
#endif
//…
AfterImageUpdate();
//…
if(CyBle_GetState() == CYBLE_STATE_CONNECTED)
{
#if(CYBLE_BONDING_REQUIREMENT == CYBLE_BONDING_YES)
CyBle_StoreBondingData(0u);
#endif
}
I tried modifying CySmart's Master Configuration security setting so that they correspond to BLE component ones but that didn't make any difference.
According to debug output, CCCD and bonding data are all 0's in both my app and HID Keyboard sample app.
Please, advise what I could be missing in terms of authentication.
Hello everyone,
It's possibile to connect HyperBus RAM (or FLASH and RAM) memory to PSoC4 (or PSoC6)?
I need extend RAM memory in MCU, but I don't want to use DDR or something like that, because it have to much pin's, hyberbus look better.
Best regards
Adrian Chmiel
Show LessHi,
I am new to Psoc creator and I would like to know if it is possible to add a C library as libmodbus. I already try to create a project and add manually libmodbus but there is too much dependencies...
The goal is to create a modbus TCP/IP slave.
Thks for your reply
Show LessHello,
I'm using the CYBLE212006-01 and I'm trying to upgrade my application to use the Fixed Stack OTA. At the moment I try to get the example to work, but it doesn't advertise and the LED is just blank.
Did anyone had this problem aswell and fixed it?
Hi All,
so I recently discovered that some of the CYBLE222014-01 modules that I have are running a different FW version. I am seeing both
FW: 0x101011A
and
FW: 0x1000215
While the currently available host library seems to be compatible with FW: 0x101011A, it does not seem to be 100% compatible with the FW: 0x1000215. I cannot find older versions of the host library however. Is there any way to obtain them?
Show Less