Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add the FLASH IO for the vme300 boards #163

Merged
merged 1 commit into from
Jun 17, 2024

Conversation

hongran
Copy link
Contributor

@hongran hongran commented Jun 13, 2024

Add the flash IO for the EVM-VME-300 and EVR-VME-300.
Only cards with pci buses can have flash IO before. I just make it also available for cards with VME bus and firmware version higher than 2.0.

@@ -104,7 +104,7 @@ void flashread(const char *name, int addrraw, int countraw, const char *outfile)
if(outfile) {
fstrm.open(outfile, std::ios_base::out|std::ios_base::binary);
if(fstrm.fail())
throw std::runtime_error("Unable to open output file");
throw std::runtime_error("Unable to open input file");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is that change right ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for finding out this mistake. This correction should be in the flashwrite function. I will make a correction on this commit.

@gabrielfedel
Copy link
Contributor

This MR looks good, just let me know about that change on the flashiocsh.cpp. I will merge after that.

@hongran
Copy link
Contributor Author

hongran commented Jun 14, 2024

This MR looks good, just let me know about that change on the flashiocsh.cpp. I will merge after that.

I just updated the commit.

@gabrielfedel gabrielfedel merged commit 4cc12e1 into epics-modules:master Jun 17, 2024
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants