Announcement

Collapse
No announcement yet.

scriptC crashes when writting many sectors

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

  • KenK
    replied
    Hello,

    the crash above was from scriptC from Workshop3.

    I just installed W4 and its scriptC ALSO crashes at the same point. It gives a huge trace dump
    (relevant bits
    exception number : 1
    exception class : ERangeError
    exception message : Range check error.

    main thread ($13a8):
    00499bbe +04f6 SCRIPTC.EXE scriptC 574 +73 do_string
    0049b711 +1a25 SCRIPTC.EXE scriptC 953 +370 proc_cmds
    0049d7ba +09be SCRIPTC.EXE scriptC 1450 +130 doscript
    0049f810 +089c SCRIPTC.EXE scriptC 1870 +130 initialization


    // -----------
    // file: write2Picaso-part1.4dscript
    // -----------
    #Run(Picaso,com4,256000,5,Wrap)
    $timeon
    $writePCuSD('s50m.4ds','H:',OverWrite,0x00000000)
    $writePCuSD('S25m.4ds','H:',OverWrite,0x00001000)
    //
    $writePCuSD('d:\dev\sonar\picaso-scripts\compass\c000.4ds','H:',OverWrite,0x00002000)
    $writePCuSD('d:\dev\sonar\picaso-scripts\compass\c001.4ds','H:',OverWrite,0x00002200)
    $writePCuSD('d:\dev\sonar\picaso-scripts\compass\c002.4ds','H:',OverWrite,0x00002400)
    // ...
    $writePCuSD('d:\dev\sonar\picaso-scripts\compass\c183.4ds','H:',OverWrite,0x00018e00)
    //... any more and it crashes

    Leave a comment:


  • ESPsupport
    replied


    Thanks for that, we'll look into it.

    Can you give me a few lines of the contents of the script, just so I don't start off in the wrong direction?

    Leave a comment:


  • KenK
    started a topic scriptC crashes when writting many sectors

    scriptC crashes when writting many sectors

    Hello,

    I'm trying to write 362 files to a SDCard with scriptC.exe.

    It crashes with the following error as soon as I try to write more than 187 files.

    >scriptc write2Picaso.4dscript
    Exception ERangeError in module scriptC.exe at 0004B7D2.
    Range check error.

    I'll do it in two scripts but thought you should know.

    Cheers!
Working...
X