1
Discussion - EVE / MSVC codes not working
« on: October 01, 2020, 06:35:59 AM »
I've been trying to start my BT815 setup provided by panasys http://www.panadisplay.com/ftdi-intelligent-display/7-tft-lcd-with-ctp-with-bt815-paf70uwfnwc01.html
I tried running the MSVC codes provided in your sample codes section. I'm currently using Visual Studio 2019 Community edition.
The code seems to build without any errors. It does prompt me to Retarget Projects Windows SDK to 10.0 and Platform toolset to v1.42
Once that's done when I try running in the debug mode.
With my breakpoint set at "line#1019 BootConfig(phost);" the CMD prompt pops up with
Init FT4222 as master device failed!
FT4222_SPI_SetDrivingStrength failed!
Init FT4222 as GPIO interface failed!
How do I fix this issue?
PS: I did try this : http://www.ftdicommunity.com/index.php?topic=130.0
I copied the exe generated in the debug folder to the LibFT4222-v1.43 folder containting 1)LibFT4222.dll 2)LibFT4222.lib :
I get this :
FT4222_SPIMaster_SingleWrite failed, SizeTransfered is 0 with status 10
Gpu_Hal_FT4222_Rd failed
Please check attachments for more information.
Regards,
Nelson Lobo
I tried running the MSVC codes provided in your sample codes section. I'm currently using Visual Studio 2019 Community edition.
The code seems to build without any errors. It does prompt me to Retarget Projects Windows SDK to 10.0 and Platform toolset to v1.42
Once that's done when I try running in the debug mode.
With my breakpoint set at "line#1019 BootConfig(phost);" the CMD prompt pops up with
Init FT4222 as master device failed!
FT4222_SPI_SetDrivingStrength failed!
Init FT4222 as GPIO interface failed!
How do I fix this issue?
PS: I did try this : http://www.ftdicommunity.com/index.php?topic=130.0
I copied the exe generated in the debug folder to the LibFT4222-v1.43 folder containting 1)LibFT4222.dll 2)LibFT4222.lib :
I get this :
FT4222_SPIMaster_SingleWrite failed, SizeTransfered is 0 with status 10
Gpu_Hal_FT4222_Rd failed
Please check attachments for more information.
Regards,
Nelson Lobo