2020-04-15 10:09 AM
Hello,
I am trying using FP-AI Sensing on STEVAL-STLKT01V1 sensortile board. I enabled UART as per the instruction by enabling SENSING1_USE_PRINTF in SENSING1_config.h and SENSING1_USE_PWR_MGNT to 0. I also did 10ms delay for initialization process. But I donot recieve anything in the console after everthing followed as per the instruction. Should there be any changes to be made?
2020-04-20 02:49 AM
Hello,
I am facing the same issue. I am using a STEVAL-STLKT01V1 SensorTile Kit. Please find below steps for reference.
Please let me know if I have missed anything.
Thanks
2020-04-20 03:31 AM
Hello Noza,
I followed same steps, I am also facing the same issue. It is not working for me as well, no messages from serial port.
2020-04-20 05:25 AM
Hello Noza,
I dont have the sensor with me right now. Did you try disabling the firewall?
2020-04-20 05:36 AM
Hi CPutt,
I don't have device in my hand. But I can access via remotely. Will you please help me how can I disable firewall and how it can be helpful to print log on serial console?
2020-04-20 06:19 AM
Hi Noza,
I am not sure if it will be helpful. To disable firewall goto control panel->System and Securtiy->WIndows Defender Firewall and click windows defender firewall on or off and disable windows defender firewall if you have windows 10.
2020-04-20 10:03 AM
Hi CPutt,
I have found strange thing. The "FP-SNS-ALLMEMS1" SDK successfully compiled and I am able to see logs on UART communication port. It means, hardware successfully working but there is an issue with "FP-AI-SENSING1" SDK.
2020-04-21 02:55 AM
Hi Noza,
Yes, "FP-SNS-ALLMEMS1" works for me as well, couldn't find the issue with "FP-AI-SENSING1" SDK.
2020-04-21 11:14 AM
Hi CPutt,
Now, It is working for me. We need to virtually link "console.c" file in our project workbench and make below changes in console.c.
int __io_putchar(int ch) {
while (CDC_Itf_Transmit((uint8_t *)&ch, 1) != USBD_OK);
/* Transmit zero-length packet to complete transfer */
while (CDC_Itf_Transmit((uint8_t *)&ch, 0) != USBD_OK);
return ch;
}
int __io_getchar(void) {
return 1;
}
Please let me know if you still facing any issue.
2020-04-21 11:23 AM
Hi NoZa,
Thank you very much will try this and let you know.