Hi
(Scripts samples at the bottom of this post)
If I use Workshop3 to compile and upload to the picaso SGC, I can run script from RAW just fine.
If I upload the compiled scripts with scriptC, any non-zero offset script fails to load and the picaso hangs.
I have no clue if I'm using the utility incorrectly since it has no documentation. I can't find the writePCuSD() command in any of the 4DSystems documentation. I trust the information from a forum moderator that the number is the byte offset from the beginning of the RAW partition. The scriptC output suggests that each file is 512 bytes (aka 1 sector). I've spaced all my files out by that much.
I don't know what else to do. It's not working.
Please help!
example scriptC upload script:
//-----------
#Run(Picaso,com4,256000,5,Wrap)
$timeon
$writePCuSD('s50m.4ds','H:',OverWrite,0x00000000)
$writePCuSD('S25m.4ds','H:',OverWrite,0x00001000)
//-----------
//-----------
// s50m.4dScript
#Compile(Picaso,COM4,9600,5,Wrap)
#Origin 0x00000000
//do stuff then...
StringG(0,0,0,0,0,0,"z")
Exit
//-----------
//-----------
// s25m.4dScript
#Compile(Picaso,COM4,9600,5,Wrap)
#Origin 0x00001000
//do stuff then...
StringG(0,0,0,0,0,0,"z")
Exit
//-----------
(Scripts samples at the bottom of this post)
If I use Workshop3 to compile and upload to the picaso SGC, I can run script from RAW just fine.
If I upload the compiled scripts with scriptC, any non-zero offset script fails to load and the picaso hangs.
I have no clue if I'm using the utility incorrectly since it has no documentation. I can't find the writePCuSD() command in any of the 4DSystems documentation. I trust the information from a forum moderator that the number is the byte offset from the beginning of the RAW partition. The scriptC output suggests that each file is 512 bytes (aka 1 sector). I've spaced all my files out by that much.
I don't know what else to do. It's not working.
Please help!
example scriptC upload script:
//-----------
#Run(Picaso,com4,256000,5,Wrap)
$timeon
$writePCuSD('s50m.4ds','H:',OverWrite,0x00000000)
$writePCuSD('S25m.4ds','H:',OverWrite,0x00001000)
//-----------
//-----------
// s50m.4dScript
#Compile(Picaso,COM4,9600,5,Wrap)
#Origin 0x00000000
//do stuff then...
StringG(0,0,0,0,0,0,"z")
Exit
//-----------
//-----------
// s25m.4dScript
#Compile(Picaso,COM4,9600,5,Wrap)
#Origin 0x00001000
//do stuff then...
StringG(0,0,0,0,0,0,"z")
Exit
//-----------
Comment