cancel
Showing results for 
Search instead for 
Did you mean: 

PSoC 5, 3 & 1

AvIt_3966476
New Contributor II

LCD don't show digits correctly, response to key pressing don't cause callback events.

this is in Psoc5LP

0 Likes
1 Solution
AvIt_3966476
New Contributor II

These problem occur when CPU use too much in each step, and starve a certain task,

I understand that there are requirements to run certain functions periodically,

but I don't know the step duration, or which functions to call when I suspect such starvation.

for now, this was resolved by reducing CPU usage.

View solution in original post

0 Likes
4 Replies
LinglingG_46
Moderator
Moderator

PSoC 5LP don't have the BLE IP, how could I understand the OTA?

If you want to solve the problem, you need to provide the simplest code that can reproduce the problem, and the operation steps.

0 Likes
AvIt_3966476
New Contributor II

Hi Ling.

by OTA I meant Over The Air update.

meaning I make a dual App image - write over the other Image, make it the active image and reboot (making sure it indeed run the other image).

I write the following sections: .text .eh_frame .rodata .ARM.exidx

in some images this works perfectly, in others, after the update the code don't work (for example - LCD show faded digits).

I now noticed that this happens when changing optimization levels between the images (even changing optimization of library). each one work on it's own, but stop working after update to images compiled with other optimization.

0 Likes
LinglingG_46
Moderator
Moderator

Could you tell us how to recur problems in PSoC5LP kit?

0 Likes
AvIt_3966476
New Contributor II

These problem occur when CPU use too much in each step, and starve a certain task,

I understand that there are requirements to run certain functions periodically,

but I don't know the step duration, or which functions to call when I suspect such starvation.

for now, this was resolved by reducing CPU usage.

View solution in original post

0 Likes