Announcement

Collapse
No announcement yet.

An error occurs when programming flash with scriptc.exe

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • An error occurs when programming flash with scriptc.exe

    Hey,

    I am currently trying to program the flash on a 4DuLCD-43DT board using scriptc.exe. When I run scriptc it initially says there are no errors, but then it says "An error occurred in the application." The bug report says that there was an EInOutError and an I/O error 103, which I'm pretty sure implies that a file is not getting opened or closed properly. My .4DSCRIPT is as follows:

    #Run(Picaso,COM4,9600,5,Wrap)
    $4DGLLoadProgram("myProj",Flash)

    What would cause this sort of problem? Is it possible that I did not include all the proper files? I have the project .4XE and .cfg files in the same folder as scriptc.exe and the LOAD4DGLPROGRAM.4DSCRIPT file. I have attached my bug report as well. I am planning on programming about 50 of these devices, so it is fairly important to be able to program them quickly and easily using scriptc.exe.

    Thank you!
    Charles
    Attached Files

  • #2
    Never mind, the problem has been solved! Apparently I had accidentally switched my files to read only and that was causing the issue!

    Thanks!
    Charles

    Comment

    Working...
    X