2020-11-06 09:10 AM
Hello,
I am using the CubeProgrammerAPI.dll in a C# software and I get this error : CUBEPROGRAMMER_ERROR_WRITE_MEM when I use the download function.
I dont think it is a path related issue
Any ideas where this problem comes from / how to solve it ?
Here is my function :
public static int DownloadFile(string filePath)
{
uint address = 0x08000000;
uint skipErase = 0;
uint verify = 1;
string binPath = @"";
return NativeMethods.DownloadFile(filePath, address, skipErase, verify, binPath);
}
Regards
2022-09-22 08:23 AM
Hello,
Please check the filePath as follows:
var filePathAdapted = string.IsNullOrEmpty(filePath) ? "" : filePath.Replace(@"\", "/");
Regards
2024-02-22 05:29 AM - edited 2024-02-22 05:30 AM
I am encountering this problem despite having configured the path as recommended. The error persists with the message '-4 (No such file)'