![]() |
CRIO Crash with PSoc code
I'm trying to make the crio output to the cypress board. Instead it crashes. I have the boards that came in the kit and 2 more from andymark. I have tried putting the newest hex file, but they process fails. Not sure if the firmware is the problem. The driver station does make a connection and I do set it to enhanced.
DriverStationEnhancedIO &Cypress1 = m_ds->GetEnhancedIO(); Cypress1.SetDigitalOutput(9,true); Anyone have any input? |
Re: CRIO Crash with PSoc code
Was wondering if anyone out there can help on this. I got no answer before.
Basically this code crashes the crio II: DriverStationEnhancedIO &Cypress1 = m_ds->GetEnhancedIO(); |
Re: CRIO Crash with PSoc code
What do you mean, "crashes the cRIO"?
|
Re: CRIO Crash with PSoc code
Are you sure that m_ds has been assigned using DriverStation::GetInstance()? Everything else looks fine
EDIT: The hex file on the cypress board shouldn't be able to crash it. The Driver Station sits between the cRIO and the cypress and handles the interfacing, so the cRIO never has a direct connection to the cypress |
| All times are GMT -5. The time now is 00:47. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi